(... Some introduction needed ...)
Tile entity is similar to a container from Custom Stuff 1. It's useful for blocks which contain some data like chests or furnaces.
Tile entity is loaded in mod.js, eg.:
First argument is tile entity script, located in tileEntities/ folder. Second is tile entity type, one of the:
- chest – used to create lid open chests
- chestBlock – used to create block like chests
- furnace – used to create a furnace
- normal – used to store data in a block; all other tile entities have also this ability
You may define size of the chest (default is 9x6), eg.:
name = "exampleChest"; colLength = 13; rowLength = 9;
name = "NetherFurnaceEntity"; usedFuelLists = "NetherFuel,vanilla"; usedRecipeLists = "vanilla"; ticksToSmelt = 400;
Value ticksToSmelt tells how long the furnace will be bake one item. Default is 200 (10s).