public class ModuleConfiguratorTileEntity
extends net.minecraft.tileentity.TileEntity
implements com.hrznstudio.titanium.component.IComponentHarness, com.hrznstudio.titanium.container.addon.IContainerAddonProvider, com.hrznstudio.titanium.api.client.IScreenAddonProvider, net.minecraft.inventory.container.INamedContainerProvider
| Constructor and Description |
|---|
ModuleConfiguratorTileEntity(net.minecraft.tileentity.TileEntityType<?> tileEntityType) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.inventory.container.Container |
createMenu(int windowId,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity) |
net.minecraft.world.World |
getComponentWorld() |
java.util.List<com.hrznstudio.titanium.api.IFactory<? extends com.hrznstudio.titanium.container.addon.IContainerAddon>> |
getContainerAddons() |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
net.minecraftforge.common.util.LazyOptional<IModularEntity> |
getModularEntity() |
java.util.List<com.hrznstudio.titanium.api.IFactory<? extends com.hrznstudio.titanium.api.client.IScreenAddon>> |
getScreenAddons() |
net.minecraft.world.World |
getTheWorld() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
void |
handleUpdateTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag) |
void |
markComponentDirty() |
void |
markComponentForUpdate(boolean referenced) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt) |
net.minecraft.util.ActionResultType |
openScreen(net.minecraft.entity.player.PlayerEntity playerEntity) |
void |
read(net.minecraft.block.BlockState blockState,
net.minecraft.nbt.CompoundNBT compound) |
net.minecraft.nbt.CompoundNBT |
write(net.minecraft.nbt.CompoundNBT compound) |
addInfoToCrashReport, getBlockState, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, readTileEntity, receiveClientEvent, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ModuleConfiguratorTileEntity(net.minecraft.tileentity.TileEntityType<?> tileEntityType)
public net.minecraft.util.ActionResultType openScreen(net.minecraft.entity.player.PlayerEntity playerEntity)
@Nonnull public net.minecraft.world.World getTheWorld()
public net.minecraft.world.World getComponentWorld()
getComponentWorld in interface com.hrznstudio.titanium.component.IComponentHarnesspublic void markComponentForUpdate(boolean referenced)
markComponentForUpdate in interface com.hrznstudio.titanium.component.IComponentHarnesspublic void markComponentDirty()
markComponentDirty in interface com.hrznstudio.titanium.component.IComponentHarness@Nonnull public java.util.List<com.hrznstudio.titanium.api.IFactory<? extends com.hrznstudio.titanium.api.client.IScreenAddon>> getScreenAddons()
getScreenAddons in interface com.hrznstudio.titanium.api.client.IScreenAddonProvider@Nonnull public java.util.List<com.hrznstudio.titanium.api.IFactory<? extends com.hrznstudio.titanium.container.addon.IContainerAddon>> getContainerAddons()
getContainerAddons in interface com.hrznstudio.titanium.container.addon.IContainerAddonProvider@Nonnull public net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.inventory.container.INamedContainerProvider@Nullable
@ParametersAreNonnullByDefault
public net.minecraft.inventory.container.Container createMenu(int windowId,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity)
createMenu in interface net.minecraft.inventory.container.IContainerProvider@Nonnull public net.minecraftforge.common.util.LazyOptional<IModularEntity> getModularEntity()
@Nonnull
public net.minecraft.nbt.CompoundNBT write(@Nonnull
net.minecraft.nbt.CompoundNBT compound)
write in class net.minecraft.tileentity.TileEntity@ParametersAreNonnullByDefault
public void read(net.minecraft.block.BlockState blockState,
net.minecraft.nbt.CompoundNBT compound)
read in class net.minecraft.tileentity.TileEntity@Nonnull public net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag in class net.minecraft.tileentity.TileEntitypublic void handleUpdateTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag)
handleUpdateTag in interface net.minecraftforge.common.extensions.IForgeTileEntity@Nullable public net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket in class net.minecraft.tileentity.TileEntitypublic void onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
onDataPacket in interface net.minecraftforge.common.extensions.IForgeTileEntity