Class PowderSnowBlock

All Implemented Interfaces:
FluidDrainable, ItemConvertible

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

    • field_31216

      private static final float field_31216
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcia;a:F
      intermediary field_31216 Lnet/minecraft/class_5635;field_31216:F
      named field_31216 Lnet/minecraft/block/PowderSnowBlock;field_31216:F
    • HORIZONTAL_MOVEMENT_MULTIPLIER

      private static final float HORIZONTAL_MOVEMENT_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcia;b:F
      intermediary field_31217 Lnet/minecraft/class_5635;field_31217:F
      named HORIZONTAL_MOVEMENT_MULTIPLIER Lnet/minecraft/block/PowderSnowBlock;HORIZONTAL_MOVEMENT_MULTIPLIER:F
    • VERTICAL_MOVEMENT_MULTIPLIER

      private static final float VERTICAL_MOVEMENT_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcia;c:F
      intermediary field_31218 Lnet/minecraft/class_5635;field_31218:F
      named VERTICAL_MOVEMENT_MULTIPLIER Lnet/minecraft/block/PowderSnowBlock;VERTICAL_MOVEMENT_MULTIPLIER:F
    • field_31219

      private static final float field_31219
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lcia;d:F
      intermediary field_31219 Lnet/minecraft/class_5635;field_31219:F
      named field_31219 Lnet/minecraft/block/PowderSnowBlock;field_31219:F
    • FALLING_SHAPE

      private static final VoxelShape FALLING_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official e Lcia;e:Ldpf;
      intermediary field_31220 Lnet/minecraft/class_5635;field_31220:Lnet/minecraft/class_265;
      named FALLING_SHAPE Lnet/minecraft/block/PowderSnowBlock;FALLING_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • field_36189

      private static final double field_36189
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lcia;f:D
      intermediary field_36189 Lnet/minecraft/class_5635;field_36189:D
      named field_36189 Lnet/minecraft/block/PowderSnowBlock;field_36189:D
    • SMALL_FALL_SOUND_MAX_DISTANCE

      private static final double SMALL_FALL_SOUND_MAX_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lcia;g:D
      intermediary field_36190 Lnet/minecraft/class_5635;field_36190:D
      named SMALL_FALL_SOUND_MAX_DISTANCE Lnet/minecraft/block/PowderSnowBlock;SMALL_FALL_SOUND_MAX_DISTANCE:D
  • Constructor Details

    • PowderSnowBlock

      public PowderSnowBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcob;<init>(Lcob$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

      public boolean isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)
      Overrides:
      isSideInvisible in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lcoc;Lgm;)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 b_ Lcob;b_(Lcoc;Lbzj;Lgh;)Ldpf;
      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 Lcob;a(Lcoc;Lcad;Lgh;Lawt;)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
    • onLandedUpon

      public void onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance)
      Overrides:
      onLandedUpon in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lccy;a(Lcad;Lcoc;Lgh;Lawt;F)V
      intermediary method_9554 Lnet/minecraft/class_2248;method_9554(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;F)V
      named onLandedUpon Lnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;F)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 Lcob;c(Lcoc;Lbzj;Lgh;Ldor;)Ldpf;
      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;
    • getCameraCollisionShape

      public VoxelShape getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getCameraCollisionShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official b Lcob;b(Lcoc;Lbzj;Lgh;Ldor;)Ldpf;
      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 getCameraCollisionShape Lnet/minecraft/block/AbstractBlock;getCameraCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • canWalkOnPowderSnow

      public static boolean canWalkOnPowderSnow(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcia;a(Lawt;)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 c Lcdd;c(Lcae;Lgh;Lcoc;)Lbue;
      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
      Returns:
      the sound played when filling a bucket with the fluid contained in this block
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official W_ Lcdd;W_()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;
    • canPathfindThrough

      public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
      Overrides:
      canPathfindThrough in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lbzj;Lgh;Ldim;)Z
      intermediary method_9516 Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_10;)Z
      named canPathfindThrough Lnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z