add slot names for item-containing tile entities
This commit is contained in:
parent
c19e5a7e69
commit
2cebca596f
13
entity.py
13
entity.py
@ -61,6 +61,19 @@ class TileEntity(object):
|
|||||||
"Trap" : 9,
|
"Trap" : 9,
|
||||||
"Cauldron": 4,
|
"Cauldron": 4,
|
||||||
}
|
}
|
||||||
|
slotNames = {
|
||||||
|
"Furnace": {
|
||||||
|
0: "Raw",
|
||||||
|
1: "Fuel",
|
||||||
|
2: "Product"
|
||||||
|
},
|
||||||
|
"Cauldron": {
|
||||||
|
0: "Potion",
|
||||||
|
1: "Potion",
|
||||||
|
2: "Potion",
|
||||||
|
3: "Reagent",
|
||||||
|
}
|
||||||
|
}
|
||||||
@classmethod
|
@classmethod
|
||||||
def Create(cls, tileEntityID, **kw):
|
def Create(cls, tileEntityID, **kw):
|
||||||
tileEntityTag = TAG_Compound()
|
tileEntityTag = TAG_Compound()
|
||||||
|
Reference in New Issue
Block a user