Class IceBlock

Direct Known Subclasses:
FrostedIceBlock

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

    • IceBlock

      public IceBlock()
  • Method Details

    • getRenderLayerType

      @Environment(CLIENT) public BlockRenderLayer getRenderLayerType()
      Returns the appropriate RenderLayer for a block. Only called on the client.
      Overrides:
      getRenderLayerType in class Block
      Returns:
      The block's RenderLayer
      Mappings:
      Namespace Name Mixin selector
      official f Lalu;f()Lajk;
      intermediary method_8687 Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;
      named getRenderLayerType Lnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
    • method_8651

      public void method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)
      Overrides:
      method_8651 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Lajs;Laay;Lco;Latl;Lasc;Lafj;)V
      intermediary method_8651 Lnet/minecraft/class_197;method_8651(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_226;Lnet/minecraft/class_1071;)V
      named method_8651 Lnet/minecraft/block/Block;method_8651(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/item/ItemStack;)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 Lalu;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
    • scheduledTick

      public void scheduledTick(World world, BlockPos pos, BlockState state, Random rand)
      Runs when the block is updated as per a schedule
      Overrides:
      scheduledTick in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      rand - Random object
      Mappings:
      Namespace Name Mixin selector
      official b Lalu;b(Lajs;Lco;Latl;Ljava/util/Random;)V
      intermediary method_8661 Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)V
      named scheduledTick Lnet/minecraft/block/Block;scheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
    • method_11617

      protected void method_11617(World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official b Laok;b(Lajs;Lco;)V
      intermediary method_11617 Lnet/minecraft/class_148;method_11617(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named method_11617 Lnet/minecraft/block/IceBlock;method_11617(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • getPistonBehavior

      public PistonBehavior getPistonBehavior(BlockState state)
      Overrides:
      getPistonBehavior in class Block
      Mappings:
      Namespace Name Mixin selector
      official h Lalu;h(Latl;)Lazv;
      intermediary method_11567 Lnet/minecraft/class_197;method_11567(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2768;
      named getPistonBehavior Lnet/minecraft/block/Block;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;