Class RedstoneBlock


public class RedstoneBlock extends MetalBlockBlock
Mappings:
Namespace Name
official ald
intermediary net/minecraft/class_1453
named net/minecraft/block/RedstoneBlock
  • Constructor Details

    • RedstoneBlock

      public RedstoneBlock(MaterialColor materialColor)
  • Method Details

    • 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
    • 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