类 SnowBlock

  • 所有已实现的接口:
    ItemConvertible

    public class SnowBlock
    extends Block
    Mappings:
    Namespace Name
    official cfa
    intermediary net/minecraft/class_2488
    named net/minecraft/block/SnowBlock
    • 字段详细资料

      • field_31247

        public static final int field_31247
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lcfa;a:I
        intermediary field_31247 Lnet/minecraft/class_2488;field_31247:I
        named field_31247 Lnet/minecraft/block/SnowBlock;field_31247:I
      • LAYERS

        public static final IntProperty LAYERS
        Mappings:
        Namespace Name Mixin selector
        official b Lcfa;b:Lckr;
        intermediary field_11518 Lnet/minecraft/class_2488;field_11518:Lnet/minecraft/class_2758;
        named LAYERS Lnet/minecraft/block/SnowBlock;LAYERS:Lnet/minecraft/state/property/IntProperty;
      • LAYERS_TO_SHAPE

        protected static final VoxelShape[] LAYERS_TO_SHAPE
        Mappings:
        Namespace Name Mixin selector
        official c Lcfa;c:[Ldmt;
        intermediary field_11517 Lnet/minecraft/class_2488;field_11517:[Lnet/minecraft/class_265;
        named LAYERS_TO_SHAPE Lnet/minecraft/block/SnowBlock;LAYERS_TO_SHAPE:[Lnet/minecraft/util/shape/VoxelShape;
      • field_31248

        public static final int field_31248
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official d Lcfa;d:I
        intermediary field_31248 Lnet/minecraft/class_2488;field_31248:I
        named field_31248 Lnet/minecraft/block/SnowBlock;field_31248:I
    • 构造器详细资料

      • SnowBlock

        protected SnowBlock​(AbstractBlock.Settings settings)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcjq;<init>(Lcjq$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
    • 方法详细资料

      • canPathfindThrough

        public boolean canPathfindThrough​(BlockState state,
                                          BlockView world,
                                          BlockPos pos,
                                          NavigationType type)
        覆盖:
        canPathfindThrough 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbuv;Lgb;Ldgb;)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
      • getOutlineShape

        public VoxelShape getOutlineShape​(BlockState state,
                                          BlockView world,
                                          BlockPos pos,
                                          ShapeContext context)
        覆盖:
        getOutlineShape 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;
        intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
        named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
      • getCollisionShape

        public VoxelShape getCollisionShape​(BlockState state,
                                            BlockView world,
                                            BlockPos pos,
                                            ShapeContext context)
        覆盖:
        getCollisionShape 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official c Lcjq;c(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;
        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;
      • getSidesShape

        public VoxelShape getSidesShape​(BlockState state,
                                        BlockView world,
                                        BlockPos pos)
        覆盖:
        getSidesShape 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official e Lcjq;e(Lcjr;Lbuv;Lgb;)Ldmt;
        intermediary method_25959 Lnet/minecraft/class_4970;method_25959(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
        named getSidesShape Lnet/minecraft/block/AbstractBlock;getSidesShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
      • getCameraCollisionShape

        public VoxelShape getCameraCollisionShape​(BlockState state,
                                                  BlockView world,
                                                  BlockPos pos,
                                                  ShapeContext context)
        覆盖:
        getCameraCollisionShape 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official b Lcjq;b(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;
        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;
      • hasSidedTransparency

        public boolean hasSidedTransparency​(BlockState state)
        覆盖:
        hasSidedTransparency 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official f_ Lcjq;f_(Lcjr;)Z
        intermediary method_9526 Lnet/minecraft/class_4970;method_9526(Lnet/minecraft/class_2680;)Z
        named hasSidedTransparency Lnet/minecraft/block/AbstractBlock;hasSidedTransparency(Lnet/minecraft/block/BlockState;)Z
      • canPlaceAt

        public boolean canPlaceAt​(BlockState state,
                                  WorldView world,
                                  BlockPos pos)
        覆盖:
        canPlaceAt 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbvu;Lgb;)Z
        intermediary method_9558 Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
        named canPlaceAt Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
      • getStateForNeighborUpdate

        public BlockState getStateForNeighborUpdate​(BlockState state,
                                                    Direction direction,
                                                    BlockState neighborState,
                                                    WorldAccess world,
                                                    BlockPos pos,
                                                    BlockPos neighborPos)
        Gets the possibly updated block state of this block when a neighboring block is updated.
        覆盖:
        getStateForNeighborUpdate 在类中 AbstractBlock
        参数:
        state - the state of this block
        direction - the direction from this block to the neighbor
        neighborState - the state of the updated neighbor block
        world - the world
        pos - the position of this block
        neighborPos - the position of the neighbor block
        返回:
        the new state of this block
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lgg;Lcjr;Lbvs;Lgb;Lgb;)Lcjr;
        intermediary method_9559 Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
        named getStateForNeighborUpdate Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
      • randomTick

        public void randomTick​(BlockState state,
                               ServerWorld world,
                               BlockPos pos,
                               Random random)
        覆盖:
        randomTick 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official b Lcjq;b(Lcjr;Labj;Lgb;Ljava/util/Random;)V
        intermediary method_9514 Lnet/minecraft/class_4970;method_9514(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)V
        named randomTick Lnet/minecraft/block/AbstractBlock;randomTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
      • canReplace

        public boolean canReplace​(BlockState state,
                                  ItemPlacementContext context)
        覆盖:
        canReplace 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbrr;)Z
        intermediary method_9616 Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Z
        named canReplace Lnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)Z
      • getPlacementState

        @Nullable
        public @Nullable BlockState getPlacementState​(ItemPlacementContext ctx)
        覆盖:
        getPlacementState 在类中 Block
        Mappings:
        Namespace Name Mixin selector
        official a Lbyq;a(Lbrr;)Lcjr;
        intermediary method_9605 Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
        named getPlacementState Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
      • appendProperties

        protected void appendProperties​(StateManager.Builder<Block,​BlockState> builder)
        覆盖:
        appendProperties 在类中 Block
        Mappings:
        Namespace Name Mixin selector
        official a Lbyq;a(Lcjs$a;)V
        intermediary method_9515 Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
        named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V