Class Button


public class Button extends BlockBase
Mappings:
Namespace Name
intermediary net/minecraft/class_323
glue class_344
server iz
client oi
named net/minecraft/block/Button
  • Constructor Details

    • Button

      protected Button(int id, int texture)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_323;<init>(II)V
      glue <init> Lclass_344;<init>(II)V
      server <init> Liz;<init>(II)V
      client <init> Loi;<init>(II)V
      named <init> Lnet/minecraft/block/Button;<init>(II)V
  • Method Details

    • getCollisionShape

      public Box getCollisionShape(Level level, int x, int y, int z)
      Overrides:
      getCollisionShape in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1624 Lnet/minecraft/class_17;method_1624(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;
      glue method_67 Lclass_507;method_67(Lclass_129;III)Lclass_113;
      server e Lna;e(Ldj;III)Lcz;
      client e Luu;e(Lfd;III)Leq;
      named getCollisionShape Lnet/minecraft/block/BlockBase;getCollisionShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
    • getTickrate

      public int getTickrate()
      Overrides:
      getTickrate in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1565 Lnet/minecraft/class_17;method_1565()I
      glue method_123 Lclass_507;method_123()I
      server c Lna;c()I
      client e Luu;e()I
      named getTickrate Lnet/minecraft/block/BlockBase;getTickrate()I
    • isFullOpaque

      public boolean isFullOpaque()
      Overrides:
      isFullOpaque in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1620 Lnet/minecraft/class_17;method_1620()Z
      glue method_65 Lclass_507;method_65()Z
      server a Lna;a()Z
      client c Luu;c()Z
      named isFullOpaque Lnet/minecraft/block/BlockBase;isFullOpaque()Z
    • isFullCube

      public boolean isFullCube()
      Overrides:
      isFullCube in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1623 Lnet/minecraft/class_17;method_1623()Z
      glue method_66 Lclass_507;method_66()Z
      server b Lna;b()Z
      client d Luu;d()Z
      named isFullCube Lnet/minecraft/block/BlockBase;isFullCube()Z
    • canPlaceAt

      public boolean canPlaceAt(Level level, int x, int y, int z, int meta)
      Overrides:
      canPlaceAt in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1561 Lnet/minecraft/class_17;method_1561(Lnet/minecraft/class_18;IIII)Z
      glue method_1092 Lclass_507;method_1092(Lclass_129;IIII)Z
      server a Lna;a(Ldj;IIII)Z
      client a Luu;a(Lfd;IIII)Z
      named canPlaceAt Lnet/minecraft/block/BlockBase;canPlaceAt(Lnet/minecraft/level/Level;IIII)Z
    • canPlaceAt

      public boolean canPlaceAt(Level level, int x, int y, int z)
      Overrides:
      canPlaceAt in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1567 Lnet/minecraft/class_17;method_1567(Lnet/minecraft/class_18;III)Z
      glue method_153 Lclass_507;method_153(Lclass_129;III)Z
      server a Lna;a(Ldj;III)Z
      client a Luu;a(Lfd;III)Z
      named canPlaceAt Lnet/minecraft/block/BlockBase;canPlaceAt(Lnet/minecraft/level/Level;III)Z
    • onBlockPlaced

      public void onBlockPlaced(Level level, int x, int y, int z, int facing)
      Overrides:
      onBlockPlaced in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1606 Lnet/minecraft/class_17;method_1606(Lnet/minecraft/class_18;IIII)V
      glue method_254 Lclass_507;method_254(Lclass_129;IIII)V
      server e Lna;e(Ldj;IIII)V
      client e Luu;e(Lfd;IIII)V
      named onBlockPlaced Lnet/minecraft/block/BlockBase;onBlockPlaced(Lnet/minecraft/level/Level;IIII)V
    • method_1047

      private int method_1047(Level level, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1047 Lnet/minecraft/class_323;method_1047(Lnet/minecraft/class_18;III)I
      glue method_1405 Lclass_344;method_1405(Lclass_129;III)I
      server g Liz;g(Ldj;III)I
      client h Loi;h(Lfd;III)I
      named method_1047 Lnet/minecraft/block/Button;method_1047(Lnet/minecraft/level/Level;III)I
    • onAdjacentBlockUpdate

      public void onAdjacentBlockUpdate(Level level, int x, int y, int z, int id)
      Overrides:
      onAdjacentBlockUpdate in class BlockBase
      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 onAdjacentBlockUpdate Lnet/minecraft/block/BlockBase;onAdjacentBlockUpdate(Lnet/minecraft/level/Level;IIII)V
    • method_1048

      private boolean method_1048(Level level, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1048 Lnet/minecraft/class_323;method_1048(Lnet/minecraft/class_18;III)Z
      glue method_1406 Lclass_344;method_1406(Lclass_129;III)Z
      server h Liz;h(Ldj;III)Z
      client i Loi;i(Lfd;III)Z
      named method_1048 Lnet/minecraft/block/Button;method_1048(Lnet/minecraft/level/Level;III)Z
    • updateBoundingBox

      public void updateBoundingBox(BlockView tileView, int x, int y, int z)
      Overrides:
      updateBoundingBox in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1616 Lnet/minecraft/class_17;method_1616(Lnet/minecraft/class_14;III)V
      glue method_60 Lclass_507;method_60(Lclass_584;III)V
      server a Lna;a(Lpb;III)V
      client a Luu;a(Lxp;III)V
      named updateBoundingBox Lnet/minecraft/block/BlockBase;updateBoundingBox(Lnet/minecraft/level/BlockView;III)V
    • activate

      public void activate(Level level, int x, int y, int z, PlayerBase player)
      Overrides:
      activate in class BlockBase
      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 activate Lnet/minecraft/block/BlockBase;activate(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/player/PlayerBase;)V
    • canUse

      public boolean canUse(Level level, int x, int y, int z, PlayerBase player)
      Overrides:
      canUse in class BlockBase
      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 canUse Lnet/minecraft/block/BlockBase;canUse(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/player/PlayerBase;)Z
    • onBlockRemoved

      public void onBlockRemoved(Level level, int x, int y, int z)
      Overrides:
      onBlockRemoved in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1630 Lnet/minecraft/class_17;method_1630(Lnet/minecraft/class_18;III)V
      glue method_99 Lclass_507;method_99(Lclass_129;III)V
      server b Lna;b(Ldj;III)V
      client b Luu;b(Lfd;III)V
      named onBlockRemoved Lnet/minecraft/block/BlockBase;onBlockRemoved(Lnet/minecraft/level/Level;III)V
    • isPowered

      public boolean isPowered(BlockView tileView, int x, int y, int z, int meta)
      Overrides:
      isPowered in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1568 Lnet/minecraft/class_17;method_1568(Lnet/minecraft/class_14;IIII)Z
      glue method_154 Lclass_507;method_154(Lclass_584;IIII)Z
      server a Lna;a(Lpb;IIII)Z
      client c Luu;c(Lxp;IIII)Z
      named isPowered Lnet/minecraft/block/BlockBase;isPowered(Lnet/minecraft/level/BlockView;IIII)Z
    • indirectlyPowered

      public boolean indirectlyPowered(Level level, int x, int y, int z, int meta)
      Overrides:
      indirectlyPowered in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1570 Lnet/minecraft/class_17;method_1570(Lnet/minecraft/class_18;IIII)Z
      glue method_156 Lclass_507;method_156(Lclass_129;IIII)Z
      server d Lna;d(Ldj;IIII)Z
      client d Luu;d(Lfd;IIII)Z
      named indirectlyPowered Lnet/minecraft/block/BlockBase;indirectlyPowered(Lnet/minecraft/level/Level;IIII)Z
    • getEmitsRedstonePower

      public boolean getEmitsRedstonePower()
      Overrides:
      getEmitsRedstonePower in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1569 Lnet/minecraft/class_17;method_1569()Z
      glue method_155 Lclass_507;method_155()Z
      server d Lna;d()Z
      client f Luu;f()Z
      named getEmitsRedstonePower Lnet/minecraft/block/BlockBase;getEmitsRedstonePower()Z
    • onScheduledTick

      public void onScheduledTick(Level level, int x, int y, int z, Random rand)
      Overrides:
      onScheduledTick in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1602 Lnet/minecraft/class_17;method_1602(Lnet/minecraft/class_18;IIILjava/util/Random;)V
      glue method_20 Lclass_507;method_20(Lclass_129;IIILjava/util/Random;)V
      server a Lna;a(Ldj;IIILjava/util/Random;)V
      client a Luu;a(Lfd;IIILjava/util/Random;)V
      named onScheduledTick Lnet/minecraft/block/BlockBase;onScheduledTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
    • method_1605

      @Environment(CLIENT) public void method_1605()
      Overrides:
      method_1605 in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1605 Lnet/minecraft/class_17;method_1605()V
      glue method_217 Lclass_507;method_217()V
      server method_1605 Lna;method_1605()V
      client g Luu;g()V
      named method_1605 Lnet/minecraft/block/BlockBase;method_1605()V