Class NoteBlock

All Implemented Interfaces:
BlockEntityProvider

public class NoteBlock extends BlockWithEntity
Mappings:
Namespace Name
official ask
intermediary net/minecraft/class_161
named net/minecraft/block/NoteBlock
  • Field Details

    • TUNES

      private static final List<SoundEvent> TUNES
      Mappings:
      Namespace Name Mixin selector
      official a Lask;a:Ljava/util/List;
      intermediary field_9559 Lnet/minecraft/class_161;field_9559:Ljava/util/List;
      named TUNES Lnet/minecraft/block/NoteBlock;TUNES:Ljava/util/List;
  • Constructor Details

    • NoteBlock

      public NoteBlock()
  • Method Details

    • onBreak

      public void onBreak(BlockState state, World world, BlockPos arg3, Block block, BlockPos pos)
      Overrides:
      onBreak in class Block
      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
    • use

      public boolean use(World world, BlockPos pos, BlockState state, PlayerEntity player, Hand hand, Direction direction, float float2, float float3, float float4)
      Overrides:
      use in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lawt;Laed;Lub;Lfa;FFF)Z
      intermediary method_421 Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Z
      named use Lnet/minecraft/block/Block;use(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Z
    • onBlockBreakStart

      public void onBlockBreakStart(World world, BlockPos pos, PlayerEntity player)
      Overrides:
      onBlockBreakStart in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Laed;)V
      intermediary method_420 Lnet/minecraft/class_197;method_420(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;)V
      named onBlockBreakStart Lnet/minecraft/block/Block;onBlockBreakStart(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)V
    • createBlockEntity

      public BlockEntity createBlockEntity(World world, int id)
      Mappings:
      Namespace Name Mixin selector
      official a Laql;a(Lamu;I)Lavj;
      intermediary method_309 Lnet/minecraft/class_1451;method_309(Lnet/minecraft/class_1150;I)Lnet/minecraft/class_226;
      named createBlockEntity Lnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/world/World;I)Lnet/minecraft/block/entity/BlockEntity;
    • method_8839

      private SoundEvent method_8839(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lask;b(I)Lqe;
      intermediary method_8839 Lnet/minecraft/class_161;method_8839(I)Lnet/minecraft/class_2926;
      named method_8839 Lnet/minecraft/block/NoteBlock;method_8839(I)Lnet/minecraft/client/sound/SoundEvent;
    • method_435

      public boolean method_435(BlockState blockState, World world, BlockPos blockPos, int int2, int int3)
      Overrides:
      method_435 in class BlockWithEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamu;Let;II)Z
      intermediary method_435 Lnet/minecraft/class_197;method_435(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;II)Z
      named method_435 Lnet/minecraft/block/Block;method_435(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;II)Z
    • getBlockRenderType

      public BlockRenderType getBlockRenderType(BlockState state)
      Overrides:
      getBlockRenderType in class BlockWithEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;)Latj;
      intermediary method_11552 Lnet/minecraft/class_197;method_11552(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2733;
      named getBlockRenderType Lnet/minecraft/block/Block;getBlockRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;