MCTileEntity
Link to mctileentity
Represents a block entity.
Importare la Classe
Link to importare-la-classe
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
Metodi
Link to metodi
Name: updateData
Return Type: void
ZenScript CopyMCTileEntity.updateData(data as MapData) as void
Parametro | Tipo | Descrizione |
---|---|---|
Parametro data | Tipo MapData | Descrizione No Description Provided |
Proprietà
Link to proprietà
Nome | Tipo | Ha Getter | Ha Setter | Descrizione |
---|---|---|---|---|
Nome data | Tipo MapData | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome pos | Tipo BlockPos | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome world | Tipo MCWorld | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |