类 BubbleColumnBlock

  • 所有已实现的接口:
    FluidDrainable, ItemConvertible

    public class BubbleColumnBlock
    extends Block
    implements FluidDrainable
    Mappings:
    Namespace Name
    official byu
    intermediary net/minecraft/class_2258
    named net/minecraft/block/BubbleColumnBlock
    • 字段详细资料

      • DRAG

        public static final BooleanProperty DRAG
        Mappings:
        Namespace Name Mixin selector
        official a Lbyu;a:Lcki;
        intermediary field_10680 Lnet/minecraft/class_2258;field_10680:Lnet/minecraft/class_2746;
        named DRAG Lnet/minecraft/block/BubbleColumnBlock;DRAG:Lnet/minecraft/state/property/BooleanProperty;
      • field_31038

        private static final int field_31038
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lbyu;b:I
        intermediary field_31038 Lnet/minecraft/class_2258;field_31038:I
        named field_31038 Lnet/minecraft/block/BubbleColumnBlock;field_31038:I
    • 构造器详细资料

      • BubbleColumnBlock

        public BubbleColumnBlock​(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
    • 方法详细资料

      • onEntityCollision

        public void onEntityCollision​(BlockState state,
                                      World world,
                                      BlockPos pos,
                                      Entity entity)
        覆盖:
        onEntityCollision 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official a Lcjq;a(Lcjr;Lbvr;Lgb;Lasl;)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
      • scheduledTick

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

        public FluidState getFluidState​(BlockState state)
        覆盖:
        getFluidState 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official c_ Lcjq;c_(Lcjr;)Ldds;
        intermediary method_9545 Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;
        named getFluidState Lnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
      • update

        public static void update​(WorldAccess world,
                                  BlockPos pos,
                                  BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official b Lbyu;b(Lbvs;Lgb;Lcjr;)V
        intermediary method_34268 Lnet/minecraft/class_2258;method_34268(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
        named update Lnet/minecraft/block/BubbleColumnBlock;update(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      • update

        public static void update​(WorldAccess world,
                                  BlockPos pos,
                                  BlockState water,
                                  BlockState bubbleSource)
        Mappings:
        Namespace Name Mixin selector
        official a Lbyu;a(Lbvs;Lgb;Lcjr;Lcjr;)V
        intermediary method_34267 Lnet/minecraft/class_2258;method_34267(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)V
        named update Lnet/minecraft/block/BubbleColumnBlock;update(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)V
      • isStillWater

        private static boolean isStillWater​(BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official h Lbyu;h(Lcjr;)Z
        intermediary method_9658 Lnet/minecraft/class_2258;method_9658(Lnet/minecraft/class_2680;)Z
        named isStillWater Lnet/minecraft/block/BubbleColumnBlock;isStillWater(Lnet/minecraft/block/BlockState;)Z
      • getBubbleState

        private static BlockState getBubbleState​(BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official n Lbyu;n(Lcjr;)Lcjr;
        intermediary method_34269 Lnet/minecraft/class_2258;method_34269(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
        named getBubbleState Lnet/minecraft/block/BubbleColumnBlock;getBubbleState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
      • randomDisplayTick

        public void randomDisplayTick​(BlockState state,
                                      World world,
                                      BlockPos pos,
                                      Random random)
        覆盖:
        randomDisplayTick 在类中 Block
        Mappings:
        Namespace Name Mixin selector
        official a Lbyq;a(Lcjr;Lbvr;Lgb;Ljava/util/Random;)V
        intermediary method_9496 Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/Random;)V
        named randomDisplayTick Lnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
      • 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;
      • 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
      • 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;
      • getRenderType

        public BlockRenderType getRenderType​(BlockState state)
        覆盖:
        getRenderType 在类中 AbstractBlock
        Mappings:
        Namespace Name Mixin selector
        official b_ Lcjq;b_(Lcjr;)Lced;
        intermediary method_9604 Lnet/minecraft/class_4970;method_9604(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2464;
        named getRenderType Lnet/minecraft/block/AbstractBlock;getRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
      • 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
      • tryDrainFluid

        public ItemStack tryDrainFluid​(WorldAccess world,
                                       BlockPos pos,
                                       BlockState state)
        指定者:
        tryDrainFluid 在接口中 FluidDrainable
        Mappings:
        Namespace Name Mixin selector
        official c Lbyv;c(Lbvs;Lgb;Lcjr;)Lbpr;
        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.
        指定者:
        getBucketFillSound 在接口中 FluidDrainable
        另请参阅:
        Fluid.getBucketFillSound()
        Mappings:
        Namespace Name Mixin selector
        official c Lbyv;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;