Class MangroveRootsBlock

All Implemented Interfaces:
FluidDrainable, FluidFillable, Waterloggable, ItemConvertible

public class MangroveRootsBlock extends Block implements Waterloggable
Mappings:
Namespace Name
official cni
intermediary net/minecraft/class_7116
named net/minecraft/block/MangroveRootsBlock
  • Field Details

    • WATERLOGGED

      public static final BooleanProperty WATERLOGGED
      Mappings:
      Namespace Name Mixin selector
      official a Lcni;a:Lcvi;
      intermediary field_37593 Lnet/minecraft/class_7116;field_37593:Lnet/minecraft/class_2746;
      named WATERLOGGED Lnet/minecraft/block/MangroveRootsBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
  • Constructor Details

    • MangroveRootsBlock

      protected MangroveRootsBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcuq;<init>(Lcuq$c;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • isSideInvisible

      public boolean isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)
      Overrides:
      isSideInvisible in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lcur;Lgy;)Z
      intermediary method_9522 Lnet/minecraft/class_4970;method_9522(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
      named isSideInvisible Lnet/minecraft/block/AbstractBlock;isSideInvisible(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
    • getPlacementState

      @Nullable public @Nullable BlockState getPlacementState(ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcca;)Lcur;
      intermediary method_9605 Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
      named getPlacementState Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
    • getStateForNeighborUpdate

      public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
      Gets the possibly updated block state of this block when a neighboring block is updated.
      Overrides:
      getStateForNeighborUpdate in class AbstractBlock
      Parameters:
      state - the state of this block
      direction - the direction from this block to the neighbor
      neighborState - the state of the updated neighbor block
      world - the world
      pos - the position of this block
      neighborPos - the position of the neighbor block
      Returns:
      the new state of this block
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lgy;Lcur;Lcgb;Lgt;Lgt;)Lcur;
      intermediary method_9559 Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getStateForNeighborUpdate Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getFluidState

      public FluidState getFluidState(BlockState state)
      Overrides:
      getFluidState in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official c_ Lcuq;c_(Lcur;)Ldoy;
      intermediary method_9545 Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;
      named getFluidState Lnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcus$a;)V
      intermediary method_9515 Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V