类 CocoaBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.HorizontalFacingBlock
-
- net.minecraft.block.CocoaBlock
-
- 所有已实现的接口:
Fertilizable,ItemConvertible
public class CocoaBlock extends HorizontalFacingBlock implements Fertilizable
- Mappings:
Namespace Name official bzrintermediary net/minecraft/class_2282named net/minecraft/block/CocoaBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 static IntPropertyAGEprotected static VoxelShape[]AGE_TO_EAST_SHAPEprotected static VoxelShape[]AGE_TO_NORTH_SHAPEprotected static VoxelShape[]AGE_TO_SOUTH_SHAPEprotected static VoxelShape[]AGE_TO_WEST_SHAPEstatic intfield_31061protected static intfield_31062protected static intfield_31063protected static intfield_31064protected static intfield_31065protected static intfield_31066protected static intfield_31067protected static intfield_31068protected static intfield_31069protected static intfield_31070-
从类继承的字段 net.minecraft.block.HorizontalFacingBlock
FACING
-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 CocoaBlock(AbstractBlock.Settings settings)
-
方法概要
-
从类继承的方法 net.minecraft.block.HorizontalFacingBlock
mirror, rotate
-
从类继承的方法 net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, 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, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, scheduledTick
-
-
-
-
字段详细资料
-
field_31061
public static final int field_31061
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLbzr;a:Iintermediary field_31061Lnet/minecraft/class_2282;field_31061:Inamed field_31061Lnet/minecraft/block/CocoaBlock;field_31061:I
-
AGE
public static final IntProperty AGE
- Mappings:
Namespace Name Mixin selector official bLbzr;b:Lckr;intermediary field_10779Lnet/minecraft/class_2282;field_10779:Lnet/minecraft/class_2758;named AGELnet/minecraft/block/CocoaBlock;AGE:Lnet/minecraft/state/property/IntProperty;
-
field_31062
protected static final int field_31062
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLbzr;c:Iintermediary field_31062Lnet/minecraft/class_2282;field_31062:Inamed field_31062Lnet/minecraft/block/CocoaBlock;field_31062:I
-
field_31063
protected static final int field_31063
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLbzr;d:Iintermediary field_31063Lnet/minecraft/class_2282;field_31063:Inamed field_31063Lnet/minecraft/block/CocoaBlock;field_31063:I
-
field_31064
protected static final int field_31064
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official eLbzr;e:Iintermediary field_31064Lnet/minecraft/class_2282;field_31064:Inamed field_31064Lnet/minecraft/block/CocoaBlock;field_31064:I
-
field_31065
protected static final int field_31065
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official fLbzr;f:Iintermediary field_31065Lnet/minecraft/class_2282;field_31065:Inamed field_31065Lnet/minecraft/block/CocoaBlock;field_31065:I
-
field_31066
protected static final int field_31066
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official gLbzr;g:Iintermediary field_31066Lnet/minecraft/class_2282;field_31066:Inamed field_31066Lnet/minecraft/block/CocoaBlock;field_31066:I
-
field_31067
protected static final int field_31067
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official hLbzr;h:Iintermediary field_31067Lnet/minecraft/class_2282;field_31067:Inamed field_31067Lnet/minecraft/block/CocoaBlock;field_31067:I
-
field_31068
protected static final int field_31068
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official iLbzr;i:Iintermediary field_31068Lnet/minecraft/class_2282;field_31068:Inamed field_31068Lnet/minecraft/block/CocoaBlock;field_31068:I
-
field_31069
protected static final int field_31069
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official jLbzr;j:Iintermediary field_31069Lnet/minecraft/class_2282;field_31069:Inamed field_31069Lnet/minecraft/block/CocoaBlock;field_31069:I
-
field_31070
protected static final int field_31070
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official kLbzr;k:Iintermediary field_31070Lnet/minecraft/class_2282;field_31070:Inamed field_31070Lnet/minecraft/block/CocoaBlock;field_31070:I
-
AGE_TO_EAST_SHAPE
protected static final VoxelShape[] AGE_TO_EAST_SHAPE
- Mappings:
Namespace Name Mixin selector official lLbzr;l:[Ldmt;intermediary field_10778Lnet/minecraft/class_2282;field_10778:[Lnet/minecraft/class_265;named AGE_TO_EAST_SHAPELnet/minecraft/block/CocoaBlock;AGE_TO_EAST_SHAPE:[Lnet/minecraft/util/shape/VoxelShape;
-
AGE_TO_WEST_SHAPE
protected static final VoxelShape[] AGE_TO_WEST_SHAPE
- Mappings:
Namespace Name Mixin selector official mLbzr;m:[Ldmt;intermediary field_10776Lnet/minecraft/class_2282;field_10776:[Lnet/minecraft/class_265;named AGE_TO_WEST_SHAPELnet/minecraft/block/CocoaBlock;AGE_TO_WEST_SHAPE:[Lnet/minecraft/util/shape/VoxelShape;
-
AGE_TO_NORTH_SHAPE
protected static final VoxelShape[] AGE_TO_NORTH_SHAPE
- Mappings:
Namespace Name Mixin selector official nLbzr;n:[Ldmt;intermediary field_10777Lnet/minecraft/class_2282;field_10777:[Lnet/minecraft/class_265;named AGE_TO_NORTH_SHAPELnet/minecraft/block/CocoaBlock;AGE_TO_NORTH_SHAPE:[Lnet/minecraft/util/shape/VoxelShape;
-
AGE_TO_SOUTH_SHAPE
protected static final VoxelShape[] AGE_TO_SOUTH_SHAPE
- Mappings:
Namespace Name Mixin selector official FLbzr;F:[Ldmt;intermediary field_10780Lnet/minecraft/class_2282;field_10780:[Lnet/minecraft/class_265;named AGE_TO_SOUTH_SHAPELnet/minecraft/block/CocoaBlock;AGE_TO_SOUTH_SHAPE:[Lnet/minecraft/util/shape/VoxelShape;
-
-
构造器详细资料
-
CocoaBlock
public CocoaBlock(AbstractBlock.Settings settings)
- Mappings:
Namespace Name Mixin selector official <init>Lcjq;<init>(Lcjq$c;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
方法详细资料
-
hasRandomTicks
public boolean hasRandomTicks(BlockState state)
- 覆盖:
hasRandomTicks在类中Block- Mappings:
Namespace Name Mixin selector official d_Lbyq;d_(Lcjr;)Zintermediary method_9542Lnet/minecraft/class_2248;method_9542(Lnet/minecraft/class_2680;)Znamed hasRandomTicksLnet/minecraft/block/Block;hasRandomTicks(Lnet/minecraft/block/BlockState;)Z
-
randomTick
public void randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
- 覆盖:
randomTick在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official bLcjq;b(Lcjr;Labj;Lgb;Ljava/util/Random;)Vintermediary method_9514Lnet/minecraft/class_4970;method_9514(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)Vnamed randomTickLnet/minecraft/block/AbstractBlock;randomTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
canPlaceAt
public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos)
- 覆盖:
canPlaceAt在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbvu;Lgb;)Zintermediary method_9558Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed canPlaceAtLnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;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;
-
getPlacementState
@Nullable public @Nullable BlockState getPlacementState(ItemPlacementContext ctx)
- 覆盖:
getPlacementState在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbrr;)Lcjr;intermediary method_9605Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;named getPlacementStateLnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
Gets the possibly updated block state of this block when a neighboring block is updated.- 覆盖:
getStateForNeighborUpdate在类中AbstractBlock- 参数:
state- the state of this blockdirection- the direction from this block to the neighborneighborState- the state of the updated neighbor blockworld- the worldpos- the position of this blockneighborPos- the position of the neighbor block- 返回:
- the new state of this block
- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lgg;Lcjr;Lbvs;Lgb;Lgb;)Lcjr;intermediary method_9559Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getStateForNeighborUpdateLnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
isFertilizable
public boolean isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
- 指定者:
isFertilizable在接口中Fertilizable- Mappings:
Namespace Name Mixin selector official aLbys;a(Lbuv;Lgb;Lcjr;Z)Zintermediary method_9651Lnet/minecraft/class_2256;method_9651(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Znamed isFertilizableLnet/minecraft/block/Fertilizable;isFertilizable(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Z
-
canGrow
public boolean canGrow(World world, Random random, BlockPos pos, BlockState state)
- 指定者:
canGrow在接口中Fertilizable- Mappings:
Namespace Name Mixin selector official aLbys;a(Lbvr;Ljava/util/Random;Lgb;Lcjr;)Zintermediary method_9650Lnet/minecraft/class_2256;method_9650(Lnet/minecraft/class_1937;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Znamed canGrowLnet/minecraft/block/Fertilizable;canGrow(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
grow
public void grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
- 指定者:
grow在接口中Fertilizable- Mappings:
Namespace Name Mixin selector official aLbys;a(Labj;Ljava/util/Random;Lgb;Lcjr;)Vintermediary method_9652Lnet/minecraft/class_2256;method_9652(Lnet/minecraft/class_3218;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed growLnet/minecraft/block/Fertilizable;grow(Lnet/minecraft/server/world/ServerWorld;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
appendProperties
protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
- 覆盖:
appendProperties在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lcjs$a;)Vintermediary method_9515Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
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
-
-