From 2cebca596f9e24f165b7db64993622c1e49a5ddd Mon Sep 17 00:00:00 2001 From: David Vierra Date: Fri, 11 Nov 2011 08:06:31 -1000 Subject: [PATCH] add slot names for item-containing tile entities --- entity.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/entity.py b/entity.py index a8721bc..78cb037 100644 --- a/entity.py +++ b/entity.py @@ -61,6 +61,19 @@ class TileEntity(object): "Trap" : 9, "Cauldron": 4, } + slotNames = { + "Furnace": { + 0: "Raw", + 1: "Fuel", + 2: "Product" + }, + "Cauldron": { + 0: "Potion", + 1: "Potion", + 2: "Potion", + 3: "Reagent", + } + } @classmethod def Create(cls, tileEntityID, **kw): tileEntityTag = TAG_Compound()