public abstract class MixinTileEntityBeacon extends MixinTileEntityLockable implements org.spongepowered.api.block.tileentity.carrier.Beacon
tileEntityInvalid, worldObj
Constructor and Description |
---|
MixinTileEntityBeacon() |
Modifier and Type | Method and Description |
---|---|
void |
sendDataToContainer(org.spongepowered.api.data.DataView dataView)
Due to the nature of how
TileEntity instances serialize their
data with DataSerializable.toContainer() , all DataManipulator s
are serialized under a DataQuery specified query from
NbtDataUtil . |
org.spongepowered.api.data.DataContainer |
toContainer() |
getContainers, getLocation, getPos, getType, isValid, markDirty, onReadFromNBT, onWriteToNBT, readFromNbt, setRawData, setValid, supplyVanillaManipulators, validateRawData, writeToNbt, writeToNBT
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCompletedLevels
getInventory
getBlock, getLocation, getType, isValid, setValid
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, supports, transform, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, supports, supports
clear, closeInventory, decrStackSize, getField, getFieldCount, getInventoryStackLimit, getSizeInventory, getStackInSlot, getStackInSlotOnClosing, isItemValidForSlot, isUseableByPlayer, markDirty, openInventory, setField, setInventorySlotContents
getCommandSenderName, getDisplayName, hasCustomName
getSpongeData
public org.spongepowered.api.data.DataContainer toContainer()
toContainer
in interface org.spongepowered.api.data.DataSerializable
toContainer
in class MixinTileEntityLockable
public void sendDataToContainer(org.spongepowered.api.data.DataView dataView)
IMixinTileEntity
TileEntity
instances serialize their
data with DataSerializable.toContainer()
, all DataManipulator
s
are serialized under a DataQuery
specified query from
NbtDataUtil
. This is to help separate the real
required data such as position, tile type, etc. from data api manipulators.sendDataToContainer
in interface IMixinTileEntity
dataView
- The data view to set all data api related data