Class TripwireHookBlock

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

public class TripwireHookBlock extends Block
Mappings:
Namespace Name
official amr
intermediary net/minecraft/class_207
named net/minecraft/block/TripwireHookBlock
  • Constructor Details

    • TripwireHookBlock

      public TripwireHookBlock()
  • 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
    • getTickRate

      public int getTickRate(World world)
      Returns the block's tick rate. Default is 10.
      Overrides:
      getTickRate in class Block
      Parameters:
      world - The world that the block is placed in
      Returns:
      Tick rate
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;)I
      intermediary method_4789 Lnet/minecraft/class_197;method_4789(Lnet/minecraft/class_1150;)I
      named getTickRate Lnet/minecraft/block/Block;getTickRate(Lnet/minecraft/world/World;)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
    • method_4186

      public void method_4186(World world, int int2, int int3, int int4, int int5)
      Overrides:
      method_4186 in class Block
      Mappings:
      Namespace Name Mixin selector
      official e Laht;e(Lafm;IIII)V
      intermediary method_4186 Lnet/minecraft/class_197;method_4186(Lnet/minecraft/class_1150;IIII)V
      named method_4186 Lnet/minecraft/block/Block;method_4186(Lnet/minecraft/world/World;IIII)V
    • 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_496

      public void method_496(World world, int int2, int int3, int int4, boolean bool, int int5, boolean bool2, int int6, int int7)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(Lafm;IIIZIZII)V
      intermediary method_496 Lnet/minecraft/class_207;method_496(Lnet/minecraft/class_1150;IIIZIZII)V
      named method_496 Lnet/minecraft/block/TripwireHookBlock;method_496(Lnet/minecraft/world/World;IIIZIZII)V
    • onTick

      public void onTick(World world, int x, int y, int z, Random random)
      Overrides:
      onTick in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILjava/util/Random;)V
      intermediary method_436 Lnet/minecraft/class_197;method_436(Lnet/minecraft/class_1150;IIILjava/util/Random;)V
      named onTick Lnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
    • method_497

      private void method_497(World world, int int2, int int3, int int4, boolean bool, boolean bool2, boolean bool3, boolean bool4)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(Lafm;IIIZZZZ)V
      intermediary method_497 Lnet/minecraft/class_207;method_497(Lnet/minecraft/class_1150;IIIZZZZ)V
      named method_497 Lnet/minecraft/block/TripwireHookBlock;method_497(Lnet/minecraft/world/World;IIIZZZZ)V
    • method_498

      private void method_498(World world, int int2, int int3, int int4, int int5)
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a(Lafm;IIII)V
      intermediary method_498 Lnet/minecraft/class_207;method_498(Lnet/minecraft/class_1150;IIII)V
      named method_498 Lnet/minecraft/block/TripwireHookBlock;method_498(Lnet/minecraft/world/World;IIII)V
    • method_499

      private boolean method_499(World world, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official e Lamr;e(Lafm;III)Z
      intermediary method_499 Lnet/minecraft/class_207;method_499(Lnet/minecraft/class_1150;III)Z
      named method_499 Lnet/minecraft/block/TripwireHookBlock;method_499(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
    • 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