Class TermiteManager

java.lang.Object
net.frozenblock.wilderwild.entity.ai.TermiteManager

public class TermiteManager extends Object
  • 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

      public ArrayList<TermiteManager.Termite> termites()
    • saveAdditional

      public void saveAdditional(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag)
    • load

      public void load(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag)