Package net.minecraft

Class class_3010


public class class_3010 extends Block
Mappings:
Namespace Name
official aos
intermediary net/minecraft/class_3010
named net/minecraft/class_3010
  • Constructor Details

    • class_3010

      public class_3010()
  • Method Details

    • getMaterialColor

      public MaterialColor getMaterialColor(BlockState state)
      Returns the block's material color from it's state Blockstates can have different material colors
      Overrides:
      getMaterialColor in class Block
      Parameters:
      state - The Blockstate for which the material color is returned
      Returns:
      materialColor
      Mappings:
      Namespace Name Mixin selector
      official r Lalu;r(Latl;)Lazt;
      intermediary method_8680 Lnet/minecraft/class_197;method_8680(Lnet/minecraft/class_2232;)Lnet/minecraft/class_65;
      named getMaterialColor Lnet/minecraft/block/Block;getMaterialColor(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/MaterialColor;
    • onSteppedOn

      public void onSteppedOn(World world, BlockPos pos, Entity entity)
      Runs every time an entity steps on the Block. Used by redstone ore to change it's state.
      Overrides:
      onSteppedOn in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      entity - The entity who stepped on the block
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Lajs;Lco;Lsn;)V
      intermediary method_437 Lnet/minecraft/class_197;method_437(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;)V
      named onSteppedOn Lnet/minecraft/block/Block;onSteppedOn(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
    • method_11564

      @Environment(CLIENT) public int method_11564(BlockState state, BlockView view, BlockPos pos)
      Overrides:
      method_11564 in class Block
      Mappings:
      Namespace Name Mixin selector
      official d Lalu;d(Latl;Lajw;Lco;)I
      intermediary method_11564 Lnet/minecraft/class_197;method_11564(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)I
      named method_11564 Lnet/minecraft/block/Block;method_11564(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
    • scheduledTick

      public void scheduledTick(World world, BlockPos pos, BlockState state, Random rand)
      Runs when the block is updated as per a schedule
      Overrides:
      scheduledTick in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      rand - Random object
      Mappings:
      Namespace Name Mixin selector
      official b Lalu;b(Lajs;Lco;Latl;Ljava/util/Random;)V
      intermediary method_8661 Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)V
      named scheduledTick Lnet/minecraft/block/Block;scheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
    • method_13315

      public boolean method_13315(BlockState blockState, Entity entity)
      Overrides:
      method_13315 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Latl;Lsn;)Z
      intermediary method_13315 Lnet/minecraft/class_197;method_13315(Lnet/minecraft/class_2232;Lnet/minecraft/class_864;)Z
      named method_13315 Lnet/minecraft/block/Block;method_13315(Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/Entity;)Z