net.minecraft.block.entity

public class PotentSulfurBlockEntity

extends BlockEntity

All mapped superinterfaces:

DebugTrackable, EntryConvertible

net.minecraft.world.level.block.entity.PotentSulfurBlockEntity
net.minecraft.class_1_757
net.minecraft.block.entity.PotentSulfurBlockEntity

Field summary

Modifier and TypeField
private static final int
EFFECT_APPLICATION_FREQUENCY_TICKS
field_1_3803
EFFECT_CHECK_FREQUENCY
private static final float
EFFECT_DURATION_IN_SECONDS
field_1_3804
field_1_3804
private static final int
EFFECT_DURATION_IN_TICKS
field_1_3805
NAUSEA_DURATION
public static final float
EFFECT_RANGE
field_1_3807
MAX_EFFECTIVE_DISTANCE
private static final Predicate<Entity>
EFFECT_PREDICATE
field_1_3806
AFFECTED_ENTITY_PREDICATE
public static final int
PARTICLE_FREQUENCY_TICKS
field_1_3808
PARTICLE_FREQUENCY
public static final int
SOUND_FREQUENCY_TICKS
field_1_6820
field_1_6820
private static final float
GEYSER_BASE_LAUNCH_SPEED
field_1_6200
field_1_6200
private static final float
GEYSER_LAUNCH_FORCE
field_1_6201
GEYSER_TO_ENTITY_ACCELERATION
public int
waitingCountdown
field_1_6208
countdown
public long
eruptionTick
field_1_6206
syncTime
public static BlockEntityTicker<PotentSulfurBlockEntity>
SERVER_NAUSEA_EFFECT_TICKER
field_1_6203
SERVER_APPLY_EFFECT_TICKER
public static BlockEntityTicker<PotentSulfurBlockEntity>
CLIENT_NOXIOUS_GAS_TICKER
field_1_6199
CLIENT_CLOUD_PARTICLE_TICKER
public static Function<SoundEvent, BlockEntityTicker<PotentSulfurBlockEntity>>
CLIENT_GEYSER_PLUME_TICKER
field_1_6198
CLIENT_ERUPTION_TICKER
public static BlockEntityTicker<PotentSulfurBlockEntity>
SERVER_WAITING_COUNTDOWN_TICKER
field_1_6204
SERVER_GEYSER_TICKER
public static final long
GEYSER_SALT
field_1_6819
WORLD_SEED_SALT
public static BlockEntityTicker<PotentSulfurBlockEntity>
LAUNCH_ENTITY_TICKER
field_1_6202
SERVER_ERUPTION_TICKER

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
saveAdditional(ValueOutput output)
method_11007(class_11372 arg0)
writeData(WriteView arg0)
protected void
loadAdditional(ValueInput input)
method_11014(class_11368 arg0)
readData(ReadView arg0)
public void
setLevel(Level level)
method_31662(class_1937 arg0)
setWorld(World arg0)
public void
resetCountdown()
method_1_5337()
resetCountdown()
private static void
applyNauseaEffect(LivingEntity entity)
method_1_4572(class_1309 arg0)
applyEffect(LivingEntity entity)
private static List<LivingEntity>
getNearbyLivingEntities(Level level, BlockPos pos)
method_1_4576(class_1937 arg0, class_2338 arg1)
getEntitiesInRange(World world, BlockPos surfacePos)
public static Random
geyserPositional(ServerLevel level, BlockPos pos)
method_1_6017(class_3218 arg0, class_2338 arg1)
getRandom(ServerWorld world, BlockPos pos)
private static void
spawnGeyserParticle(Level level, BlockPos sulfurPos, BlockPos sourcePos)
method_1_5338(class_1937 arg0, class_2338 arg1, class_2338 arg2)
addGeyserParticles(World world, BlockPos basePos, BlockPos surfacePos)
private static void
spawnNoxiousGasCloudParticle(Level level, Vec3 pos)
method_1_4582(class_1937 arg0, class_243 arg1)
addNoxiousGasCloudParticles(World world, Vec3d pos)
private static int
getUnobstructedBlockCount(Level level, BlockPos pos, int waterBlocks)
method_1_6016(class_1937 arg0, class_2338 arg1, int arg2)
getGeyserHeight(World world, BlockPos pos, int depth)
private static boolean
isGeyserPassableBlock(BlockState state, Level level, BlockPos pos, CollisionContext context)
method_1_6018(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_3726 arg3)
canGeyserPassThrough(BlockState state, World world, BlockPos pos, ShapeContext shapeContext)
private static BlockPos
findNoxiousGasSourceBlock(Level level, BlockPos origin)
method_1_4575(class_1937 arg0, class_2338 arg1)
getSurfacePos(World world, BlockPos pos)
public static boolean
canBeReachedByNoxiousGas(Level level, BlockPos sourceBlock, Vec3 pos)
method_1_4573(class_1937 arg0, class_2338 arg1, class_243 arg2)
isPositionCorrectForEffect(World world, BlockPos surfacePos, Vec3d entityEyesPos)
private static boolean
isWater(Level level, Vec3 pos)
method_1_4580(class_1937 arg0, class_243 arg1)
isSwimmingInStillWater(World world, Vec3d entityWaistPos)
private static boolean
haveLineOfSight(Level level, Vec3 a, Vec3 b)
method_1_4577(class_1937 arg0, class_243 arg1, class_243 arg2)
isFreeOfObstructions(World world, Vec3d sourcePos, Vec3d entityWaistPos)
private static void
lambda$static$5(Level arg0, BlockPos arg1, BlockState arg2, PotentSulfurBlockEntity arg3)
method_1_5336(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1_757 arg3)
method_1_5336(World world, BlockPos pos, BlockState state, PotentSulfurBlockEntity blockEntity)
private static void
lambda$static$4(Level arg0, BlockPos arg1, BlockState arg2, PotentSulfurBlockEntity arg3)
method_1_5335(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1_757 arg3)
method_1_5335(World world, BlockPos pos, BlockState state, PotentSulfurBlockEntity blockEntity)
private static BlockEntityTicker
lambda$static$2(SoundEvent arg0)
method_1_6020(class_3414 arg0)
method_1_6020(SoundEvent soundEvent)
private static void
lambda$static$3(SoundEvent arg0, Level arg1, BlockPos arg2, BlockState arg3, PotentSulfurBlockEntity arg4)
method_1_6021(class_3414 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, class_1_757 arg4)
method_1_6021(SoundEvent arg0, World world, BlockPos pos, BlockState state, PotentSulfurBlockEntity blockEntity)
private static void
lambda$static$1(Level arg0, BlockPos arg1, BlockState arg2, PotentSulfurBlockEntity arg3)
method_1_5333(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1_757 arg3)
method_1_5333(World world, BlockPos pos, BlockState state, PotentSulfurBlockEntity blockEntity)
private static void
lambda$static$0(Level arg0, BlockPos arg1, BlockState arg2, PotentSulfurBlockEntity arg3)
method_1_5332(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1_757 arg3)
method_1_5332(World world, BlockPos pos, BlockState state, PotentSulfurBlockEntity blockEntity)
private void
lambda$loadAdditional$0(Integer arg0)
method_1_6019(Integer arg0)
method_1_6019(Integer countdown)