net.minecraft.world.level.block.entity

public class ConduitBlockEntity

extends BlockEntity

ebm
net.minecraft.world.level.block.entity.ConduitBlockEntity
net.minecraft.class_2597
net.minecraft.block.entity.ConduitBlockEntity

Field summary

Modifier and TypeField
private static final int
b
BLOCK_REFRESH_RATE
field_31333
field_31333
private static final int
c
EFFECT_DURATION
field_31334
field_31334
private static final float
d
ROTATION_SPEED
field_31335
field_31335
private static final int
e
MIN_ACTIVE_SIZE
field_31336
field_31336
private static final int
f
MIN_KILL_SIZE
field_31337
MIN_BLOCKS_TO_ACTIVATE
private static final int
g
KILL_RANGE
field_31338
field_31338
private static final Block[]
h
VALID_BLOCKS
field_11931
ACTIVATING_BLOCKS
public int
a
tickCount
field_11936
ticks
private float
i
activeRotation
field_11932
ticksActive
private boolean
j
isActive
field_11934
active
private boolean
k
isHunting
field_11933
eyeOpen
private final List<BlockPos>
l
effectBlocks
field_11937
activatingBlocks
private EntityReference<LivingEntity>
m
destroyTarget
field_11939
targetEntity
private long
q
nextAmbientSoundActivation
field_11938
nextAmbientSoundTime

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
a(fda arg0)
loadAdditional(ValueInput arg0)
method_11014(class_11368 arg0)
readData(ReadView arg0)
protected void
a(fdc arg0)
saveAdditional(ValueOutput arg0)
method_11007(class_11372 arg0)
writeData(WriteView arg0)
public ClientboundBlockEntityDataPacket
a()
getUpdatePacket()
method_38247()
toUpdatePacket()
public CompoundTag
a(jn$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public static void
a(dmu arg0, jb arg1, eeb arg2, ebm arg3)
clientTick(Level arg0, BlockPos arg1, BlockState arg2, ConduitBlockEntity arg3)
method_31675(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2597 arg3)
clientTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity)
public static void
b(dmu arg0, jb arg1, eeb arg2, ebm arg3)
serverTick(Level arg0, BlockPos arg1, BlockState arg2, ConduitBlockEntity arg3)
method_31677(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2597 arg3)
serverTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity)
private static void
a(ebm arg0, List<jb> arg1)
updateHunting(ConduitBlockEntity arg0, List<BlockPos> arg1)
method_31676(class_2597 arg0, List<class_2338> arg1)
openEye(ConduitBlockEntity blockEntity, List<BlockPos> activatingBlocks)
private static boolean
a(dmu arg0, jb arg1, List<jb> arg2)
updateShape(Level arg0, BlockPos arg1, List<BlockPos> arg2)
method_11069(class_1937 arg0, class_2338 arg1, List<class_2338> arg2)
updateActivatingBlocks(World world, BlockPos pos, List<BlockPos> activatingBlocks)
private static void
b(dmu arg0, jb arg1, List<jb> arg2)
applyEffects(Level arg0, BlockPos arg1, List<BlockPos> arg2)
method_11055(class_1937 arg0, class_2338 arg1, List<class_2338> arg2)
givePlayersEffects(World world, BlockPos pos, List<BlockPos> activatingBlocks)
private static void
a(aub arg0, jb arg1, eeb arg2, ebm arg3, boolean arg4)
updateAndAttackTarget(ServerLevel arg0, BlockPos arg1, BlockState arg2, ConduitBlockEntity arg3, boolean arg4)
method_71632(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_2597 arg3, boolean arg4)
tryAttack(ServerWorld world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity, boolean canAttack)
private static EntityReference<LivingEntity>
a(bzs<cam> arg0, aub arg1, jb arg2, boolean arg3)
updateDestroyTarget(EntityReference<LivingEntity> arg0, ServerLevel arg1, BlockPos arg2, boolean arg3)
method_71633(class_10583<class_1309> arg0, class_3218 arg1, class_2338 arg2, boolean arg3)
getValidTarget(LazyEntityReference<LivingEntity> currentTarget, ServerWorld world, BlockPos pos, boolean canAttack)
private static EntityReference<LivingEntity>
a(aub arg0, jb arg1)
selectNewTarget(ServerLevel arg0, BlockPos arg1)
method_71631(class_3218 arg0, class_2338 arg1)
findAttackTarget(ServerWorld world, BlockPos pos)
private static AABB
a(jb arg0)
getDestroyRangeAABB(BlockPos arg0)
method_11059(class_2338 arg0)
getAttackZone(BlockPos pos)
private static void
a(dmu arg0, jb arg1, List<jb> arg2, bzm arg3, int arg4)
animationTick(Level arg0, BlockPos arg1, List<BlockPos> arg2, Entity arg3, int arg4)
method_11063(class_1937 arg0, class_2338 arg1, List<class_2338> arg2, class_1297 arg3, int arg4)
spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, Entity entity, int ticks)
public boolean
c()
isActive()
method_11065()
isActive()
public boolean
d()
isHunting()
method_11066()
isEyeOpen()
private void
a(boolean arg0)
setHunting(boolean arg0)
method_11062(boolean arg0)
setEyeOpen(boolean eyeOpen)
public float
a(float arg0)
getActiveRotation(float arg0)
method_11061(float arg0)
getRotation(float tickProgress)