Class LeverBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.LeverBlock

public class LeverBlock extends Block
Mappings:
Namespace Name
official akg
intermediary net/minecraft/class_151
named net/minecraft/block/LeverBlock
  • Constructor Details

    • LeverBlock

      protected LeverBlock()
  • Method Details

    • method_454

      public Box method_454(World world, int int2, int int3, int int4)
      Overrides:
      method_454 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;III)Laye;
      intermediary method_454 Lnet/minecraft/class_197;method_454(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_231;
      named method_454 Lnet/minecraft/block/Block;method_454(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
    • hasTransperancy

      public boolean hasTransperancy()
      Overrides:
      hasTransperancy in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laht;c()Z
      intermediary method_449 Lnet/minecraft/class_197;method_449()Z
      named hasTransperancy Lnet/minecraft/block/Block;hasTransperancy()Z
    • renderAsNormalBlock

      public boolean renderAsNormalBlock()
      Returns whether the block can be rendered as a normal block
      Overrides:
      renderAsNormalBlock in class Block
      Returns:
      Whether the block can be rendered as a normal block
      Mappings:
      Namespace Name Mixin selector
      official d Laht;d()Z
      intermediary method_441 Lnet/minecraft/class_197;method_441()Z
      named renderAsNormalBlock Lnet/minecraft/block/Block;renderAsNormalBlock()Z
    • getBlockType

      public int getBlockType()
      Overrides:
      getBlockType in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Laht;b()I
      intermediary method_429 Lnet/minecraft/class_197;method_429()I
      named getBlockType Lnet/minecraft/block/Block;getBlockType()I
    • method_428

      public boolean method_428(World world, int int2, int int3, int int4, int int5)
      Overrides:
      method_428 in class Block
      Mappings:
      Namespace Name Mixin selector
      official d Laht;d(Lafm;IIII)Z
      intermediary method_428 Lnet/minecraft/class_197;method_428(Lnet/minecraft/class_1150;IIII)Z
      named method_428 Lnet/minecraft/block/Block;method_428(Lnet/minecraft/world/World;IIII)Z
    • canPlaceBlockAt

      public boolean canPlaceBlockAt(World world, int x, int y, int z)
      Overrides:
      canPlaceBlockAt in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laht;c(Lafm;III)Z
      intermediary method_434 Lnet/minecraft/class_197;method_434(Lnet/minecraft/class_1150;III)Z
      named canPlaceBlockAt Lnet/minecraft/block/Block;canPlaceBlockAt(Lnet/minecraft/world/World;III)Z
    • method_4185

      public int method_4185(World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4, int int6)
      Overrides:
      method_4185 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIIIFFFI)I
      intermediary method_4185 Lnet/minecraft/class_197;method_4185(Lnet/minecraft/class_1150;IIIIFFFI)I
      named method_4185 Lnet/minecraft/block/Block;method_4185(Lnet/minecraft/world/World;IIIIFFFI)I
    • onBreak

      public void onBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item)
      Overrides:
      onBreak in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILrg;Labo;)V
      intermediary method_419 Lnet/minecraft/class_197;method_419(Lnet/minecraft/class_1150;IIILnet/minecraft/class_1699;Lnet/minecraft/class_1071;)V
      named onBreak Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;IIILnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
    • method_327

      public static int method_327(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lakg;b(I)I
      intermediary method_327 Lnet/minecraft/class_151;method_327(I)I
      named method_327 Lnet/minecraft/block/LeverBlock;method_327(I)I
    • onNeighborUpdate

      public void onNeighborUpdate(World world, int x, int y, int z, Block block)
      Overrides:
      onNeighborUpdate in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILaht;)V
      intermediary method_408 Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)V
      named onNeighborUpdate Lnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
    • method_328

      private boolean method_328(World world, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official e Lakg;e(Lafm;III)Z
      intermediary method_328 Lnet/minecraft/class_151;method_328(Lnet/minecraft/class_1150;III)Z
      named method_328 Lnet/minecraft/block/LeverBlock;method_328(Lnet/minecraft/world/World;III)Z
    • method_425

      public void method_425(BlockView blockView, int int2, int int3, int int4)
      Overrides:
      method_425 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafw;III)V
      intermediary method_425 Lnet/minecraft/class_197;method_425(Lnet/minecraft/class_1158;III)V
      named method_425 Lnet/minecraft/block/Block;method_425(Lnet/minecraft/world/BlockView;III)V
    • onActivated

      public boolean onActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4)
      Overrides:
      onActivated in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILxk;IFFF)Z
      intermediary method_421 Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;IFFF)Z
      named onActivated Lnet/minecraft/block/Block;onActivated(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;IFFF)Z
    • method_411

      public void method_411(World world, int int2, int int3, int int4, Block block, int int5)
      Overrides:
      method_411 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILaht;I)V
      intermediary method_411 Lnet/minecraft/class_197;method_411(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;I)V
      named method_411 Lnet/minecraft/block/Block;method_411(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;I)V
    • getWeakRedstonePower

      public int getWeakRedstonePower(BlockView world, int x, int y, int z, int direction)
      Overrides:
      getWeakRedstonePower in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Laht;b(Lafw;IIII)I
      intermediary method_426 Lnet/minecraft/class_197;method_426(Lnet/minecraft/class_1158;IIII)I
      named getWeakRedstonePower Lnet/minecraft/block/Block;getWeakRedstonePower(Lnet/minecraft/world/BlockView;IIII)I
    • getStrongRedstonePower

      public int getStrongRedstonePower(BlockView world, int x, int y, int z, int direction)
      Overrides:
      getStrongRedstonePower in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laht;c(Lafw;IIII)I
      intermediary method_444 Lnet/minecraft/class_197;method_444(Lnet/minecraft/class_1158;IIII)I
      named getStrongRedstonePower Lnet/minecraft/block/Block;getStrongRedstonePower(Lnet/minecraft/world/BlockView;IIII)I
    • emitsRedstonePower

      public boolean emitsRedstonePower()
      Returns whether the current block emits a redstone signal. Used by comparators, Redstone Blocks, etc.
      Overrides:
      emitsRedstonePower in class Block
      Returns:
      Whether the current block emits a redstone signal
      Mappings:
      Namespace Name Mixin selector
      official f Laht;f()Z
      intermediary method_466 Lnet/minecraft/class_197;method_466()Z
      named emitsRedstonePower Lnet/minecraft/block/Block;emitsRedstonePower()Z