Package net.minecraft.block
Class CoralParentBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.CoralParentBlock
- All Implemented Interfaces:
FluidFillable,class_3695,Itemable
- Direct Known Subclasses:
class_3688,class_3701,DeadCoralFanBlock
- Mappings:
Namespace Name official bckintermediary net/minecraft/class_3689named net/minecraft/block/CoralParentBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockSoundGroup, collidable, hardness, lightLevel, LOGGER, material, materialColor, randomTicks, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) booleancanFillWithFluid(BlockView blockView, BlockPos blockPos, BlockState blockState, Fluid fluid) protected voidcheckLivingConditions(BlockState state, IWorld world, BlockPos pos) getFluidState(BlockState state) getOutlineShape(BlockState state, BlockView world, BlockPos pos) Returns the appropriate RenderLayer for a block.protected static booleanisInWater(BlockState blockState, BlockView blockView, BlockPos blockPos) booleanmethod_11562(BlockState state) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) method_16563(ItemPlacementContext itemPlacementContext) booleanmethod_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) method_16631(IWorld iWorld, BlockPos blockPos, BlockState blockState) intmethod_403(BlockState blockState, Random random) protected booleanbooleantryFillWithFluid(IWorld iWorld, BlockPos blockPos, BlockState blockState, FluidState fluidState) Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13703, method_13704, method_14308, method_14309, method_16564, method_16565, method_16566, method_16568, method_16569, method_16572, method_16573, method_16580, method_16582, method_16583, method_16584, method_16585, method_16586, method_16588, method_16592, method_16593, method_16596, method_16599, method_16600, method_397, method_400, method_410, method_414, method_416, method_420, method_421, method_435, method_8640, method_8650, method_8651, method_8653, method_8659, method_8661, method_8664, method_8668, method_8669, method_8674, onBlockBreak, onBreak, onBreakByPlayer, onDestroyedByExplosion, onLandedUpon, onPlaced, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, setDefaultState, setup, shouldDropItemsOnExplosion, toString, withMirror, withRotation
-
Field Details
-
WATERLOGGED
- Mappings:
Namespace Name Mixin selector official bLbck;b:Lbmb;intermediary field_17731Lnet/minecraft/class_3689;field_17731:Lnet/minecraft/class_2243;named WATERLOGGEDLnet/minecraft/block/CoralParentBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
-
SHAPE
- Mappings:
Namespace Name Mixin selector official aLbck;a:Lcew;intermediary field_17730Lnet/minecraft/class_3689;field_17730:Lnet/minecraft/class_4100;named SHAPELnet/minecraft/block/CoralParentBlock;SHAPE:Lnet/minecraft/util/shapes/VoxelShape;
-
-
Constructor Details
-
CoralParentBlock
- Mappings:
Namespace Name Mixin selector official <init>Lbcs;<init>(Lbcs$c;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
-
-
Method Details
-
checkLivingConditions
- Mappings:
Namespace Name Mixin selector official aLbck;a(Lblc;Laxz;Lel;)Vintermediary method_16552Lnet/minecraft/class_3689;method_16552(Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;)Vnamed checkLivingConditionsLnet/minecraft/block/CoralParentBlock;checkLivingConditions(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;)V
-
isInWater
- Mappings:
Namespace Name Mixin selector official b_Lbck;b_(Lblc;Laxk;Lel;)Zintermediary method_16553Lnet/minecraft/class_3689;method_16553(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Znamed isInWaterLnet/minecraft/block/CoralParentBlock;isInWater(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
requiresSilkTouch
protected boolean requiresSilkTouch()- Overrides:
requiresSilkTouchin classBlock- Mappings:
Namespace Name Mixin selector official X_Lbcs;X_()Zintermediary method_475Lnet/minecraft/class_197;method_475()Znamed requiresSilkTouchLnet/minecraft/block/Block;requiresSilkTouch()Z
-
method_403
- Overrides:
method_403in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Lnet/minecraft/class_2232;Ljava/util/Random;)Inamed method_403Lnet/minecraft/block/Block;method_403(Lnet/minecraft/block/BlockState;Ljava/util/Random;)I
-
method_16563
- Overrides:
method_16563in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lark;)Lblc;intermediary method_16563Lnet/minecraft/class_197;method_16563(Lnet/minecraft/class_3544;)Lnet/minecraft/class_2232;named method_16563Lnet/minecraft/block/Block;method_16563(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
getOutlineShape
- Overrides:
getOutlineShapein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;)Lcew;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;named getOutlineShapeLnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
getRenderLayerType
Returns the appropriate RenderLayer for a block. Only called on the client.- Overrides:
getRenderLayerTypein classBlock- Returns:
- The block's RenderLayer
- Mappings:
Namespace Name Mixin selector official cLbcs;c()Laxl;intermediary method_8687Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
-
method_14307
public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) - Overrides:
method_14307in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;intermediary method_14307Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;named method_14307Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;
-
method_16575
public BlockState method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) - Overrides:
method_16575in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Leq;Lblc;Laxz;Lel;Lel;)Lblc;intermediary method_16575Lnet/minecraft/class_197;method_16575(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;named method_16575Lnet/minecraft/block/Block;method_16575(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
method_16570
public boolean method_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) - Overrides:
method_16570in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Layc;Lel;)Zintermediary method_16570Lnet/minecraft/class_197;method_16570(Lnet/minecraft/class_2232;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Znamed method_16570Lnet/minecraft/block/Block;method_16570(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lble$a;)Vintermediary method_16576Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
getFluidState
- Overrides:
getFluidStatein classBlock- Mappings:
Namespace Name Mixin selector official hLbcs;h(Lblc;)Lbyw;intermediary method_16594Lnet/minecraft/class_197;method_16594(Lnet/minecraft/class_2232;)Lnet/minecraft/class_4024;named getFluidStateLnet/minecraft/block/Block;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
-
method_16631
- Specified by:
method_16631in interfaceclass_3695- Mappings:
Namespace Name Mixin selector official aLbcz;a(Laxz;Lel;Lblc;)Lbyv;intermediary method_16631Lnet/minecraft/class_3695;method_16631(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_4023;named method_16631Lnet/minecraft/class_3695;method_16631(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/Fluid;
-
canFillWithFluid
public boolean canFillWithFluid(BlockView blockView, BlockPos blockPos, BlockState blockState, Fluid fluid) - Specified by:
canFillWithFluidin interfaceFluidFillable- Mappings:
Namespace Name Mixin selector official aLbfv;a(Laxk;Lel;Lblc;Lbyv;)Zintermediary method_16700Lnet/minecraft/class_3711;method_16700(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_4023;)Znamed canFillWithFluidLnet/minecraft/block/FluidFillable;canFillWithFluid(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/Fluid;)Z
-
tryFillWithFluid
public boolean tryFillWithFluid(IWorld iWorld, BlockPos blockPos, BlockState blockState, FluidState fluidState) - Specified by:
tryFillWithFluidin interfaceFluidFillable- Mappings:
Namespace Name Mixin selector official aLbfv;a(Laxz;Lel;Lblc;Lbyw;)Zintermediary method_16701Lnet/minecraft/class_3711;method_16701(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_4024;)Znamed tryFillWithFluidLnet/minecraft/block/FluidFillable;tryFillWithFluid(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)Z
-