Updated Attaching TileEntity Behaviours (markdown)

simibubi 2021-08-25 17:23:29 +02:00
parent a012f68df2
commit 47692f3285

@ -9,7 +9,7 @@ forgeEventBus.addGenericListener(FunnelTileEntity.class, (TileEntityBehaviourEve
```
Will attach the new `FunFunnelBehaviour` to any Funnels placed or loaded in
* The attached behaviour will be able to read from the tileentities tag just after it was added. See `TileEntityBehaviour#read()`
* When loaded from disk, the attached behaviour will be able to read from the tileentities' tag just after it was added. See `TileEntityBehaviour#read()`
* The attached behaviour can initialize fully on its first tick. See `TileEntityBehaviour#initialize()`
* In `TileEntityBehaviour#write()`, data can be placed into the tag before serialization. That way your custom data will persist until your next read()