MCTileEntity
Link to mctileentity
Represents a block entity.
Importing the class
Link to importing-the-class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.tileentity.MCTileEntity;
Extending CapabilityProvider<MCTileEntity>
Link to extending-capabilityprovidermctileentity
MCTileEntity extends CapabilityProvider<MCTileEntity>. That means all methods available in CapabilityProvider<MCTileEntity> are also available in MCTileEntity
Methods
Link to methods
Name: updateData
Return Type: void
ZenScript CopyMCTileEntity.updateData(data as MapData) as void
Parameter | Type | Description |
---|---|---|
Parameter data | Type MapData | Description No Description Provided |
Properties
Link to properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name data | Type MapData | Has Getter true | Has Setter false | Description No Description Provided |
Name pos | Type BlockPos | Has Getter true | Has Setter false | Description No Description Provided |
Name world | Type MCWorld | Has Getter true | Has Setter false | Description No Description Provided |