Class TermiteManager.Termite

java.lang.Object
net.frozenblock.wilderwild.entity.ai.TermiteManager.Termite
Enclosing class:
TermiteManager

public static class TermiteManager.Termite extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
     
    static final com.mojang.serialization.Codec<TermiteManager.Termite>
     
    static final Map<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block>
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    boolean
     
    static final int
     
    int
     
    int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    net.minecraft.core.BlockPos
     
    static final Map<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block>
     
    net.minecraft.core.BlockPos
     
    int
     
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Termite(@NotNull net.minecraft.core.BlockPos mound, @NotNull net.minecraft.core.BlockPos pos, int blockDestroyPower, int aliveTicks, int update)
     
    Termite(@NotNull net.minecraft.core.BlockPos mound, @NotNull net.minecraft.core.BlockPos pos, int blockDestroyPower, int aliveTicks, int update, boolean eating, int id)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addDegradable(net.minecraft.world.level.block.Block degradable, net.minecraft.world.level.block.Block result)
     
    static void
     
    static void
    addNaturalDegradable(@NotNull net.minecraft.world.level.block.Block degradable, @NotNull net.minecraft.world.level.block.Block result)
     
    static void
     
    static boolean
    canMove(@NotNull net.minecraft.world.level.LevelAccessor level, @NotNull net.minecraft.core.BlockPos pos)
     
    static @Nullable net.minecraft.core.BlockPos
    degradableBreakablePos(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos, boolean natural, net.minecraft.util.RandomSource random)
     
    static boolean
    exposedToAir(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos, boolean natural)
     
    int
     
    boolean
     
    int
     
    int
     
    @NotNull net.minecraft.core.BlockPos
     
    @NotNull net.minecraft.core.BlockPos
     
    int
     
    static boolean
    isBlockMovable(@NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull net.minecraft.core.Direction direction)
     
    static boolean
    isEdibleProperty(@NotNull net.minecraft.world.level.block.state.BlockState state)
     
    static boolean
    isTooFar(boolean natural, @NotNull net.minecraft.core.BlockPos mound, @NotNull net.minecraft.core.BlockPos pos)
     
    static @Nullable net.minecraft.core.BlockPos
    ledgePos(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos, boolean natural)
     
    static void
    spawnEatParticles(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.world.level.block.state.BlockState eatState, @NotNull net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource random)
     
    static void
    spawnGnawParticles(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.world.level.block.state.BlockState eatState, @NotNull net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource random)
     
    boolean
    tick(@NotNull net.minecraft.world.level.Level level, boolean natural, net.minecraft.util.RandomSource random)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DESTROY_POWER_BEFORE_BLOCK_BREAKS

      public static final int DESTROY_POWER_BEFORE_BLOCK_BREAKS
      See Also:
    • DESTROY_POWER_LEAVES

      public static final int DESTROY_POWER_LEAVES
      See Also:
    • DESTROY_POWER_BREAKABLE

      public static final int DESTROY_POWER_BREAKABLE
      See Also:
    • DESTROY_POWER

      public static final int DESTROY_POWER
      See Also:
    • MAX_IDLE_TICKS

      public static final int MAX_IDLE_TICKS
      See Also:
    • MAX_IDLE_TICKS_NATURAL

      public static final int MAX_IDLE_TICKS_NATURAL
      See Also:
    • UPDATE_DELAY_IN_TICKS

      public static final int UPDATE_DELAY_IN_TICKS
      See Also:
    • GNAW_PARTICLE_CHANCE

      public static final int GNAW_PARTICLE_CHANCE
      See Also:
    • MIN_GNAW_PARTICLES

      public static final int MIN_GNAW_PARTICLES
      See Also:
    • MAX_GNAW_PARTICLES

      public static final int MAX_GNAW_PARTICLES
      See Also:
    • MIN_EAT_PARTICLES

      public static final int MIN_EAT_PARTICLES
      See Also:
    • MAX_EAT_PARTICLES

      public static final int MAX_EAT_PARTICLES
      See Also:
    • CODEC

      public static final com.mojang.serialization.Codec<TermiteManager.Termite> CODEC
    • DEGRADABLE_BLOCKS

      public static final Map<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> DEGRADABLE_BLOCKS
    • NATURAL_DEGRADABLE_BLOCKS

      public static final Map<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> NATURAL_DEGRADABLE_BLOCKS
    • mound

      public net.minecraft.core.BlockPos mound
    • pos

      public net.minecraft.core.BlockPos pos
    • blockDestroyPower

      public int blockDestroyPower
    • idleTicks

      public int idleTicks
    • update

      public int update
    • eating

      public boolean eating
    • id

      public int id
  • Constructor Details

    • Termite

      public Termite(@NotNull @NotNull net.minecraft.core.BlockPos mound, @NotNull @NotNull net.minecraft.core.BlockPos pos, int blockDestroyPower, int aliveTicks, int update)
    • Termite

      public Termite(@NotNull @NotNull net.minecraft.core.BlockPos mound, @NotNull @NotNull net.minecraft.core.BlockPos pos, int blockDestroyPower, int aliveTicks, int update, boolean eating, int id)
  • Method Details

    • tick

      public boolean tick(@NotNull @NotNull net.minecraft.world.level.Level level, boolean natural, net.minecraft.util.RandomSource random)
    • ledgePos

      @Nullable public static @Nullable net.minecraft.core.BlockPos ledgePos(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos, boolean natural)
    • degradableBreakablePos

      @Nullable public static @Nullable net.minecraft.core.BlockPos degradableBreakablePos(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos, boolean natural, net.minecraft.util.RandomSource random)
    • isEdibleProperty

      public static boolean isEdibleProperty(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state)
    • exposedToAir

      public static boolean exposedToAir(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos, boolean natural)
    • canMove

      public static boolean canMove(@NotNull @NotNull net.minecraft.world.level.LevelAccessor level, @NotNull @NotNull net.minecraft.core.BlockPos pos)
    • isBlockMovable

      public static boolean isBlockMovable(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull @NotNull net.minecraft.core.Direction direction)
    • isTooFar

      public static boolean isTooFar(boolean natural, @NotNull @NotNull net.minecraft.core.BlockPos mound, @NotNull @NotNull net.minecraft.core.BlockPos pos)
    • spawnGnawParticles

      public static void spawnGnawParticles(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState eatState, @NotNull @NotNull net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource random)
    • spawnEatParticles

      public static void spawnEatParticles(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState eatState, @NotNull @NotNull net.minecraft.core.BlockPos pos, net.minecraft.util.RandomSource random)
    • getMoundPos

      @NotNull public @NotNull net.minecraft.core.BlockPos getMoundPos()
    • getPos

      @NotNull public @NotNull net.minecraft.core.BlockPos getPos()
    • getBlockDestroyPower

      public int getBlockDestroyPower()
    • getIdleTicks

      public int getIdleTicks()
    • getUpdateTicks

      public int getUpdateTicks()
    • getEating

      public boolean getEating()
    • getID

      public int getID()
    • addDegradableBlocks

      public static void addDegradableBlocks()
    • addDegradable

      public static void addDegradable(net.minecraft.world.level.block.Block degradable, net.minecraft.world.level.block.Block result)
    • addNaturalDegradableBlocks

      public static void addNaturalDegradableBlocks()
    • addNaturalDegradable

      public static void addNaturalDegradable(@NotNull @NotNull net.minecraft.world.level.block.Block degradable, @NotNull @NotNull net.minecraft.world.level.block.Block result)