Package net.minecraft.tileentity
Class ConduitTileEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<TileEntity>
net.minecraft.tileentity.TileEntity
net.minecraft.tileentity.ConduitTileEntity
- All Implemented Interfaces:
ITickableTileEntity,ICapabilityProvider,ICapabilitySerializable<CompoundNBT>,IForgeTileEntity,INBTSerializable<CompoundNBT>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate LivingEntityprivate UUIDprivate booleanprivate booleanprivate longintprivate static final Block[]Fields inherited from class net.minecraft.tileentity.TileEntity
level, remove, worldPositionFields inherited from interface net.minecraftforge.common.extensions.IForgeTileEntity
INFINITE_EXTENT_AABB -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate LivingEntityfloatgetActiveRotation(float p_205036_1_) private AxisAlignedBBbooleanisActive()booleanvoidload(BlockState p_230337_1_, CompoundNBT p_230337_2_) voidplaySound(SoundEvent p_205738_1_) save(CompoundNBT p_189515_1_) private voidsetActive(boolean p_205739_1_) private voidsetHunting(boolean p_207736_1_) voidtick()private voidprivate voidprivate booleanMethods inherited from class net.minecraft.tileentity.TileEntity
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEventMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeTileEntity
deserializeNBT, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
-
Field Details
-
VALID_BLOCKS
-
tickCount
public int tickCount -
activeRotation
private float activeRotation -
isActive
private boolean isActive -
isHunting
private boolean isHunting -
effectBlocks
-
destroyTarget
-
destroyTargetUUID
-
nextAmbientSoundActivation
private long nextAmbientSoundActivation
-
-
Constructor Details
-
ConduitTileEntity
public ConduitTileEntity() -
ConduitTileEntity
-
-
Method Details
-
load
- Overrides:
loadin classTileEntity
-
save
- Overrides:
savein classTileEntity
-
getUpdatePacket
- Overrides:
getUpdatePacketin classTileEntity
-
getUpdateTag
- Overrides:
getUpdateTagin classTileEntity
-
tick
public void tick()- Specified by:
tickin interfaceITickableTileEntity
-
updateShape
private boolean updateShape() -
applyEffects
private void applyEffects() -
updateDestroyTarget
private void updateDestroyTarget() -
updateClientTarget
private void updateClientTarget() -
getDestroyRangeAABB
-
findDestroyTarget
-
animationTick
private void animationTick() -
isActive
public boolean isActive() -
isHunting
public boolean isHunting() -
setActive
private void setActive(boolean p_205739_1_) -
setHunting
private void setHunting(boolean p_207736_1_) -
getActiveRotation
public float getActiveRotation(float p_205036_1_) -
playSound
-