Class Lever


public class Lever extends BlockBase
Mappings:
Namespace Name
intermediary net/minecraft/class_530
glue class_587
server pd
client xr
named net/minecraft/block/Lever
  • Constructor Details

    • Lever

      protected Lever(int id, int texture)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_530;<init>(II)V
      glue <init> Lclass_587;<init>(II)V
      server <init> Lpd;<init>(II)V
      client <init> Lxr;<init>(II)V
      named <init> Lnet/minecraft/block/Lever;<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;
    • 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
    • getRenderType

      @Environment(CLIENT) public int getRenderType()
      Overrides:
      getRenderType in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1621 Lnet/minecraft/class_17;method_1621()I
      glue method_652 Lclass_507;method_652()I
      server method_1621 Lna;method_1621()I
      client b Luu;b()I
      named getRenderType Lnet/minecraft/block/BlockBase;getRenderType()I
    • 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
    • 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_1785

      private boolean method_1785(Level level, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1785 Lnet/minecraft/class_530;method_1785(Lnet/minecraft/class_18;III)Z
      glue method_2037 Lclass_587;method_2037(Lclass_129;III)Z
      server g Lpd;g(Ldj;III)Z
      client h Lxr;h(Lfd;III)Z
      named method_1785 Lnet/minecraft/block/Lever;method_1785(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