NativeTileEntity
Index
Methods
getCompoundTag
Returns CompoundTag
CompoundTag associated with specified native tile entity.
getSize
Returns number
Slots count for the specified NativeTileEntity.
getSlot
Parameters
slot: number
slot number
Returns ItemInstance
Item instance in the specified slot of item TE.
getType
Returns number
NativeTileEntity type constant, one of the ETileEntityType constants.
setCompoundTag
Sets compound tag for the specified tile entity.
Parameters
tag: CompoundTag
Returns void
setSlot
Sets the contents of a native tile entity's slot.
Parameters
slot: number
slot number
id: number
item ID
count: number
item count
data: number
item data
optionalextra: ItemExtraData
item extra data
Returns void
Interface providing access to native tile entities such as chests, hoppers, furnaces, smelters, etc. See full list of supported native tile entities in the ETileEntityType enum.