public class ConduitTileEntity extends TileEntity implements ITickableTileEntity
| Modifier and Type | Field and Description | 
|---|---|
| private boolean | active | 
| private float | activeRotation | 
| private boolean | eyeOpen | 
| private static Block[] | field_205042_e | 
| private long | nextSoundTime | 
| private java.util.List<BlockPos> | prismarinePositions | 
| private LivingEntity | target | 
| private java.util.UUID | targetUuid | 
| int | ticksExisted | 
pos, removed, worldINFINITE_EXTENT_AABB| Constructor and Description | 
|---|
| ConduitTileEntity() | 
| ConduitTileEntity(TileEntityType<?> p_i48929_1_) | 
| Modifier and Type | Method and Description | 
|---|---|
| private void | addEffectsToPlayers() | 
| private void | attackMobs() | 
| private LivingEntity | findExistingTarget() | 
| float | getActiveRotation(float p_205036_1_) | 
| private AxisAlignedBB | getAreaOfEffect() | 
| SUpdateTileEntityPacket | getUpdatePacket() | 
| CompoundNBT | getUpdateTag() | 
| boolean | isActive() | 
| boolean | isEyeOpen() | 
| void | playSound(SoundEvent p_205738_1_) | 
| void | read(CompoundNBT compound) | 
| private void | setActive(boolean p_205739_1_) | 
| private void | setEyeOpen(boolean p_207736_1_) | 
| private boolean | shouldBeActive() | 
| private void | spawnParticles() | 
| void | tick() | 
| private void | updateClientTarget() | 
| CompoundNBT | write(CompoundNBT compound) | 
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBTgetCapability, getCapabilityprivate static final Block[] field_205042_e
public int ticksExisted
private float activeRotation
private boolean active
private boolean eyeOpen
private final java.util.List<BlockPos> prismarinePositions
@Nullable private LivingEntity target
@Nullable private java.util.UUID targetUuid
private long nextSoundTime
public ConduitTileEntity()
public ConduitTileEntity(TileEntityType<?> p_i48929_1_)
public void read(CompoundNBT compound)
read in class TileEntitypublic CompoundNBT write(CompoundNBT compound)
write in class TileEntity@Nullable public SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket in class TileEntitypublic CompoundNBT getUpdateTag()
getUpdateTag in class TileEntitypublic void tick()
tick in interface ITickableTileEntityprivate boolean shouldBeActive()
private void addEffectsToPlayers()
private void attackMobs()
private void updateClientTarget()
private AxisAlignedBB getAreaOfEffect()
@Nullable private LivingEntity findExistingTarget()
private void spawnParticles()
public boolean isActive()
public boolean isEyeOpen()
private void setActive(boolean p_205739_1_)
private void setEyeOpen(boolean p_207736_1_)
public float getActiveRotation(float p_205036_1_)
public void playSound(SoundEvent p_205738_1_)