Package net.minecraft

Class class_3207


public class class_3207 extends FallingBlock
Mappings:
Namespace Name
official apq
intermediary net/minecraft/class_3207
named net/minecraft/class_3207
  • Field Details

    • field_15749

      public static final EnumProperty<DyeColor> field_15749
      Mappings:
      Namespace Name Mixin selector
      official a Lapq;a:Laxh;
      intermediary field_15749 Lnet/minecraft/class_3207;field_15749:Lnet/minecraft/class_2245;
      named field_15749 Lnet/minecraft/class_3207;field_15749:Lnet/minecraft/state/property/EnumProperty;
  • Constructor Details

    • class_3207

      public class_3207()
  • Method Details

    • method_8766

      public void method_8766(World world, BlockPos blockPos, BlockState blockState, BlockState blockState2)
      Overrides:
      method_8766 in class FallingBlock
      Mappings:
      Namespace Name Mixin selector
      official a Laqm;a(Lamu;Let;Lawt;Lawt;)V
      intermediary method_8766 Lnet/minecraft/class_1756;method_8766(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_2232;)V
      named method_8766 Lnet/minecraft/block/FallingBlock;method_8766(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)V
    • method_14320

      protected boolean method_14320(World world, BlockPos blockPos, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official e Lapq;e(Lamu;Let;Lawt;)Z
      intermediary method_14320 Lnet/minecraft/class_3207;method_14320(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Z
      named method_14320 Lnet/minecraft/class_3207;method_14320(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
    • onBreak

      public void onBreak(BlockState state, World world, BlockPos arg3, Block block, BlockPos pos)
      Overrides:
      onBreak in class FallingBlock
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamu;Let;Laow;Let;)V
      intermediary method_8641 Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)V
      named onBreak Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • onCreation

      public void onCreation(World world, BlockPos pos, BlockState state)
      Runs when the block is placed (by a player or enderman).
      Overrides:
      onCreation in class FallingBlock
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(Lamu;Let;Lawt;)V
      intermediary method_8668 Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named onCreation Lnet/minecraft/block/Block;onCreation(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • getMeta

      public int getMeta(BlockState state)
      Returns the metadata value for a certain BlockState
      Overrides:
      getMeta in class Block
      Parameters:
      state - The BlockState
      Returns:
      Metadata value
      Mappings:
      Namespace Name Mixin selector
      official d Laow;d(Lawt;)I
      intermediary method_8655 Lnet/minecraft/class_197;method_8655(Lnet/minecraft/class_2232;)I
      named getMeta Lnet/minecraft/block/Block;getMeta(Lnet/minecraft/block/BlockState;)I
    • addStacksForDisplay

      public void addStacksForDisplay(ItemGroup group, DefaultedList<ItemStack> stacks)
      Overrides:
      addStacksForDisplay in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lahp;Lfi;)V
      intermediary method_14305 Lnet/minecraft/class_197;method_14305(Lnet/minecraft/class_1041;Lnet/minecraft/class_3114;)V
      named addStacksForDisplay Lnet/minecraft/block/Block;addStacksForDisplay(Lnet/minecraft/item/itemgroup/ItemGroup;Lnet/minecraft/util/collection/DefaultedList;)V
    • getMaterialColor

      public MaterialColor getMaterialColor(BlockState state, BlockView view, BlockPos pos)
      Overrides:
      getMaterialColor in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(Lawt;Lamy;Let;)Lbda;
      intermediary method_8680 Lnet/minecraft/class_197;method_8680(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_65;
      named getMaterialColor Lnet/minecraft/block/Block;getMaterialColor(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/MaterialColor;
    • stateFromData

      public BlockState stateFromData(int data)
      Returns a blockstate of the current block from it's id
      Overrides:
      stateFromData in class Block
      Parameters:
      data - The Blockstate's associated data value
      Returns:
      The Default state
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(I)Lawt;
      intermediary method_8635 Lnet/minecraft/class_197;method_8635(I)Lnet/minecraft/class_2232;
      named stateFromData Lnet/minecraft/block/Block;stateFromData(I)Lnet/minecraft/block/BlockState;
    • getData

      public int getData(BlockState state)
      Returns the data value for a blockstate Throws an IllegalArmumentException as this method does not work
      Overrides:
      getData in class Block
      Parameters:
      state - The Blockstate
      Returns:
      Zero
      Mappings:
      Namespace Name Mixin selector
      official e Laow;e(Lawt;)I
      intermediary method_8671 Lnet/minecraft/class_197;method_8671(Lnet/minecraft/class_2232;)I
      named getData Lnet/minecraft/block/Block;getData(Lnet/minecraft/block/BlockState;)I
    • appendProperties

      protected StateManager appendProperties()
      Returns a new state manager with a property array.
      Overrides:
      appendProperties in class Block
      Returns:
      New state manager
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b()Lawu;
      intermediary method_8676 Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;
      named appendProperties Lnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;