mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 12:33:57 +01:00
Updated Attaching TileEntity Behaviours (markdown)
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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user