Class IceBlock


public class IceBlock extends TransparentBlock
Mappings:
Namespace Name
official aka
intermediary net/minecraft/class_148
named net/minecraft/block/IceBlock
  • Constructor Details

    • IceBlock

      public IceBlock()
  • Method Details

    • method_479

      @Environment(CLIENT) public int method_479()
      Overrides:
      method_479 in class Block
      Mappings:
      Namespace Name Mixin selector
      official w Laht;w()I
      intermediary method_479 Lnet/minecraft/class_197;method_479()I
      named method_479 Lnet/minecraft/block/Block;method_479()I
    • shouldRenderSide

      @Environment(CLIENT) public boolean shouldRenderSide(BlockView world, int x, int y, int z, int blockData)
      Overrides:
      shouldRenderSide in class TransparentBlock
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafw;IIII)Z
      intermediary method_447 Lnet/minecraft/class_197;method_447(Lnet/minecraft/class_1158;IIII)Z
      named shouldRenderSide Lnet/minecraft/block/Block;shouldRenderSide(Lnet/minecraft/world/BlockView;IIII)Z
    • method_424

      public void method_424(World world, PlayerEntity playerEntity, int int2, int int3, int int4, int int5)
      Overrides:
      method_424 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;Lxk;IIII)V
      intermediary method_424 Lnet/minecraft/class_197;method_424(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;IIII)V
      named method_424 Lnet/minecraft/block/Block;method_424(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;IIII)V
    • getDropCount

      public int getDropCount(Random rand)
      Returns the amount of items the block should drop on breaking without bonus rolls.
      Overrides:
      getDropCount in class Block
      Parameters:
      rand - Random object
      Returns:
      Amount of items to be dropped
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Ljava/util/Random;)I
      intermediary method_403 Lnet/minecraft/class_197;method_403(Ljava/util/Random;)I
      named getDropCount Lnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
    • 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
    • getPistonInteractionType

      public int getPistonInteractionType()
      Returns the block's piston interaction type, as provided by it's material.
      Overrides:
      getPistonInteractionType in class Block
      Returns:
      Current block's piston interaction type
      Mappings:
      Namespace Name Mixin selector
      official h Laht;h()I
      intermediary method_453 Lnet/minecraft/class_197;method_453()I
      named getPistonInteractionType Lnet/minecraft/block/Block;getPistonInteractionType()I