Class FenceGateBlock
- All Implemented Interfaces:
ItemConvertible
,ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/block/FenceGateBlock
intermediary net/minecraft/class_2349
official dnl
-
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>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<FenceGateBlock> static final BooleanProperty
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
static final BooleanProperty
static final BooleanProperty
private final WoodType
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
Fields inherited from class net.minecraft.block.HorizontalFacingBlock
FACING
Fields inherited from class net.minecraft.block.Block
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, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplier
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendProperties
(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.protected boolean
canPathfindThrough
(BlockState state, NavigationType type) Returns if an entity using navigation typetype
can navigate through this block.static boolean
canWallConnect
(BlockState state, Direction side) com.mojang.serialization.MapCodec
<FenceGateBlock> getCodec()
protected VoxelShape
getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
getCullingShape
(BlockState state) protected VoxelShape
getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShape
getSidesShape
(BlockState state, BlockView world, BlockPos pos) 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.private boolean
isWall
(BlockState state) protected void
neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected void
onExploded
(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected ActionResult
onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) Methods inherited from class net.minecraft.block.HorizontalFacingBlock
mirror, rotate
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, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSoundGroup, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, isTransparent, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUseWithItem, prepare, randomTick, scheduledTick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/block/FenceGateBlock;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_46351
Lnet/minecraft/class_2349;field_46351:Lcom/mojang/serialization/MapCodec;
official a
Ldnl;a:Lcom/mojang/serialization/MapCodec;
-
OPEN
- Mappings:
Namespace Name Mixin selector named OPEN
Lnet/minecraft/block/FenceGateBlock;OPEN:Lnet/minecraft/state/property/BooleanProperty;
intermediary field_11026
Lnet/minecraft/class_2349;field_11026:Lnet/minecraft/class_2746;
official b
Ldnl;b:Ldyl;
-
POWERED
- Mappings:
Namespace Name Mixin selector named POWERED
Lnet/minecraft/block/FenceGateBlock;POWERED:Lnet/minecraft/state/property/BooleanProperty;
intermediary field_11021
Lnet/minecraft/class_2349;field_11021:Lnet/minecraft/class_2746;
official c
Ldnl;c:Ldyl;
-
IN_WALL
- Mappings:
Namespace Name Mixin selector named IN_WALL
Lnet/minecraft/block/FenceGateBlock;IN_WALL:Lnet/minecraft/state/property/BooleanProperty;
intermediary field_11024
Lnet/minecraft/class_2349;field_11024:Lnet/minecraft/class_2746;
official d
Ldnl;d:Ldyl;
-
Z_AXIS_SHAPE
- Mappings:
Namespace Name Mixin selector named Z_AXIS_SHAPE
Lnet/minecraft/block/FenceGateBlock;Z_AXIS_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_11022
Lnet/minecraft/class_2349;field_11022:Lnet/minecraft/class_265;
official e
Ldnl;e:Lfcr;
-
X_AXIS_SHAPE
- Mappings:
Namespace Name Mixin selector named X_AXIS_SHAPE
Lnet/minecraft/block/FenceGateBlock;X_AXIS_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_11017
Lnet/minecraft/class_2349;field_11017:Lnet/minecraft/class_265;
official f
Ldnl;f:Lfcr;
-
IN_WALL_Z_AXIS_SHAPE
- Mappings:
Namespace Name Mixin selector named IN_WALL_Z_AXIS_SHAPE
Lnet/minecraft/block/FenceGateBlock;IN_WALL_Z_AXIS_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_11025
Lnet/minecraft/class_2349;field_11025:Lnet/minecraft/class_265;
official g
Ldnl;g:Lfcr;
-
IN_WALL_X_AXIS_SHAPE
- Mappings:
Namespace Name Mixin selector named IN_WALL_X_AXIS_SHAPE
Lnet/minecraft/block/FenceGateBlock;IN_WALL_X_AXIS_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_11016
Lnet/minecraft/class_2349;field_11016:Lnet/minecraft/class_265;
official h
Ldnl;h:Lfcr;
-
Z_AXIS_COLLISION_SHAPE
- Mappings:
Namespace Name Mixin selector named Z_AXIS_COLLISION_SHAPE
Lnet/minecraft/block/FenceGateBlock;Z_AXIS_COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_11028
Lnet/minecraft/class_2349;field_11028:Lnet/minecraft/class_265;
official i
Ldnl;i:Lfcr;
-
X_AXIS_COLLISION_SHAPE
- Mappings:
Namespace Name Mixin selector named X_AXIS_COLLISION_SHAPE
Lnet/minecraft/block/FenceGateBlock;X_AXIS_COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_11019
Lnet/minecraft/class_2349;field_11019:Lnet/minecraft/class_265;
official j
Ldnl;j:Lfcr;
-
Z_AXIS_SIDES_SHAPE
- Mappings:
Namespace Name Mixin selector named Z_AXIS_SIDES_SHAPE
Lnet/minecraft/block/FenceGateBlock;Z_AXIS_SIDES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_40744
Lnet/minecraft/class_2349;field_40744:Lnet/minecraft/class_265;
official k
Ldnl;k:Lfcr;
-
X_AXIS_SIDES_SHAPE
- Mappings:
Namespace Name Mixin selector named X_AXIS_SIDES_SHAPE
Lnet/minecraft/block/FenceGateBlock;X_AXIS_SIDES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_40745
Lnet/minecraft/class_2349;field_40745:Lnet/minecraft/class_265;
official l
Ldnl;l:Lfcr;
-
Z_AXIS_CULL_SHAPE
- Mappings:
Namespace Name Mixin selector named Z_AXIS_CULL_SHAPE
Lnet/minecraft/block/FenceGateBlock;Z_AXIS_CULL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_11018
Lnet/minecraft/class_2349;field_11018:Lnet/minecraft/class_265;
official m
Ldnl;m:Lfcr;
-
X_AXIS_CULL_SHAPE
- Mappings:
Namespace Name Mixin selector named X_AXIS_CULL_SHAPE
Lnet/minecraft/block/FenceGateBlock;X_AXIS_CULL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_11023
Lnet/minecraft/class_2349;field_11023:Lnet/minecraft/class_265;
official n
Ldnl;n:Lfcr;
-
IN_WALL_Z_AXIS_CULL_SHAPE
- Mappings:
Namespace Name Mixin selector named IN_WALL_Z_AXIS_CULL_SHAPE
Lnet/minecraft/block/FenceGateBlock;IN_WALL_Z_AXIS_CULL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_11020
Lnet/minecraft/class_2349;field_11020:Lnet/minecraft/class_265;
official o
Ldnl;o:Lfcr;
-
IN_WALL_X_AXIS_CULL_SHAPE
- Mappings:
Namespace Name Mixin selector named IN_WALL_X_AXIS_CULL_SHAPE
Lnet/minecraft/block/FenceGateBlock;IN_WALL_X_AXIS_CULL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
intermediary field_11027
Lnet/minecraft/class_2349;field_11027:Lnet/minecraft/class_265;
official G
Ldnl;G:Lfcr;
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/block/FenceGateBlock;type:Lnet/minecraft/block/WoodType;
intermediary field_42758
Lnet/minecraft/class_2349;field_42758:Lnet/minecraft/class_4719;
official H
Ldnl;H:Ldzg;
-
-
Constructor Details
-
FenceGateBlock
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/FenceGateBlock;<init>(Lnet/minecraft/block/WoodType;Lnet/minecraft/block/AbstractBlock$Settings;)V
intermediary <init>
Lnet/minecraft/class_2349;<init>(Lnet/minecraft/class_4719;Lnet/minecraft/class_4970$class_2251;)V
official <init>
Ldnl;<init>(Ldzg;Ldxt$d;)V
-
-
Method Details
-
getCodec
- Specified by:
getCodec
in classHorizontalFacingBlock
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_53969
Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
official a
Ldxt;a()Lcom/mojang/serialization/MapCodec;
-
getOutlineShape
protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShape
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector 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;
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;
official a
Ldxt;a(Ldxu;Ldgm;Ljh;Lfcc;)Lfcr;
-
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
Blocks.AIR
breaks the block. This is useful to implement supporting block requirement for blocks (if used along withAbstractBlock.canPlaceAt(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
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_STATE
flag is set in thesetBlockState
call.This method can be used for multiple purposes. Here are some examples:
FenceBlock
uses it to update the fence's connection when a horizontally neighboring block's state is changed.PlantBlock
uses it to break the plant if the state change causes it to lose its supporting block.DoorBlock
uses it to copy the state of the other half of the door.SlabBlock
uses it to schedule the fluid to tick if waterlogged.SoulSandBlock
uses it to schedule the water block above to tick so that it becomes a bubble column.FallingBlock
uses it to schedule the block to tick so that it can fall if needed.
- Overrides:
getStateForNeighborUpdate
in 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 getStateForNeighborUpdate
Lnet/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_9559
Lnet/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 a
Ldxt;a(Ldxu;Ldhk;Ldhw;Ljh;Ljm;Ljh;Ldxu;Lbam;)Ldxu;
-
getSidesShape
- Overrides:
getSidesShape
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector 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;
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;
official b_
Ldxt;b_(Ldxu;Ldgm;Ljh;)Lfcr;
-
getCollisionShape
protected VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getCollisionShape
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector 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;
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;
official b
Ldxt;b(Ldxu;Ldgm;Ljh;Lfcc;)Lfcr;
-
getCullingShape
- Overrides:
getCullingShape
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector named getCullingShape
Lnet/minecraft/block/AbstractBlock;getCullingShape(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;
intermediary method_9571
Lnet/minecraft/class_4970;method_9571(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;
official d_
Ldxt;d_(Ldxu;)Lfcr;
-
getPlacementState
- Overrides:
getPlacementState
in classBlock
- Mappings:
Namespace Name Mixin selector named getPlacementState
Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
intermediary method_9605
Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
official a
Ldkl;a(Ldbf;)Ldxu;
-
isWall
- Mappings:
Namespace Name Mixin selector named isWall
Lnet/minecraft/block/FenceGateBlock;isWall(Lnet/minecraft/block/BlockState;)Z
intermediary method_10138
Lnet/minecraft/class_2349;method_10138(Lnet/minecraft/class_2680;)Z
official o
Ldnl;o(Ldxu;)Z
-
onUse
protected ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) - Overrides:
onUse
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector named onUse
Lnet/minecraft/block/AbstractBlock;onUse(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;
intermediary method_55766
Lnet/minecraft/class_4970;method_55766(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;
official a
Ldxt;a(Ldxu;Ldhh;Ljh;Lcpw;Lfbt;)Lbti;
-
onExploded
protected void onExploded(BlockState state, ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) - Overrides:
onExploded
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector named onExploded
Lnet/minecraft/block/AbstractBlock;onExploded(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/explosion/Explosion;Ljava/util/function/BiConsumer;)V
intermediary method_55124
Lnet/minecraft/class_4970;method_55124(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1927;Ljava/util/function/BiConsumer;)V
official a
Ldxt;a(Ldxu;Lash;Ljh;Ldgz;Ljava/util/function/BiConsumer;)V
-
neighborUpdate
protected void neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated. This method should be overridden to perform an action with a side effect, most notably an activation of a redstone component. This can also be used to perform an action changing block states of other blocks, such asSpongeBlock
which absorbs water.To replace the state of the block itself, override
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)
instead.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:
neighborUpdate
in classAbstractBlock
- See Also:
- Mappings:
Namespace Name Mixin selector named neighborUpdate
Lnet/minecraft/block/AbstractBlock;neighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/world/block/WireOrientation;Z)V
intermediary method_9612
Lnet/minecraft/class_4970;method_9612(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_9904;Z)V
official a
Ldxt;a(Ldxu;Ldhh;Ljh;Ldkl;Leve;Z)V
-
appendProperties
Appends block state properties to this block. To use this, override and callStateManager.Builder.add(net.minecraft.state.property.Property<?>[])
inside the method. SeeProperties
for the list of pre-defined properties.- Overrides:
appendProperties
in classBlock
- Mappings:
Namespace Name Mixin selector named appendProperties
Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
intermediary method_9515
Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
official a
Ldkl;a(Ldxv$a;)V
-
canWallConnect
- Mappings:
Namespace Name Mixin selector named canWallConnect
Lnet/minecraft/block/FenceGateBlock;canWallConnect(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
intermediary method_16703
Lnet/minecraft/class_2349;method_16703(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
official a
Ldnl;a(Ldxu;Ljm;)Z
-