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
Modifier and TypeFieldDescriptionprivate float
private LivingEntity
private UUID
private boolean
private boolean
private long
int
private static final Block[]
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 void
private void
private LivingEntity
float
getActiveRotation
(float p_205036_1_) private AxisAlignedBB
boolean
isActive()
boolean
void
load
(BlockState p_230337_1_, CompoundNBT p_230337_2_) void
playSound
(SoundEvent p_205738_1_) save
(CompoundNBT p_189515_1_) private void
setActive
(boolean p_205739_1_) private void
setHunting
(boolean p_207736_1_) void
tick()
private void
private void
private boolean
Methods 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, triggerEvent
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
-
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:
load
in classTileEntity
-
save
- Overrides:
save
in classTileEntity
-
getUpdatePacket
- Overrides:
getUpdatePacket
in classTileEntity
-
getUpdateTag
- Overrides:
getUpdateTag
in classTileEntity
-
tick
public void tick()- Specified by:
tick
in 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
-