类 AbstractCauldronBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.AbstractCauldronBlock
-
- 所有已实现的接口:
ItemConvertible
public abstract class AbstractCauldronBlock extends Block
- Mappings:
Namespace Name official bxjintermediary net/minecraft/class_2275named net/minecraft/block/AbstractCauldronBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 private Map<Item,CauldronBehavior>behaviorMapprotected static intfield_30988private static intfield_30989private static intfield_30990private static intfield_30991private static intfield_30992protected static VoxelShapeOUTLINE_SHAPEprivate static VoxelShapeRAY_TRACE_SHAPE-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 AbstractCauldronBlock(AbstractBlock.Settings settings, Map<Item,CauldronBehavior> behaviorMap)
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 protected booleancanBeFilledByDripstone(Fluid fluid)booleancanPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)protected voidfillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid)protected doublegetFluidHeight(BlockState state)VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)VoxelShapegetRaycastShape(BlockState state, BlockView world, BlockPos pos)booleanhasComparatorOutput(BlockState state)protected booleanisEntityTouchingFluid(BlockState state, BlockPos pos, Entity entity)abstract booleanisFull(BlockState state)ActionResultonUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.voidscheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)-
从类继承的方法 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, 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, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getWeakRedstonePower, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, prepare, randomTick, rotate
-
-
-
-
字段详细资料
-
field_30989
private static final int field_30989
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLbxj;c:Iintermediary field_30989Lnet/minecraft/class_2275;field_30989:Inamed field_30989Lnet/minecraft/block/AbstractCauldronBlock;field_30989:I
-
field_30990
private static final int field_30990
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLbxj;d:Iintermediary field_30990Lnet/minecraft/class_2275;field_30990:Inamed field_30990Lnet/minecraft/block/AbstractCauldronBlock;field_30990:I
-
field_30991
private static final int field_30991
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official eLbxj;e:Iintermediary field_30991Lnet/minecraft/class_2275;field_30991:Inamed field_30991Lnet/minecraft/block/AbstractCauldronBlock;field_30991:I
-
field_30992
private static final int field_30992
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official fLbxj;f:Iintermediary field_30992Lnet/minecraft/class_2275;field_30992:Inamed field_30992Lnet/minecraft/block/AbstractCauldronBlock;field_30992:I
-
field_30988
protected static final int field_30988
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLbxj;a:Iintermediary field_30988Lnet/minecraft/class_2275;field_30988:Inamed field_30988Lnet/minecraft/block/AbstractCauldronBlock;field_30988:I
-
RAY_TRACE_SHAPE
private static final VoxelShape RAY_TRACE_SHAPE
- Mappings:
Namespace Name Mixin selector official gLbxj;g:Ldmt;intermediary field_10747Lnet/minecraft/class_2275;field_10747:Lnet/minecraft/class_265;named RAY_TRACE_SHAPELnet/minecraft/block/AbstractCauldronBlock;RAY_TRACE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
OUTLINE_SHAPE
protected static final VoxelShape OUTLINE_SHAPE
- Mappings:
Namespace Name Mixin selector official bLbxj;b:Ldmt;intermediary field_10746Lnet/minecraft/class_2275;field_10746:Lnet/minecraft/class_265;named OUTLINE_SHAPELnet/minecraft/block/AbstractCauldronBlock;OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
behaviorMap
private final Map<Item,CauldronBehavior> behaviorMap
- Mappings:
Namespace Name Mixin selector official hLbxj;h:Ljava/util/Map;intermediary field_27084Lnet/minecraft/class_2275;field_27084:Ljava/util/Map;named behaviorMapLnet/minecraft/block/AbstractCauldronBlock;behaviorMap:Ljava/util/Map;
-
-
构造器详细资料
-
AbstractCauldronBlock
public AbstractCauldronBlock(AbstractBlock.Settings settings, Map<Item,CauldronBehavior> behaviorMap)
- Mappings:
Namespace Name Mixin selector official <init>Lbxj;<init>(Lcjq$c;Ljava/util/Map;)Vintermediary <init>Lnet/minecraft/class_2275;<init>(Lnet/minecraft/class_4970$class_2251;Ljava/util/Map;)Vnamed <init>Lnet/minecraft/block/AbstractCauldronBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;Ljava/util/Map;)V
-
-
方法详细资料
-
getFluidHeight
protected double getFluidHeight(BlockState state)
- Mappings:
Namespace Name Mixin selector official aLbxj;a(Lcjr;)Dintermediary method_31615Lnet/minecraft/class_2275;method_31615(Lnet/minecraft/class_2680;)Dnamed getFluidHeightLnet/minecraft/block/AbstractCauldronBlock;getFluidHeight(Lnet/minecraft/block/BlockState;)D
-
isEntityTouchingFluid
protected boolean isEntityTouchingFluid(BlockState state, BlockPos pos, Entity entity)
- Mappings:
Namespace Name Mixin selector official aLbxj;a(Lcjr;Lgb;Lasl;)Zintermediary method_31616Lnet/minecraft/class_2275;method_31616(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Znamed isEntityTouchingFluidLnet/minecraft/block/AbstractCauldronBlock;isEntityTouchingFluid(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)Z
-
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;
-
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;
-
getRaycastShape
public VoxelShape getRaycastShape(BlockState state, BlockView world, BlockPos pos)
- 覆盖:
getRaycastShape在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbuv;Lgb;)Ldmt;intermediary method_9584Lnet/minecraft/class_4970;method_9584(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getRaycastShapeLnet/minecraft/block/AbstractBlock;getRaycastShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
hasComparatorOutput
public boolean hasComparatorOutput(BlockState state)
- 覆盖:
hasComparatorOutput在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official g_Lcjq;g_(Lcjr;)Zintermediary method_9498Lnet/minecraft/class_4970;method_9498(Lnet/minecraft/class_2680;)Znamed hasComparatorOutputLnet/minecraft/block/AbstractBlock;hasComparatorOutput(Lnet/minecraft/block/BlockState;)Z
-
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
-
isFull
public abstract boolean isFull(BlockState state)
- Mappings:
Namespace Name Mixin selector official cLbxj;c(Lcjr;)Zintermediary method_32766Lnet/minecraft/class_2275;method_32766(Lnet/minecraft/class_2680;)Znamed isFullLnet/minecraft/block/AbstractCauldronBlock;isFull(Lnet/minecraft/block/BlockState;)Z
-
scheduledTick
public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
- 覆盖:
scheduledTick在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official a_Lcjq;a_(Lcjr;Labj;Lgb;Ljava/util/Random;)Vintermediary method_9588Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)Vnamed scheduledTickLnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
canBeFilledByDripstone
protected boolean canBeFilledByDripstone(Fluid fluid)
- Mappings:
Namespace Name Mixin selector official aLbxj;a(Lddr;)Zintermediary method_32765Lnet/minecraft/class_2275;method_32765(Lnet/minecraft/class_3611;)Znamed canBeFilledByDripstoneLnet/minecraft/block/AbstractCauldronBlock;canBeFilledByDripstone(Lnet/minecraft/fluid/Fluid;)Z
-
fillFromDripstone
protected void fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid)
- Mappings:
Namespace Name Mixin selector official aLbxj;a(Lcjr;Lbvr;Lgb;Lddr;)Vintermediary method_32764Lnet/minecraft/class_2275;method_32764(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)Vnamed fillFromDripstoneLnet/minecraft/block/AbstractCauldronBlock;fillFromDripstone(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;)V
-
-