public class HauntedBellTileEntity extends AbstractBellTileEntity
| Modifier and Type | Field and Description |
|---|---|
static int |
DISTANCE |
static int |
EFFECT_TICKS |
int |
effectTicks |
static int |
RECHARGE_TICKS |
isRinging, RING_DURATION, ringDirection, ringingTicks| Constructor and Description |
|---|
HauntedBellTileEntity(net.minecraft.tileentity.TileEntityType<?> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBehaviours(java.util.List<TileEntityBehaviour> behaviours) |
protected void |
fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
com.jozufozu.flywheel.core.PartialModel |
getBellModel() |
protected void |
playSound(java.util.Random rand) |
boolean |
ring(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction) |
protected void |
spawnParticle(java.util.Random rand) |
void |
startEffect() |
void |
tick() |
protected void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
addBehavioursDeferred, attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, getWorld, initialize, isFluidHandlerCap, isItemHandlerCap, isVirtual, lazyTick, load, markVirtual, readClientUpdate, removeBehaviour, save, sendToContainer, setLazyTickRate, setRemoved, writeSafe, writeToClientcauseBlockUpdate, containedChunk, getTileData, getUpdatePacket, getUpdateTag, handleUpdateTag, notifyUpdate, onDataPacket, packetTarget, sendDataclearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final int DISTANCE
public static final int RECHARGE_TICKS
public static final int EFFECT_TICKS
public int effectTicks
public HauntedBellTileEntity(net.minecraft.tileentity.TileEntityType<?> type)
public void addBehaviours(java.util.List<TileEntityBehaviour> behaviours)
addBehaviours in class AbstractBellTileEntitypublic com.jozufozu.flywheel.core.PartialModel getBellModel()
getBellModel in class AbstractBellTileEntitypublic boolean ring(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction)
ring in class AbstractBellTileEntitypublic void startEffect()
protected void write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntitywrite in class SmartTileEntityprotected void fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntityfromTag in class SmartTileEntitypublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class AbstractBellTileEntityprotected void spawnParticle(java.util.Random rand)
protected void playSound(java.util.Random rand)