Class NoteBlock

All Implemented Interfaces:
BlockEntityProvider

public class NoteBlock extends BlockWithEntity
Mappings:
Namespace Name
official and
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 Land;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

    • method_8641

      public void method_8641(BlockState blockState, World world, BlockPos blockPos, Block block)
      Overrides:
      method_8641 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a(Lard;Laht;Lcl;Lajt;)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;)V
      named method_8641 Lnet/minecraft/block/Block;method_8641(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
    • method_421

      public boolean method_421(World world, BlockPos blockPos, BlockState blockState, PlayerEntity playerEntity, Hand hand, @Nullable ItemStack itemStack, Direction direction, float float2, float float3, float float4)
      Overrides:
      method_421 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a(Laht;Lcl;Lard;Lzj;Lqm;Ladq;Lcs;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_1071;Lnet/minecraft/class_1354;FFF)Z
      named method_421 Lnet/minecraft/block/Block;method_421(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;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 Lajt;a(Laht;Lcl;Lzj;)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 Lalg;a(Laht;I)Lapv;
      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 e Land;e(I)Lng;
      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 Lajt;a(Lard;Laht;Lcl;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 Lajt;a(Lard;)Laob;
      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;