类 SeaPickleBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.PlantBlock
-
- net.minecraft.block.SeaPickleBlock
-
- 所有已实现的接口:
Fertilizable,FluidDrainable,FluidFillable,Waterloggable,ItemConvertible
public class SeaPickleBlock extends PlantBlock implements Fertilizable, Waterloggable
- Mappings:
Namespace Name official cepintermediary net/minecraft/class_2472named net/minecraft/block/SeaPickleBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 static intfield_31241protected static VoxelShapeFOUR_PICKLES_SHAPEprotected static VoxelShapeONE_PICKLE_SHAPEstatic IntPropertyPICKLESprotected static VoxelShapeTHREE_PICKLES_SHAPEprotected static VoxelShapeTWO_PICKLES_SHAPEstatic BooleanPropertyWATERLOGGED-
从类继承的字段 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
-
-
构造器概要
构造器 限定符 构造器 说明 protectedSeaPickleBlock(AbstractBlock.Settings settings)
-
方法概要
-
从类继承的方法 net.minecraft.block.PlantBlock
isTranslucent
-
从类继承的方法 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, 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, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.block.Waterloggable
canFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
-
-
-
-
字段详细资料
-
field_31241
public static final int field_31241
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLcep;a:Iintermediary field_31241Lnet/minecraft/class_2472;field_31241:Inamed field_31241Lnet/minecraft/block/SeaPickleBlock;field_31241:I
-
PICKLES
public static final IntProperty PICKLES
- Mappings:
Namespace Name Mixin selector official bLcep;b:Lckr;intermediary field_11472Lnet/minecraft/class_2472;field_11472:Lnet/minecraft/class_2758;named PICKLESLnet/minecraft/block/SeaPickleBlock;PICKLES:Lnet/minecraft/state/property/IntProperty;
-
WATERLOGGED
public static final BooleanProperty WATERLOGGED
- Mappings:
Namespace Name Mixin selector official cLcep;c:Lcki;intermediary field_11475Lnet/minecraft/class_2472;field_11475:Lnet/minecraft/class_2746;named WATERLOGGEDLnet/minecraft/block/SeaPickleBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
-
ONE_PICKLE_SHAPE
protected static final VoxelShape ONE_PICKLE_SHAPE
- Mappings:
Namespace Name Mixin selector official dLcep;d:Ldmt;intermediary field_11473Lnet/minecraft/class_2472;field_11473:Lnet/minecraft/class_265;named ONE_PICKLE_SHAPELnet/minecraft/block/SeaPickleBlock;ONE_PICKLE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
TWO_PICKLES_SHAPE
protected static final VoxelShape TWO_PICKLES_SHAPE
- Mappings:
Namespace Name Mixin selector official eLcep;e:Ldmt;intermediary field_11470Lnet/minecraft/class_2472;field_11470:Lnet/minecraft/class_265;named TWO_PICKLES_SHAPELnet/minecraft/block/SeaPickleBlock;TWO_PICKLES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
THREE_PICKLES_SHAPE
protected static final VoxelShape THREE_PICKLES_SHAPE
- Mappings:
Namespace Name Mixin selector official fLcep;f:Ldmt;intermediary field_11471Lnet/minecraft/class_2472;field_11471:Lnet/minecraft/class_265;named THREE_PICKLES_SHAPELnet/minecraft/block/SeaPickleBlock;THREE_PICKLES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
FOUR_PICKLES_SHAPE
protected static final VoxelShape FOUR_PICKLES_SHAPE
- Mappings:
Namespace Name Mixin selector official gLcep;g:Ldmt;intermediary field_11474Lnet/minecraft/class_2472;field_11474:Lnet/minecraft/class_265;named FOUR_PICKLES_SHAPELnet/minecraft/block/SeaPickleBlock;FOUR_PICKLES_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
-
构造器详细资料
-
SeaPickleBlock
protected SeaPickleBlock(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
-
-
方法详细资料
-
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;
-
isDry
public static boolean isDry(BlockState state)
- Mappings:
Namespace Name Mixin selector official hLcep;h(Lcjr;)Zintermediary method_10506Lnet/minecraft/class_2472;method_10506(Lnet/minecraft/class_2680;)Znamed isDryLnet/minecraft/block/SeaPickleBlock;isDry(Lnet/minecraft/block/BlockState;)Z
-
canPlantOnTop
protected boolean canPlantOnTop(BlockState floor, BlockView world, BlockPos pos)
- 覆盖:
canPlantOnTop在类中PlantBlock- Mappings:
Namespace Name Mixin selector official dLbyx;d(Lcjr;Lbuv;Lgb;)Zintermediary method_9695Lnet/minecraft/class_2261;method_9695(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Znamed canPlantOnTopLnet/minecraft/block/PlantBlock;canPlantOnTop(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
canPlaceAt
public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos)
- 覆盖:
canPlaceAt在类中PlantBlock- 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
-
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在类中PlantBlock- 参数:
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;
-
canReplace
public boolean canReplace(BlockState state, ItemPlacementContext context)
- 覆盖:
canReplace在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbrr;)Zintermediary method_9616Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Znamed canReplaceLnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)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;
-
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;
-
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
-
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
-
canPathfindThrough
public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
- 覆盖:
canPathfindThrough在类中PlantBlock- 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
-
-