Class class_10322
- All Implemented Interfaces:
Fertilizable,ItemConvertible,ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/class_10322intermediary net/minecraft/class_10322official dpe
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>Nested classes/interfaces inherited from interface net.minecraft.block.Fertilizable
Fertilizable.FertilizableType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate final Map<BlockState, VoxelShape> static final com.mojang.serialization.MapCodec<class_10322> static final BooleanPropertyprivate static final EnumProperty<WallShape> private static final EnumProperty<WallShape> private static final EnumProperty<WallShape> private static final EnumProperty<WallShape> private static final Map<Direction, EnumProperty<WallShape>> private static final floatprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final intprivate static final VoxelShapeFields inherited from class net.minecraft.block.Block
CODEC, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.booleancanGrow(World world, Random random, BlockPos pos, BlockState state) protected booleancanPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.com.mojang.serialization.MapCodec<class_10322> getCodec()protected VoxelShapegetCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapegetCullingShape(BlockState state) protected VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected BlockStategetStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.voidgrow(ServerWorld world, Random random, BlockPos pos, BlockState state) booleanisFertilizable(WorldView world, BlockPos pos, BlockState state) protected booleanisTransparent(BlockState state) private static BlockStatemethod_64790(BlockView blockView, BlockPos blockPos, BooleanSupplier booleanSupplier) private static booleanmethod_64791(BlockView blockView, BlockPos blockPos, Direction direction) static voidmethod_64792(WorldAccess worldAccess, BlockPos blockPos, Random random, int int2) private static BlockStatemethod_64793(BlockState blockState, BlockView blockView, BlockPos blockPos, boolean bool) static @Nullable EnumProperty<WallShape> method_64795(Direction direction) private static VoxelShapemethod_64797(BlockState blockState) private static booleanmethod_64799(BlockState blockState) protected BlockStatemirror(BlockState state, BlockMirror mirror) Returnsstatemirrored bymirror.voidonPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.protected BlockStaterotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.Methods inherited from class net.minecraft.block.Block
afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, randomTick, scheduledTickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.Fertilizable
getFertilizableType, getFertilizeParticlePosMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
field_54755
- Mappings:
Namespace Name Mixin selector named field_54755Lnet/minecraft/class_10322;field_54755:Lcom/mojang/serialization/MapCodec;intermediary field_54755Lnet/minecraft/class_10322;field_54755:Lcom/mojang/serialization/MapCodec;official aLdpe;a:Lcom/mojang/serialization/MapCodec;
-
field_54756
- Mappings:
Namespace Name Mixin selector named field_54756Lnet/minecraft/class_10322;field_54756:Lnet/minecraft/state/property/BooleanProperty;intermediary field_54756Lnet/minecraft/class_10322;field_54756:Lnet/minecraft/class_2746;official bLdpe;b:Ldye;
-
field_54757
- Mappings:
Namespace Name Mixin selector named field_54757Lnet/minecraft/class_10322;field_54757:Lnet/minecraft/state/property/EnumProperty;intermediary field_54757Lnet/minecraft/class_10322;field_54757:Lnet/minecraft/class_2754;official cLdpe;c:Ldyk;
-
field_54758
- Mappings:
Namespace Name Mixin selector named field_54758Lnet/minecraft/class_10322;field_54758:Lnet/minecraft/state/property/EnumProperty;intermediary field_54758Lnet/minecraft/class_10322;field_54758:Lnet/minecraft/class_2754;official dLdpe;d:Ldyk;
-
field_54759
- Mappings:
Namespace Name Mixin selector named field_54759Lnet/minecraft/class_10322;field_54759:Lnet/minecraft/state/property/EnumProperty;intermediary field_54759Lnet/minecraft/class_10322;field_54759:Lnet/minecraft/class_2754;official eLdpe;e:Ldyk;
-
field_54760
- Mappings:
Namespace Name Mixin selector named field_54760Lnet/minecraft/class_10322;field_54760:Lnet/minecraft/state/property/EnumProperty;intermediary field_54760Lnet/minecraft/class_10322;field_54760:Lnet/minecraft/class_2754;official fLdpe;f:Ldyk;
-
field_54761
- Mappings:
Namespace Name Mixin selector named field_54761Lnet/minecraft/class_10322;field_54761:Ljava/util/Map;intermediary field_54761Lnet/minecraft/class_10322;field_54761:Ljava/util/Map;official gLdpe;g:Ljava/util/Map;
-
field_54762
private static final float field_54762- See Also:
- Mappings:
Namespace Name Mixin selector named field_54762Lnet/minecraft/class_10322;field_54762:Fintermediary field_54762Lnet/minecraft/class_10322;field_54762:Fofficial hLdpe;h:F
-
field_54763
- Mappings:
Namespace Name Mixin selector named field_54763Lnet/minecraft/class_10322;field_54763:Lnet/minecraft/util/shape/VoxelShape;intermediary field_54763Lnet/minecraft/class_10322;field_54763:Lnet/minecraft/class_265;official iLdpe;i:Lfcm;
-
field_54764
- Mappings:
Namespace Name Mixin selector named field_54764Lnet/minecraft/class_10322;field_54764:Lnet/minecraft/util/shape/VoxelShape;intermediary field_54764Lnet/minecraft/class_10322;field_54764:Lnet/minecraft/class_265;official jLdpe;j:Lfcm;
-
field_54765
- Mappings:
Namespace Name Mixin selector named field_54765Lnet/minecraft/class_10322;field_54765:Lnet/minecraft/util/shape/VoxelShape;intermediary field_54765Lnet/minecraft/class_10322;field_54765:Lnet/minecraft/class_265;official kLdpe;k:Lfcm;
-
field_54766
- Mappings:
Namespace Name Mixin selector named field_54766Lnet/minecraft/class_10322;field_54766:Lnet/minecraft/util/shape/VoxelShape;intermediary field_54766Lnet/minecraft/class_10322;field_54766:Lnet/minecraft/class_265;official lLdpe;l:Lfcm;
-
field_54767
- Mappings:
Namespace Name Mixin selector named field_54767Lnet/minecraft/class_10322;field_54767:Lnet/minecraft/util/shape/VoxelShape;intermediary field_54767Lnet/minecraft/class_10322;field_54767:Lnet/minecraft/class_265;official mLdpe;m:Lfcm;
-
field_54768
private static final int field_54768- See Also:
- Mappings:
Namespace Name Mixin selector named field_54768Lnet/minecraft/class_10322;field_54768:Iintermediary field_54768Lnet/minecraft/class_10322;field_54768:Iofficial nLdpe;n:I
-
field_54769
- Mappings:
Namespace Name Mixin selector named field_54769Lnet/minecraft/class_10322;field_54769:Lnet/minecraft/util/shape/VoxelShape;intermediary field_54769Lnet/minecraft/class_10322;field_54769:Lnet/minecraft/class_265;official oLdpe;o:Lfcm;
-
field_54751
- Mappings:
Namespace Name Mixin selector named field_54751Lnet/minecraft/class_10322;field_54751:Lnet/minecraft/util/shape/VoxelShape;intermediary field_54751Lnet/minecraft/class_10322;field_54751:Lnet/minecraft/class_265;official GLdpe;G:Lfcm;
-
field_54752
- Mappings:
Namespace Name Mixin selector named field_54752Lnet/minecraft/class_10322;field_54752:Lnet/minecraft/util/shape/VoxelShape;intermediary field_54752Lnet/minecraft/class_10322;field_54752:Lnet/minecraft/class_265;official HLdpe;H:Lfcm;
-
field_54753
- Mappings:
Namespace Name Mixin selector named field_54753Lnet/minecraft/class_10322;field_54753:Lnet/minecraft/util/shape/VoxelShape;intermediary field_54753Lnet/minecraft/class_10322;field_54753:Lnet/minecraft/class_265;official ILdpe;I:Lfcm;
-
field_54754
- Mappings:
Namespace Name Mixin selector named field_54754Lnet/minecraft/class_10322;field_54754:Ljava/util/Map;intermediary field_54754Lnet/minecraft/class_10322;field_54754:Ljava/util/Map;official JLdpe;J:Ljava/util/Map;
-
-
Constructor Details
-
class_10322
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vofficial <init>Ldxm;<init>(Ldxm$d;)V
-
-
Method Details
-
getCodec
- Overrides:
getCodecin classBlock- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_53969Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;official aLdxm;a()Lcom/mojang/serialization/MapCodec;
-
getCullingShape
- Overrides:
getCullingShapein classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector named getCullingShapeLnet/minecraft/block/AbstractBlock;getCullingShape(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;intermediary method_9571Lnet/minecraft/class_4970;method_9571(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;official d_Ldxm;d_(Ldxn;)Lfcm;
-
method_64797
- Mappings:
Namespace Name Mixin selector named method_64797Lnet/minecraft/class_10322;method_64797(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;intermediary method_64797Lnet/minecraft/class_10322;method_64797(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;official oLdpe;o(Ldxn;)Lfcm;
-
getOutlineShape
protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShapein classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector named getOutlineShapeLnet/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;intermediary method_9530Lnet/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;official aLdxm;a(Ldxn;Ldgf;Ljh;Lfbx;)Lfcm;
-
getCollisionShape
protected VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getCollisionShapein classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector named getCollisionShapeLnet/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;intermediary method_9549Lnet/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;official bLdxm;b(Ldxn;Ldgf;Ljh;Lfbx;)Lfcm;
-
isTransparent
- Overrides:
isTransparentin classAbstractBlock- Mappings:
Namespace Name Mixin selector named isTransparentLnet/minecraft/block/AbstractBlock;isTransparent(Lnet/minecraft/block/BlockState;)Zintermediary method_9579Lnet/minecraft/class_4970;method_9579(Lnet/minecraft/class_2680;)Zofficial e_Ldxm;e_(Ldxn;)Z
-
canPlaceAt
Returns whether the block can be placed atpos.Blocks with supporting block requirements should override this method. Note that this should also be checked manually during
getStateForNeighborUpdate(net.minecraft.block.BlockState, net.minecraft.world.WorldView, net.minecraft.world.tick.ScheduledTickView, net.minecraft.util.math.BlockPos, net.minecraft.util.math.Direction, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.util.math.random.Random)in order to break the block that lost its supporting block.This is only checked during the use of block items or by endermen, falling blocks, etc that can place blocks. This does not affect block state changes performed through
World.setBlockState(BlockPos, BlockState)call.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using
World.isClient.- Overrides:
canPlaceAtin classAbstractBlock- Returns:
- whether the block can be placed at
pos - See Also:
- Mappings:
Namespace Name Mixin selector named canPlaceAtLnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_9558Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Zofficial aLdxm;a(Ldxn;Ldhd;Ljh;)Z
-
method_64799
- Mappings:
Namespace Name Mixin selector named method_64799Lnet/minecraft/class_10322;method_64799(Lnet/minecraft/block/BlockState;)Zintermediary method_64799Lnet/minecraft/class_10322;method_64799(Lnet/minecraft/class_2680;)Zofficial qLdpe;q(Ldxn;)Z
-
method_64791
- Mappings:
Namespace Name Mixin selector named method_64791Lnet/minecraft/class_10322;method_64791(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Zintermediary method_64791Lnet/minecraft/class_10322;method_64791(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Zofficial aLdpe;a(Ldgf;Ljh;Ljm;)Z
-
method_64793
private static BlockState method_64793(BlockState blockState, BlockView blockView, BlockPos blockPos, boolean bool) - Mappings:
Namespace Name Mixin selector named method_64793Lnet/minecraft/class_10322;method_64793(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Z)Lnet/minecraft/block/BlockState;intermediary method_64793Lnet/minecraft/class_10322;method_64793(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Z)Lnet/minecraft/class_2680;official aLdpe;a(Ldxn;Ldgf;Ljh;Z)Ldxn;
-
getPlacementState
- Overrides:
getPlacementStatein classBlock- Mappings:
Namespace Name Mixin selector named getPlacementStateLnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;intermediary method_9605Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;official aLdke;a(Ldbb;)Ldxn;
-
method_64792
public static void method_64792(WorldAccess worldAccess, BlockPos blockPos, Random random, int int2) - Mappings:
Namespace Name Mixin selector named method_64792Lnet/minecraft/class_10322;method_64792(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;I)Vintermediary method_64792Lnet/minecraft/class_10322;method_64792(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;I)Vofficial aLdpe;a(Ldhb;Ljh;Lbam;I)V
-
onPlaced
public void onPlaced(World world, BlockPos pos, BlockState state, @Nullable @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.Tall or wide blocks (such as doors or beds) should override this to place the other half of the block. Blocks with block entities can use this to copy the data from the item stack, such as the custom name.
This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using
World.isClient.- Overrides:
onPlacedin classBlock- See Also:
- Mappings:
Namespace Name Mixin selector named 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;)Vintermediary method_9567Lnet/minecraft/class_2248;method_9567(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;)Vofficial aLdke;a(Ldha;Ljh;Ldxn;Lbwb;Lcxk;)V
-
method_64790
private static BlockState method_64790(BlockView blockView, BlockPos blockPos, BooleanSupplier booleanSupplier) - Mappings:
Namespace Name Mixin selector named method_64790Lnet/minecraft/class_10322;method_64790(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Ljava/util/function/BooleanSupplier;)Lnet/minecraft/block/BlockState;intermediary method_64790Lnet/minecraft/class_10322;method_64790(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Ljava/util/function/BooleanSupplier;)Lnet/minecraft/class_2680;official aLdpe;a(Ldgf;Ljh;Ljava/util/function/BooleanSupplier;)Ldxn;
-
getStateForNeighborUpdate
protected BlockState getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.Returning
breaks the block. This is useful to implement supporting block requirement for blocks (if used along withinvalid reference
Blocks#AIRcanPlaceAt(net.minecraft.block.BlockState, net.minecraft.world.WorldView, net.minecraft.util.math.BlockPos)).Side effects like activating a redstone component (but not scheduling a tick) should be performed in
AbstractBlock.neighborUpdate(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.Block, net.minecraft.world.block.WireOrientation, boolean)instead. If the block supports waterlogging and currently has water, this method should be overridden to tick the fluid at the block's position.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using
World.isClient. This is not called ifBlock.FORCE_STATEflag is set in thesetBlockStatecall.This method can be used for multiple purposes. Here are some examples:
-
uses it to update the fence's connection when a horizontally neighboring block's state is changed.
invalid reference
FenceBlock -
uses it to break the plant if the state change causes it to lose its supporting block.
invalid reference
PlantBlock -
uses it to copy the state of the other half of the door.
invalid reference
DoorBlock -
uses it to schedule the fluid to tick if waterlogged.
invalid reference
SlabBlock -
uses it to schedule the water block above to tick so that it becomes a bubble column.
invalid reference
SoulSandBlock -
uses it to schedule the block to tick so that it can fall if needed.
invalid reference
FallingBlock
- Overrides:
getStateForNeighborUpdatein classAbstractBlock- Parameters:
state- the state of this blockworld- the worldpos- the position of this blockdirection- the direction from this block to the neighborneighborPos- the position of the neighbor blockneighborState- the state of the updated neighbor block- Returns:
- the state of the block after a neighboring block's state change
- See Also:
- Mappings:
Namespace Name Mixin selector named getStateForNeighborUpdateLnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/world/tick/ScheduledTickView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/block/BlockState;intermediary method_9559Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_10225;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_5819;)Lnet/minecraft/class_2680;official aLdxm;a(Ldxn;Ldhd;Ldhp;Ljh;Ljm;Ljh;Ldxn;Lbam;)Ldxn;
-
-
appendProperties
Appends block state properties to this block. To use this, override and callStateManager.Builder.add(net.minecraft.state.property.Property<?>[])inside the method. SeePropertiesfor the list of pre-defined properties.- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector named appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)Vintermediary method_9515Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)Vofficial aLdke;a(Ldxo$a;)V
-
rotate
Returnsstaterotated byrotation.By default, this returns the provided block state.
- Overrides:
rotatein classAbstractBlock- Returns:
staterotated byrotation- See Also:
- Mappings:
Namespace Name Mixin selector named rotateLnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;intermediary method_9598Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;official aLdxm;a(Ldxn;Ldqu;)Ldxn;
-
mirror
Returnsstatemirrored bymirror.By default, this returns the provided block state.
- Overrides:
mirrorin classAbstractBlock- Returns:
statemirrored bymirror- See Also:
- Mappings:
Namespace Name Mixin selector named mirrorLnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;intermediary method_9569Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;official aLdxm;a(Ldxn;Ldpd;)Ldxn;
-
method_64795
- Mappings:
Namespace Name Mixin selector named method_64795Lnet/minecraft/class_10322;method_64795(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/state/property/EnumProperty;intermediary method_64795Lnet/minecraft/class_10322;method_64795(Lnet/minecraft/class_2350;)Lnet/minecraft/class_2754;official aLdpe;a(Ljm;)Ldyk;
-
isFertilizable
- Specified by:
isFertilizablein interfaceFertilizable- Mappings:
Namespace Name Mixin selector named isFertilizableLnet/minecraft/block/Fertilizable;isFertilizable(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Zintermediary method_9651Lnet/minecraft/class_2256;method_9651(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Zofficial bLdkh;b(Ldhd;Ljh;Ldxn;)Z
-
canGrow
- Specified by:
canGrowin interfaceFertilizable- Mappings:
Namespace Name Mixin selector named canGrowLnet/minecraft/block/Fertilizable;canGrow(Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Zintermediary method_9650Lnet/minecraft/class_2256;method_9650(Lnet/minecraft/class_1937;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Zofficial aLdkh;a(Ldha;Lbam;Ljh;Ldxn;)Z
-
grow
- Specified by:
growin interfaceFertilizable- Mappings:
Namespace Name Mixin selector named growLnet/minecraft/block/Fertilizable;grow(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_9652Lnet/minecraft/class_2256;method_9652(Lnet/minecraft/class_3218;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial aLdkh;a(Lash;Lbam;Ljh;Ldxn;)V
-