Class TermiteManager
java.lang.Object
net.frozenblock.wilderwild.entity.ai.TermiteManager
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatintstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTermite(@NotNull net.minecraft.core.BlockPos pos) static booleanareTermitesSafe(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos) voidclearTermites(@NotNull net.minecraft.world.level.Level level) static booleanisPosSafeForTermites(@NotNull net.minecraft.world.level.LevelAccessor level, @NotNull net.minecraft.core.BlockPos pos) static booleanisStateSafeForTermites(@NotNull net.minecraft.world.level.block.state.BlockState state) voidload(@NotNull net.minecraft.nbt.CompoundTag tag) static intmaxTermites(boolean natural, boolean awake, boolean canSpawn) voidsaveAdditional(@NotNull net.minecraft.nbt.CompoundTag tag) termites()voidtick(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos, boolean natural, boolean awake, boolean canSpawn)
-
Field Details
-
TERMITE_COUNT_ASLEEP
public static final int TERMITE_COUNT_ASLEEP- See Also:
-
TERMITE_COUNT_ASLEEP_NATURAL
public static final int TERMITE_COUNT_ASLEEP_NATURAL- See Also:
-
TERMITE_COUNT
public static final int TERMITE_COUNT- See Also:
-
TERMITE_COUNT_NATURAL
public static final int TERMITE_COUNT_NATURAL- See Also:
-
PARTICLE_COUNT_WHILE_EATING
public static final int PARTICLE_COUNT_WHILE_EATING- See Also:
-
PARTICLE_COUNT
public static final int PARTICLE_COUNT- See Also:
-
BLOCK_SOUND_VOLUME
public static final float BLOCK_SOUND_VOLUME- See Also:
-
ticksToNextTermite
public int ticksToNextTermite -
highestID
public int highestID -
TERMITE_RELEASE_COUNTDOWN
public static final int TERMITE_RELEASE_COUNTDOWN- See Also:
-
TERMITE_RELEASE_COUNTDOWN_NATURAL
public static final int TERMITE_RELEASE_COUNTDOWN_NATURAL- See Also:
-
-
Constructor Details
-
TermiteManager
public TermiteManager()
-
-
Method Details
-
maxTermites
public static int maxTermites(boolean natural, boolean awake, boolean canSpawn) -
areTermitesSafe
public static boolean areTermitesSafe(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos) -
isPosSafeForTermites
public static boolean isPosSafeForTermites(@NotNull @NotNull net.minecraft.world.level.LevelAccessor level, @NotNull @NotNull net.minecraft.core.BlockPos pos) -
isStateSafeForTermites
public static boolean isStateSafeForTermites(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state) -
addTermite
public void addTermite(@NotNull @NotNull net.minecraft.core.BlockPos pos) -
tick
public void tick(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos, boolean natural, boolean awake, boolean canSpawn) -
clearTermites
public void clearTermites(@NotNull @NotNull net.minecraft.world.level.Level level) -
termites
-
saveAdditional
public void saveAdditional(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag) -
load
public void load(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag)
-