Class NoteBlock


public class NoteBlock extends BlockWithEntity
Mappings:
Namespace Name
intermediary net/minecraft/class_348
glue class_371
server jr
client pt
named net/minecraft/block/NoteBlock
  • Constructor Details

    • NoteBlock

      public NoteBlock(int id)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_348;<init>(I)V
      glue <init> Lclass_371;<init>(I)V
      server <init> Ljr;<init>(I)V
      client <init> Lpt;<init>(I)V
      named <init> Lnet/minecraft/block/NoteBlock;<init>(I)V
  • Method Details

    • getTexture

      public int getTexture(int side)
      Overrides:
      getTexture in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1607 Lnet/minecraft/class_17;method_1607(I)I
      glue method_37 Lclass_507;method_37(I)I
      server a Lna;a(I)I
      client a Luu;a(I)I
      named getTexture Lnet/minecraft/block/Block;getTexture(I)I
    • neighborUpdate

      public void neighborUpdate(World world, int x, int y, int z, int id)
      Overrides:
      neighborUpdate in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1609 Lnet/minecraft/class_17;method_1609(Lnet/minecraft/class_18;IIII)V
      glue method_39 Lclass_507;method_39(Lclass_129;IIII)V
      server b Lna;b(Ldj;IIII)V
      client b Luu;b(Lfd;IIII)V
      named neighborUpdate Lnet/minecraft/block/Block;neighborUpdate(Lnet/minecraft/world/World;IIII)V
    • onUse

      public boolean onUse(World world, int x, int y, int z, PlayerEntity player)
      Overrides:
      onUse in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1608 Lnet/minecraft/class_17;method_1608(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)Z
      glue method_38 Lclass_507;method_38(Lclass_129;IIILclass_172;)Z
      server a Lna;a(Ldj;IIILem;)Z
      client a Luu;a(Lfd;IIILgs;)Z
      named onUse Lnet/minecraft/block/Block;onUse(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)Z
    • onBlockBreakStart

      public void onBlockBreakStart(World world, int x, int y, int z, PlayerEntity player)
      Overrides:
      onBlockBreakStart in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1610 Lnet/minecraft/class_17;method_1610(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)V
      glue method_40 Lclass_507;method_40(Lclass_129;IIILclass_172;)V
      server b Lna;b(Ldj;IIILem;)V
      client b Luu;b(Lfd;IIILgs;)V
      named onBlockBreakStart Lnet/minecraft/block/Block;onBlockBreakStart(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)V
    • createBlockEntity

      protected BlockEntity createBlockEntity()
      Specified by:
      createBlockEntity in class BlockWithEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1251 Lnet/minecraft/class_395;method_1251()Lnet/minecraft/class_55;
      glue method_238 Lclass_429;method_238()Lclass_356;
      server a_ Llb;a_()Ljh;
      client a_ Lrw;a_()Low;
      named createBlockEntity Lnet/minecraft/block/BlockWithEntity;createBlockEntity()Lnet/minecraft/block/entity/BlockEntity;
    • onBlockAction

      public void onBlockAction(World world, int x, int y, int z, int data1, int data2)
      Overrides:
      onBlockAction in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1563 Lnet/minecraft/class_17;method_1563(Lnet/minecraft/class_18;IIIII)V
      glue method_1123 Lclass_507;method_1123(Lclass_129;IIIII)V
      server a Lna;a(Ldj;IIIII)V
      client a Luu;a(Lfd;IIIII)V
      named onBlockAction Lnet/minecraft/block/Block;onBlockAction(Lnet/minecraft/world/World;IIIII)V