Package net.minecraft.tileentity
Class BellTileEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<TileEntity>
net.minecraft.tileentity.TileEntity
net.minecraft.tileentity.BellTileEntity
- All Implemented Interfaces:
ITickableTileEntity
,ICapabilityProvider
,ICapabilitySerializable<CompoundNBT>
,IForgeTileEntity
,INBTSerializable<CompoundNBT>
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private List<LivingEntity>
private boolean
private int
boolean
int
Fields inherited from class net.minecraft.tileentity.TileEntity
level, remove, worldPosition
Fields inherited from interface net.minecraftforge.common.extensions.IForgeTileEntity
INFINITE_EXTENT_AABB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
private void
glow
(LivingEntity p_222827_1_) private boolean
isRaiderWithinRange
(LivingEntity p_222832_1_) private void
makeRaidersGlow
(World p_222828_1_) void
private void
private void
showBellParticles
(World p_222826_1_) void
tick()
boolean
triggerEvent
(int p_145842_1_, int p_145842_2_) private void
Methods inherited from class net.minecraft.tileentity.TileEntity
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getUpdatePacket, getUpdateTag, getViewDistance, hasLevel, isRemoved, load, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, save, setChanged, setLevelAndPosition, setPosition, setRemoved
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
Methods inherited from interface net.minecraftforge.common.extensions.IForgeTileEntity
deserializeNBT, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
-
Field Details
-
lastRingTimestamp
private long lastRingTimestamp -
ticks
public int ticks -
shaking
public boolean shaking -
clickDirection
-
nearbyEntities
-
resonating
private boolean resonating -
resonationTicks
private int resonationTicks
-
-
Constructor Details
-
BellTileEntity
public BellTileEntity()
-
-
Method Details
-
triggerEvent
public boolean triggerEvent(int p_145842_1_, int p_145842_2_) - Overrides:
triggerEvent
in classTileEntity
-
tick
public void tick()- Specified by:
tick
in interfaceITickableTileEntity
-
playResonateSound
private void playResonateSound() -
onHit
-
updateEntities
private void updateEntities() -
areRaidersNearby
private boolean areRaidersNearby() -
makeRaidersGlow
-
showBellParticles
-
isRaiderWithinRange
-
glow
-