Class GeyserBlockEntity
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
net.frozenblock.wilderwild.block.entity.GeyserBlockEntity
public class GeyserBlockEntity
extends net.minecraft.world.level.block.entity.BlockEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final doublestatic final doublestatic final doublestatic final floatstatic final doublestatic final doublestatic final doublestatic final floatstatic final doublestatic final doublestatic final doublestatic final floatstatic final doublestatic final doublestatic final doublestatic final doublestatic final floatstatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final floatstatic final intstatic final intstatic final doublestatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition -
Constructor Summary
ConstructorsConstructorDescriptionGeyserBlockEntity(@NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionvoidadvanceStage(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.block.state.BlockState state, GeyserStage geyserStage, boolean natural, net.minecraft.util.RandomSource random) net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket@NotNull net.minecraft.nbt.CompoundTagvoidload(@NotNull net.minecraft.nbt.CompoundTag tag) protected voidsaveAdditional(@NotNull net.minecraft.nbt.CompoundTag tag) voidsetDormant(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.util.RandomSource random) voidsetStageAndCooldown(@NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.block.state.BlockState state, GeyserStage geyserStage, net.minecraft.util.RandomSource random) static voidspawnActiveParticles(@NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, GeyserType geyserType, net.minecraft.core.Direction direction, net.minecraft.util.RandomSource random) static voidspawnDormantParticles(@NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, GeyserType geyserType, net.minecraft.core.Direction direction, net.minecraft.util.RandomSource random) static voidspawnEruptionParticles(@NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, GeyserType geyserType, net.minecraft.core.Direction direction, net.minecraft.util.RandomSource random) voidtickClient(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.block.state.BlockState state, net.minecraft.util.RandomSource random) voidtickServer(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.block.state.BlockState state, net.minecraft.util.RandomSource random) Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, hasLevel, isRemoved, loadStatic, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, setRemoved, triggerEvent
-
Field Details
-
ERUPTION_DISTANCE
public static final double ERUPTION_DISTANCE- See Also:
-
MIN_ACTIVE_TICKS
public static final int MIN_ACTIVE_TICKS- See Also:
-
MAX_ACTIVE_TICKS
public static final int MAX_ACTIVE_TICKS- See Also:
-
MIN_DORMANT_TICKS
public static final int MIN_DORMANT_TICKS- See Also:
-
MAX_DORMANT_TICKS
public static final int MAX_DORMANT_TICKS- See Also:
-
MIN_ERUPTION_TICKS
public static final int MIN_ERUPTION_TICKS- See Also:
-
MAX_ERUPTION_TICKS
public static final int MAX_ERUPTION_TICKS- See Also:
-
ERUPTION_TICKS_UNNATURAL
public static final int ERUPTION_TICKS_UNNATURAL- See Also:
-
ERUPTION_PROGRESS_INTERVAL
public static final float ERUPTION_PROGRESS_INTERVAL- See Also:
-
TICK_DELAY_START_MIN
public static final int TICK_DELAY_START_MIN- See Also:
-
TICK_DELAY_START_MAX
public static final int TICK_DELAY_START_MAX- See Also:
-
EFFECTIVE_PUSH_INTENSITY
public static final double EFFECTIVE_PUSH_INTENSITY- See Also:
-
INEFFECTIVE_PUSH_INTENSITY
public static final double INEFFECTIVE_PUSH_INTENSITY- See Also:
-
EFFECTIVE_ADDITIONAL_WIND_INTENSITY
public static final double EFFECTIVE_ADDITIONAL_WIND_INTENSITY- See Also:
-
BASE_WIND_INTENSITY
public static final double BASE_WIND_INTENSITY- See Also:
-
FIRE_TICKS_MAX
public static final int FIRE_TICKS_MAX- See Also:
-
DORMANT_BUBBLE_CHANCE
public static final float DORMANT_BUBBLE_CHANCE- See Also:
-
DORMANT_BUBBLE_MIN_VELOCITY
public static final double DORMANT_BUBBLE_MIN_VELOCITY- See Also:
-
DORMANT_BUBBLE_MAX_VELOCITY
public static final double DORMANT_BUBBLE_MAX_VELOCITY- See Also:
-
ACTIVE_BUBBLE_CHANCE
public static final float ACTIVE_BUBBLE_CHANCE- See Also:
-
MIN_ACTIVE_BUBBLES
public static final int MIN_ACTIVE_BUBBLES- See Also:
-
MAX_ACTIVE_BUBBLES
public static final int MAX_ACTIVE_BUBBLES- See Also:
-
ACTIVE_BUBBLE_MIN_VELOCITY_OFFSET
public static final double ACTIVE_BUBBLE_MIN_VELOCITY_OFFSET- See Also:
-
ACTIVE_BUBBLE_MAX_VELOCITY_OFFSET
public static final double ACTIVE_BUBBLE_MAX_VELOCITY_OFFSET- See Also:
-
ACTIVE_BUBBLE_RANDOM_VELOCITY
public static final double ACTIVE_BUBBLE_RANDOM_VELOCITY- See Also:
-
ACTIVE_LAVA_CHANCE
public static final float ACTIVE_LAVA_CHANCE- See Also:
-
MIN_ACTIVE_LAVA
public static final int MIN_ACTIVE_LAVA- See Also:
-
MAX_ACTIVE_LAVA
public static final int MAX_ACTIVE_LAVA- See Also:
-
ACTIVE_LAVA_MIN_VELOCITY
public static final double ACTIVE_LAVA_MIN_VELOCITY- See Also:
-
ACTIVE_LAVA_MAX_VELOCITY
public static final double ACTIVE_LAVA_MAX_VELOCITY- See Also:
-
ACTIVE_LAVA_RANDOM_VELOCITY
public static final double ACTIVE_LAVA_RANDOM_VELOCITY- See Also:
-
ACTIVE_FLAME_CHANCE
public static final float ACTIVE_FLAME_CHANCE- See Also:
-
ACTIVE_FLAME_MIN_VELOCITY
public static final double ACTIVE_FLAME_MIN_VELOCITY- See Also:
-
ACTIVE_FLAME_MAX_VELOCITY
public static final double ACTIVE_FLAME_MAX_VELOCITY- See Also:
-
ACTIVE_FLAME_RANDOM_VELOCITY
public static final double ACTIVE_FLAME_RANDOM_VELOCITY- See Also:
-
ACTIVE_DUST_CHANCE
public static final float ACTIVE_DUST_CHANCE- See Also:
-
MIN_ACTIVE_DUST
public static final int MIN_ACTIVE_DUST- See Also:
-
MAX_ACTIVE_DUST
public static final int MAX_ACTIVE_DUST- See Also:
-
ACTIVE_DUST_MIN_VELOCITY
public static final double ACTIVE_DUST_MIN_VELOCITY- See Also:
-
ACTIVE_DUST_MAX_VELOCITY
public static final double ACTIVE_DUST_MAX_VELOCITY- See Also:
-
ACTIVE_DUST_RANDOM_VELOCITY
public static final double ACTIVE_DUST_RANDOM_VELOCITY- See Also:
-
-
Constructor Details
-
GeyserBlockEntity
public GeyserBlockEntity(@NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
tickServer
public void tickServer(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, net.minecraft.util.RandomSource random) -
advanceStage
public void advanceStage(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, GeyserStage geyserStage, boolean natural, net.minecraft.util.RandomSource random) -
setDormant
public void setDormant(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.util.RandomSource random) -
setStageAndCooldown
public void setStageAndCooldown(@NotNull @NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, GeyserStage geyserStage, net.minecraft.util.RandomSource random) -
tickClient
@Environment(CLIENT) public void tickClient(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, net.minecraft.util.RandomSource random) -
getUpdatePacket
public net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket getUpdatePacket()- Overrides:
getUpdatePacketin classnet.minecraft.world.level.block.entity.BlockEntity
-
getUpdateTag
@NotNull public @NotNull net.minecraft.nbt.CompoundTag getUpdateTag()- Overrides:
getUpdateTagin classnet.minecraft.world.level.block.entity.BlockEntity
-
saveAdditional
protected void saveAdditional(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag) - Overrides:
saveAdditionalin classnet.minecraft.world.level.block.entity.BlockEntity
-
load
public void load(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag) - Overrides:
loadin classnet.minecraft.world.level.block.entity.BlockEntity
-
spawnDormantParticles
public static void spawnDormantParticles(@NotNull @NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, GeyserType geyserType, net.minecraft.core.Direction direction, net.minecraft.util.RandomSource random) -
spawnActiveParticles
public static void spawnActiveParticles(@NotNull @NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, GeyserType geyserType, net.minecraft.core.Direction direction, net.minecraft.util.RandomSource random) -
spawnEruptionParticles
@Environment(CLIENT) public static void spawnEruptionParticles(@NotNull @NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, GeyserType geyserType, net.minecraft.core.Direction direction, net.minecraft.util.RandomSource random)
-