Class PowderSnowBlock

All Implemented Interfaces:
FluidDrainable, ItemConvertible

public class PowderSnowBlock
extends Block
implements FluidDrainable
Mappings:
Namespace Name
official cbu
intermediary net/minecraft/class_5635
named net/minecraft/block/PowderSnowBlock
  • Constructor Details

    • PowderSnowBlock

      public PowderSnowBlock​(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lchs;<init>(Lchs$c;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • isSideInvisible

      @Environment(CLIENT) public boolean isSideInvisible​(BlockState state, BlockState stateFrom, Direction direction)
      Overrides:
      isSideInvisible in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lchs;a(Lcht;Lcht;Lgc;)Z
      intermediary method_9522 Lnet/minecraft/class_4970;method_9522(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
      named isSideInvisible Lnet/minecraft/block/AbstractBlock;isSideInvisible(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
    • getCullingShape

      public VoxelShape getCullingShape​(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getCullingShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a_ Lchs;a_(Lcht;Lbsz;Lfx;)Ldjn;
      intermediary method_9571 Lnet/minecraft/class_4970;method_9571(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
      named getCullingShape Lnet/minecraft/block/AbstractBlock;getCullingShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
    • onEntityCollision

      public void onEntityCollision​(BlockState state, World world, BlockPos pos, Entity entity)
      Overrides:
      onEntityCollision in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lchs;a(Lcht;Lbtv;Lfx;Laqv;)V
      intermediary method_9548 Lnet/minecraft/class_4970;method_9548(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)V
      named onEntityCollision Lnet/minecraft/block/AbstractBlock;onEntityCollision(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
    • getCollisionShape

      public VoxelShape getCollisionShape​(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getCollisionShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official c Lchs;c(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
      intermediary method_9549 Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getCollisionShape Lnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • getVisualShape

      public VoxelShape getVisualShape​(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getVisualShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official b Lchs;b(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
      intermediary method_26159 Lnet/minecraft/class_4970;method_26159(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getVisualShape Lnet/minecraft/block/AbstractBlock;getVisualShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • spawnParticles

      public static void spawnParticles​(World world, Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbu;a(Lbtv;Ldiu;)V
      intermediary method_32356 Lnet/minecraft/class_5635;method_32356(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;)V
      named spawnParticles Lnet/minecraft/block/PowderSnowBlock;spawnParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;)V
    • canWalkOnPowderSnow

      public static boolean canWalkOnPowderSnow​(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbu;a(Laqv;)Z
      intermediary method_32355 Lnet/minecraft/class_5635;method_32355(Lnet/minecraft/class_1297;)Z
      named canWalkOnPowderSnow Lnet/minecraft/block/PowderSnowBlock;canWalkOnPowderSnow(Lnet/minecraft/entity/Entity;)Z
    • tryDrainFluid

      public ItemStack tryDrainFluid​(WorldAccess world, BlockPos pos, BlockState state)
      Specified by:
      tryDrainFluid in interface FluidDrainable
      Mappings:
      Namespace Name Mixin selector
      official b Lbwz;b(Lbtw;Lfx;Lcht;)Lbnv;
      intermediary method_9700 Lnet/minecraft/class_2263;method_9700(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;
      named tryDrainFluid Lnet/minecraft/block/FluidDrainable;tryDrainFluid(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
    • getBucketFillSound

      public Optional<SoundEvent> getBucketFillSound()
      Returns the sound played when filling a bucket with the fluid contained in this block.
      Specified by:
      getBucketFillSound in interface FluidDrainable
      See Also:
      Fluid.getBucketFillSound()
      Mappings:
      Namespace Name Mixin selector
      official c Lbwz;c()Ljava/util/Optional;
      intermediary method_32351 Lnet/minecraft/class_2263;method_32351()Ljava/util/Optional;
      named getBucketFillSound Lnet/minecraft/block/FluidDrainable;getBucketFillSound()Ljava/util/Optional;