Package net.minecraft.block
Class DoublePlantBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.DoublePlantBlock
- All Implemented Interfaces:
Itemable
- Direct Known Subclasses:
class_3721,class_3729
- Mappings:
Namespace Name official beeintermediary net/minecraft/class_1755named net/minecraft/block/DoublePlantBlock
-
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) Returns the block's offset type.longgetRenderingSeed(BlockState state, BlockPos pos) method_16563(ItemPlacementContext itemPlacementContext) method_16568(BlockState blockState, World world, BlockPos blockPos, int int2) booleanmethod_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) voidmethod_16669(IWorld iWorld, BlockPos blockPos, int int2) protected voidmethod_16670(BlockState blockState, World world, BlockPos blockPos, ItemStack itemStack) voidmethod_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack stack) voidonBreakByPlayer(World world, BlockPos pos, BlockState state, PlayerEntity player) Runs when the block is broken by a player.voidonPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entityMethods inherited from class net.minecraft.block.PlantBlock
getLightSubtracted, getRenderLayerType, method_11562, method_14307, method_16634Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getFluidState, getHardness, getItem, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOutlineShape, getPistonBehavior, getRawIdFromState, getRayTraceShape, 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_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_403, method_410, method_414, method_416, method_420, method_421, method_435, method_8640, method_8650, method_8653, method_8659, method_8661, method_8664, method_8668, method_8669, method_8674, onBlockBreak, onBreak, onDestroyedByExplosion, onLandedUpon, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString, withMirror, withRotation
-
Field Details
-
field_18302
- Mappings:
Namespace Name Mixin selector official aLbee;a:Lbmh;intermediary field_18302Lnet/minecraft/class_1755;field_18302:Lnet/minecraft/class_2245;named field_18302Lnet/minecraft/block/DoublePlantBlock;field_18302:Lnet/minecraft/state/property/EnumProperty;
-
-
Constructor Details
-
DoublePlantBlock
- 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
-
method_16575
public BlockState method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) - Overrides:
method_16575in classPlantBlock- 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_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;
-
onPlaced
public void onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entity- Overrides:
onPlacedin classBlock- Parameters:
world- The world that the block is inpos- The block's positionstate- The block's BlockStateplacer- The entity who placed the blockitemStack- ItemStack instance- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Lel;Lblc;Lafa;Late;)Vintermediary method_419Lnet/minecraft/class_197;method_419(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_1699;Lnet/minecraft/class_1071;)Vnamed onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
-
method_16570
public boolean method_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) - Overrides:
method_16570in classPlantBlock- 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
-
method_16669
- Mappings:
Namespace Name Mixin selector official aLbee;a(Laxz;Lel;I)Vintermediary method_16669Lnet/minecraft/class_1755;method_16669(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;I)Vnamed method_16669Lnet/minecraft/block/DoublePlantBlock;method_16669(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;I)V
-
method_8651
public void method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) - Overrides:
method_8651in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Laog;Lel;Lblc;Lbji;Late;)Vintermediary method_8651Lnet/minecraft/class_197;method_8651(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_226;Lnet/minecraft/class_1071;)Vnamed method_8651Lnet/minecraft/block/Block;method_8651(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/item/ItemStack;)V
-
onBreakByPlayer
Runs when the block is broken by a player.- Overrides:
onBreakByPlayerin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStateplayer- The player who broke the block- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Lel;Lblc;Laog;)Vintermediary method_8644Lnet/minecraft/class_197;method_8644(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;)Vnamed onBreakByPlayerLnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
-
method_16670
protected void method_16670(BlockState blockState, World world, BlockPos blockPos, ItemStack itemStack) - Mappings:
Namespace Name Mixin selector official aLbee;a(Lblc;Laxy;Lel;Late;)Vintermediary method_16670Lnet/minecraft/class_1755;method_16670(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1071;)Vnamed method_16670Lnet/minecraft/block/DoublePlantBlock;method_16670(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;)V
-
method_16568
- Overrides:
method_16568in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;I)Laxx;intermediary method_16568Lnet/minecraft/class_197;method_16568(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;I)Lnet/minecraft/class_3597;named method_16568Lnet/minecraft/block/Block;method_16568(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/item/Itemable;
-
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
-
getOffsetType
Returns the block's offset type. Used by grass and flowers.- Overrides:
getOffsetTypein classBlock- Returns:
- The block's offset type
- Mappings:
Namespace Name Mixin selector official qLbcs;q()Lbcs$b;intermediary method_8634Lnet/minecraft/class_197;method_8634()Lnet/minecraft/class_197$class_2177;named getOffsetTypeLnet/minecraft/block/Block;getOffsetType()Lnet/minecraft/block/Block$OffsetType;
-
getRenderingSeed
- Overrides:
getRenderingSeedin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Lel;)Jintermediary method_16574Lnet/minecraft/class_197;method_16574(Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;)Jnamed getRenderingSeedLnet/minecraft/block/Block;getRenderingSeed(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)J
-