类 CaveVinesHeadBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.AbstractPlantPartBlock
-
- net.minecraft.block.AbstractPlantStemBlock
-
- net.minecraft.block.CaveVinesHeadBlock
-
- 所有已实现的接口:
CaveVines,Fertilizable,ItemConvertible
public class CaveVinesHeadBlock extends AbstractPlantStemBlock implements Fertilizable, CaveVines
- Mappings:
Namespace Name official bzkintermediary net/minecraft/class_5805named net/minecraft/block/CaveVinesHeadBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 private static floatfield_31053-
从类继承的字段 net.minecraft.block.AbstractPlantStemBlock
AGE, MAX_AGE
-
从类继承的字段 net.minecraft.block.AbstractPlantPartBlock
growthDirection, outlineShape, tickWater
-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 CaveVinesHeadBlock(AbstractBlock.Settings settings)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected BlockStateage(BlockState state, Random random)protected voidappendProperties(StateManager.Builder<Block,BlockState> builder)booleancanGrow(World world, Random random, BlockPos pos, BlockState state)protected booleanchooseStemState(BlockState state)protected BlockStatecopyState(BlockState from, BlockState to)protected intgetGrowthLength(Random random)ItemStackgetPickStack(BlockView world, BlockPos pos, BlockState state)protected BlockgetPlant()voidgrow(ServerWorld world, Random random, BlockPos pos, BlockState state)booleanisFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)ActionResultonUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.-
从类继承的方法 net.minecraft.block.AbstractPlantStemBlock
getRandomGrowthState, getStateForNeighborUpdate, getStem, hasRandomTicks, randomTick
-
从类继承的方法 net.minecraft.block.AbstractPlantPartBlock
canAttachTo, canPlaceAt, getOutlineShape, getPlacementState, scheduledTick
-
从类继承的方法 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, 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, canPathfindThrough, 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, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, prepare, rotate
-
-
-
-
字段详细资料
-
field_31053
private static final float field_31053
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official fLbzk;f:Fintermediary field_31053Lnet/minecraft/class_5805;field_31053:Fnamed field_31053Lnet/minecraft/block/CaveVinesHeadBlock;field_31053:F
-
-
构造器详细资料
-
CaveVinesHeadBlock
public CaveVinesHeadBlock(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
-
-
方法详细资料
-
getGrowthLength
protected int getGrowthLength(Random random)
- 指定者:
getGrowthLength在类中AbstractPlantStemBlock- Mappings:
Namespace Name Mixin selector official aLcbu;a(Ljava/util/Random;)Iintermediary method_26376Lnet/minecraft/class_4865;method_26376(Ljava/util/Random;)Inamed getGrowthLengthLnet/minecraft/block/AbstractPlantStemBlock;getGrowthLength(Ljava/util/Random;)I
-
chooseStemState
protected boolean chooseStemState(BlockState state)
- 指定者:
chooseStemState在类中AbstractPlantStemBlock- Mappings:
Namespace Name Mixin selector official gLcbu;g(Lcjr;)Zintermediary method_24949Lnet/minecraft/class_4865;method_24949(Lnet/minecraft/class_2680;)Znamed chooseStemStateLnet/minecraft/block/AbstractPlantStemBlock;chooseStemState(Lnet/minecraft/block/BlockState;)Z
-
getPlant
protected Block getPlant()
- 指定者:
getPlant在类中AbstractPlantPartBlock- Mappings:
Namespace Name Mixin selector official cLcbs;c()Lbyq;intermediary method_24946Lnet/minecraft/class_4863;method_24946()Lnet/minecraft/class_2248;named getPlantLnet/minecraft/block/AbstractPlantPartBlock;getPlant()Lnet/minecraft/block/Block;
-
copyState
protected BlockState copyState(BlockState from, BlockState to)
- 覆盖:
copyState在类中AbstractPlantStemBlock- Mappings:
Namespace Name Mixin selector official aLcbu;a(Lcjr;Lcjr;)Lcjr;intermediary method_33625Lnet/minecraft/class_4865;method_33625(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;named copyStateLnet/minecraft/block/AbstractPlantStemBlock;copyState(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
age
protected BlockState age(BlockState state, Random random)
- 覆盖:
age在类中AbstractPlantStemBlock- Mappings:
Namespace Name Mixin selector official aLcbu;a(Lcjr;Ljava/util/Random;)Lcjr;intermediary method_33626Lnet/minecraft/class_4865;method_33626(Lnet/minecraft/class_2680;Ljava/util/Random;)Lnet/minecraft/class_2680;named ageLnet/minecraft/block/AbstractPlantStemBlock;age(Lnet/minecraft/block/BlockState;Ljava/util/Random;)Lnet/minecraft/block/BlockState;
-
getPickStack
public ItemStack getPickStack(BlockView world, BlockPos pos, BlockState state)
- 覆盖:
getPickStack在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbuv;Lgb;Lcjr;)Lbpr;intermediary method_9574Lnet/minecraft/class_2248;method_9574(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;named getPickStackLnet/minecraft/block/Block;getPickStack(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
onUse
public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player. This, by default, is bound to using the right mouse button.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().If the action result is successful on a logical client, then the action will be sent to the logical server for processing.
- 覆盖:
onUse在类中AbstractBlock- 返回:
- an action result that specifies if using the block was successful.
- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbvr;Lgb;Lbjf;Larf;Ldlw;)Larg;intermediary method_9534Lnet/minecraft/class_4970;method_9534(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;named onUseLnet/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/Hand;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;
-
appendProperties
protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
- 覆盖:
appendProperties在类中AbstractPlantStemBlock- 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
-
isFertilizable
public boolean isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
- 指定者:
isFertilizable在接口中Fertilizable- 覆盖:
isFertilizable在类中AbstractPlantStemBlock- 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- 覆盖:
canGrow在类中AbstractPlantStemBlock- 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- 覆盖:
grow在类中AbstractPlantStemBlock- 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
-
-