Class BrushableBlockEntity

All Implemented Interfaces:
IAttachmentHolder, IBlockEntityExtension, INBTSerializable<CompoundTag>

public class BrushableBlockEntity extends BlockEntity
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • LOOT_TABLE_TAG

      private static final String LOOT_TABLE_TAG
      See Also:
    • LOOT_TABLE_SEED_TAG

      private static final String LOOT_TABLE_SEED_TAG
      See Also:
    • HIT_DIRECTION_TAG

      private static final String HIT_DIRECTION_TAG
      See Also:
    • ITEM_TAG

      private static final String ITEM_TAG
      See Also:
    • BRUSH_COOLDOWN_TICKS

      private static final int BRUSH_COOLDOWN_TICKS
      See Also:
    • BRUSH_RESET_TICKS

      private static final int BRUSH_RESET_TICKS
      See Also:
    • REQUIRED_BRUSHES_TO_BREAK

      private static final int REQUIRED_BRUSHES_TO_BREAK
      See Also:
    • brushCount

      private int brushCount
    • brushCountResetsAtTick

      private long brushCountResetsAtTick
    • coolDownEndsAtTick

      private long coolDownEndsAtTick
    • item

      private ItemStack item
    • hitDirection

      @Nullable private Direction hitDirection
    • lootTable

      @Nullable private ResourceLocation lootTable
    • lootTableSeed

      private long lootTableSeed
  • Constructor Details

    • BrushableBlockEntity

      public BrushableBlockEntity(BlockPos p_277558_, BlockState p_278093_)
  • Method Details