类 HorizontalConnectingBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.HorizontalConnectingBlock
-
- 所有已实现的接口:
FluidDrainable,FluidFillable,Waterloggable,ItemConvertible
- 直接已知子类:
FenceBlock,PaneBlock
public class HorizontalConnectingBlock extends Block implements Waterloggable
- Mappings:
Namespace Name official cadintermediary net/minecraft/class_2310named net/minecraft/block/HorizontalConnectingBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 protected VoxelShape[]boundingShapesprotected VoxelShape[]collisionShapesstatic BooleanPropertyEASTprotected static Map<Direction,BooleanProperty>FACING_PROPERTIESstatic BooleanPropertyNORTHprivate Object2IntMap<BlockState>SHAPE_INDEX_CACHEstatic BooleanPropertySOUTHstatic BooleanPropertyWATERLOGGEDstatic BooleanPropertyWEST-
从类继承的字段 net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, LOGGER, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManager
-
从类继承的字段 net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
-
构造器概要
构造器 限定符 构造器 说明 protectedHorizontalConnectingBlock(float radius1, float radius2, float boundingHeight1, float boundingHeight2, float collisionHeight, AbstractBlock.Settings settings)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)protected VoxelShape[]createShapes(float radius1, float radius2, float height1, float offset2, float height2)VoxelShapegetCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)private static intgetDirectionMask(Direction dir)FluidStategetFluidState(BlockState state)VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)protected intgetShapeIndex(BlockState state)booleanisTranslucent(BlockState state, BlockView world, BlockPos pos)BlockStatemirror(BlockState state, BlockMirror mirror)BlockStaterotate(BlockState state, BlockRotation rotation)Applies a block rotation to a block state.-
从类继承的方法 net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
-
从类继承的方法 net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, scheduledTick
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.block.Waterloggable
canFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
-
-
-
-
字段详细资料
-
NORTH
public static final BooleanProperty NORTH
- Mappings:
Namespace Name Mixin selector official aLcad;a:Lcki;intermediary field_10905Lnet/minecraft/class_2310;field_10905:Lnet/minecraft/class_2746;named NORTHLnet/minecraft/block/HorizontalConnectingBlock;NORTH:Lnet/minecraft/state/property/BooleanProperty;
-
EAST
public static final BooleanProperty EAST
- Mappings:
Namespace Name Mixin selector official bLcad;b:Lcki;intermediary field_10907Lnet/minecraft/class_2310;field_10907:Lnet/minecraft/class_2746;named EASTLnet/minecraft/block/HorizontalConnectingBlock;EAST:Lnet/minecraft/state/property/BooleanProperty;
-
SOUTH
public static final BooleanProperty SOUTH
- Mappings:
Namespace Name Mixin selector official cLcad;c:Lcki;intermediary field_10904Lnet/minecraft/class_2310;field_10904:Lnet/minecraft/class_2746;named SOUTHLnet/minecraft/block/HorizontalConnectingBlock;SOUTH:Lnet/minecraft/state/property/BooleanProperty;
-
WEST
public static final BooleanProperty WEST
- Mappings:
Namespace Name Mixin selector official dLcad;d:Lcki;intermediary field_10903Lnet/minecraft/class_2310;field_10903:Lnet/minecraft/class_2746;named WESTLnet/minecraft/block/HorizontalConnectingBlock;WEST:Lnet/minecraft/state/property/BooleanProperty;
-
WATERLOGGED
public static final BooleanProperty WATERLOGGED
- Mappings:
Namespace Name Mixin selector official eLcad;e:Lcki;intermediary field_10900Lnet/minecraft/class_2310;field_10900:Lnet/minecraft/class_2746;named WATERLOGGEDLnet/minecraft/block/HorizontalConnectingBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
-
FACING_PROPERTIES
protected static final Map<Direction,BooleanProperty> FACING_PROPERTIES
- Mappings:
Namespace Name Mixin selector official fLcad;f:Ljava/util/Map;intermediary field_10902Lnet/minecraft/class_2310;field_10902:Ljava/util/Map;named FACING_PROPERTIESLnet/minecraft/block/HorizontalConnectingBlock;FACING_PROPERTIES:Ljava/util/Map;
-
collisionShapes
protected final VoxelShape[] collisionShapes
- Mappings:
Namespace Name Mixin selector official gLcad;g:[Ldmt;intermediary field_10901Lnet/minecraft/class_2310;field_10901:[Lnet/minecraft/class_265;named collisionShapesLnet/minecraft/block/HorizontalConnectingBlock;collisionShapes:[Lnet/minecraft/util/shape/VoxelShape;
-
boundingShapes
protected final VoxelShape[] boundingShapes
- Mappings:
Namespace Name Mixin selector official hLcad;h:[Ldmt;intermediary field_10906Lnet/minecraft/class_2310;field_10906:[Lnet/minecraft/class_265;named boundingShapesLnet/minecraft/block/HorizontalConnectingBlock;boundingShapes:[Lnet/minecraft/util/shape/VoxelShape;
-
SHAPE_INDEX_CACHE
private final Object2IntMap<BlockState> SHAPE_INDEX_CACHE
- Mappings:
Namespace Name Mixin selector official iLcad;i:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_19313Lnet/minecraft/class_2310;field_19313:Lit/unimi/dsi/fastutil/objects/Object2IntMap;named SHAPE_INDEX_CACHELnet/minecraft/block/HorizontalConnectingBlock;SHAPE_INDEX_CACHE:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
-
构造器详细资料
-
HorizontalConnectingBlock
protected HorizontalConnectingBlock(float radius1, float radius2, float boundingHeight1, float boundingHeight2, float collisionHeight, AbstractBlock.Settings settings)- Mappings:
Namespace Name Mixin selector official <init>Lcad;<init>(FFFFFLcjq$c;)Vintermediary <init>Lnet/minecraft/class_2310;<init>(FFFFFLnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/HorizontalConnectingBlock;<init>(FFFFFLnet/minecraft/block/AbstractBlock$Settings;)V
-
-
方法详细资料
-
createShapes
protected VoxelShape[] createShapes(float radius1, float radius2, float height1, float offset2, float height2)
- Mappings:
Namespace Name Mixin selector official aLcad;a(FFFFF)[Ldmt;intermediary method_9984Lnet/minecraft/class_2310;method_9984(FFFFF)[Lnet/minecraft/class_265;named createShapesLnet/minecraft/block/HorizontalConnectingBlock;createShapes(FFFFF)[Lnet/minecraft/util/shape/VoxelShape;
-
isTranslucent
public boolean isTranslucent(BlockState state, BlockView world, BlockPos pos)
- 覆盖:
isTranslucent在类中Block- Mappings:
Namespace Name Mixin selector official cLbyq;c(Lcjr;Lbuv;Lgb;)Zintermediary method_9579Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Znamed isTranslucentLnet/minecraft/block/Block;isTranslucent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;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 aLcjq;a(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;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;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;
-
getCollisionShape
public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
- 覆盖:
getCollisionShape在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official cLcjq;c(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;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;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;
-
getDirectionMask
private static int getDirectionMask(Direction dir)
- Mappings:
Namespace Name Mixin selector official aLcad;a(Lgg;)Iintermediary method_9985Lnet/minecraft/class_2310;method_9985(Lnet/minecraft/class_2350;)Inamed getDirectionMaskLnet/minecraft/block/HorizontalConnectingBlock;getDirectionMask(Lnet/minecraft/util/math/Direction;)I
-
getShapeIndex
protected int getShapeIndex(BlockState state)
- Mappings:
Namespace Name Mixin selector official gLcad;g(Lcjr;)Iintermediary method_9987Lnet/minecraft/class_2310;method_9987(Lnet/minecraft/class_2680;)Inamed getShapeIndexLnet/minecraft/block/HorizontalConnectingBlock;getShapeIndex(Lnet/minecraft/block/BlockState;)I
-
getFluidState
public FluidState getFluidState(BlockState state)
- 覆盖:
getFluidState在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official c_Lcjq;c_(Lcjr;)Ldds;intermediary method_9545Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
-
canPathfindThrough
public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
- 覆盖:
canPathfindThrough在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbuv;Lgb;Ldgb;)Zintermediary method_9516Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_10;)Znamed canPathfindThroughLnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z
-
rotate
public BlockState rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.By default, this returns the provided block state.
- 覆盖:
rotate在类中AbstractBlock- 返回:
- the rotated block state
- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lcek;)Lcjr;intermediary method_9598Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;named rotateLnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
mirror
public BlockState mirror(BlockState state, BlockMirror mirror)
- 覆盖:
mirror在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lccy;)Lcjr;intermediary method_9569Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;named mirrorLnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
-