Represents a block entity.

Импорт класса

Link to импорт-класса

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
Copy
import 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

Name: updateData

Return Type: void

ZenScript
Copy
MCTileEntity.updateData(data as MapData) as void
ПараметрТипОписание
Параметр
data
Тип
MapData
Описание
No Description Provided

Свойства

Link to свойства

НазваниеТипИмеет GetterИмеет SetterОписание
Название
data
Тип
MapData
Имеет Getter
true
Имеет Setter
false
Описание
No Description Provided
Название
pos
Тип
BlockPos
Имеет Getter
true
Имеет Setter
false
Описание
No Description Provided
Название
world
Тип
MCWorld
Имеет Getter
true
Имеет Setter
false
Описание
No Description Provided