Class CarpetBlock

All Implemented Interfaces:
ItemConvertible

public class CarpetBlock
extends Block
Mappings:
Namespace Name
official cet
intermediary net/minecraft/class_2577
named net/minecraft/block/CarpetBlock
  • Field Details

    • SHAPE

      protected static final VoxelShape SHAPE
      Mappings:
      Namespace Name Mixin selector
      official a Lcet;a:Ldit;
      intermediary field_11783 Lnet/minecraft/class_2577;field_11783:Lnet/minecraft/class_265;
      named SHAPE Lnet/minecraft/block/CarpetBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • color

      private final DyeColor color
      Mappings:
      Namespace Name Mixin selector
      official b Lcet;b:Lbmr;
      intermediary field_11784 Lnet/minecraft/class_2577;field_11784:Lnet/minecraft/class_1767;
      named color Lnet/minecraft/block/CarpetBlock;color:Lnet/minecraft/util/DyeColor;
  • Constructor Details

    • CarpetBlock

      protected CarpetBlock​(DyeColor color, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcet;<init>(Lbmr;Lchf$c;)V
      intermediary <init> Lnet/minecraft/class_2577;<init>(Lnet/minecraft/class_1767;Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/CarpetBlock;<init>(Lnet/minecraft/util/DyeColor;Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • getColor

      public DyeColor getColor()
      Mappings:
      Namespace Name Mixin selector
      official c Lcet;c()Lbmr;
      intermediary method_10925 Lnet/minecraft/class_2577;method_10925()Lnet/minecraft/class_1767;
      named getColor Lnet/minecraft/block/CarpetBlock;getColor()Lnet/minecraft/util/DyeColor;
    • getOutlineShape

      public VoxelShape getOutlineShape​(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lchf;a(Lchg;Lbsy;Lfx;Ldif;)Ldit;
      intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • getStateForNeighborUpdate

      public BlockState getStateForNeighborUpdate​(BlockState state, Direction direction, BlockState newState, WorldAccess world, BlockPos pos, BlockPos posFrom)
      Overrides:
      getStateForNeighborUpdate in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lchf;a(Lchg;Lgc;Lchg;Lbtv;Lfx;Lfx;)Lchg;
      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;
    • canPlaceAt

      public boolean canPlaceAt​(BlockState state, WorldView world, BlockPos pos)
      Overrides:
      canPlaceAt in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lchf;a(Lchg;Lbtx;Lfx;)Z
      intermediary method_9558 Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      named canPlaceAt Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z