public class ElectricFenceWireBlockEntity
extends net.minecraft.tileentity.TileEntity
implements net.minecraft.util.ITickable
| Constructor and Description |
|---|
ElectricFenceWireBlockEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkDisconnect() |
boolean |
isPowered() |
void |
power(net.minecraft.util.math.BlockPos pole,
boolean powered) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound compound) |
void |
update() |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound compound) |
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getUpdatePacket, getUpdateTag, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validatepublic void update()
update in interface net.minecraft.util.ITickablepublic void checkDisconnect()
public void power(net.minecraft.util.math.BlockPos pole,
boolean powered)
public boolean isPowered()
public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound compound)
writeToNBT in class net.minecraft.tileentity.TileEntitypublic void readFromNBT(net.minecraft.nbt.NBTTagCompound compound)
readFromNBT in class net.minecraft.tileentity.TileEntity