类的使用
net.minecraft.world.World
-
-
net.minecraft.advancement.criterion中World的使用
类型参数类型为World的net.minecraft.advancement.criterion中的字段 修饰符和类型 字段 说明 private @Nullable RegistryKey<World>ChangedDimensionCriterion.Conditions. fromprivate @Nullable RegistryKey<World>ChangedDimensionCriterion.Conditions. to类型变量类型为World的net.minecraft.advancement.criterion中的方法参数 修饰符和类型 方法 说明 static ChangedDimensionCriterion.ConditionsChangedDimensionCriterion.Conditions. create(RegistryKey<World> from, RegistryKey<World> to)static ChangedDimensionCriterion.ConditionsChangedDimensionCriterion.Conditions. from(RegistryKey<World> from)booleanChangedDimensionCriterion.Conditions. matches(RegistryKey<World> from, RegistryKey<World> to)static ChangedDimensionCriterion.ConditionsChangedDimensionCriterion.Conditions. to(RegistryKey<World> to)voidChangedDimensionCriterion. trigger(ServerPlayerEntity player, RegistryKey<World> from, RegistryKey<World> to)类型变量类型为World的net.minecraft.advancement.criterion中的构造器参数 构造器 说明 Conditions(EntityPredicate.Extended player, @Nullable RegistryKey<World> from, @Nullable RegistryKey<World> to) -
net.minecraft.block中World的使用
声明为World的net.minecraft.block中的字段 修饰符和类型 字段 说明 private WorldRailPlacementHelper. world参数类型为World的net.minecraft.block中的方法 修饰符和类型 方法 说明 private booleanSpongeBlock. absorbWater(World world, BlockPos pos)private voidHoneyBlock. addCollisionEffects(World world, Entity entity)private voidBeehiveBlock. addHoneyParticle(World world, double minX, double maxX, double minZ, double maxZ, double height)private voidBeehiveBlock. addHoneyParticle(World world, BlockPos pos, VoxelShape shape, double height)private voidRedstoneWireBlock. addPoweredParticles(World world, Random random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3)voidBeehiveBlock. afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)voidBlock. afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)voidIceBlock. afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)voidTallPlantBlock. afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)voidTurtleEggBlock. afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)private voidBeehiveBlock. angerNearbyBees(World world, BlockPos pos)voidCropBlock. applyGrowth(World world, BlockPos pos, BlockState state)private voidTurtleEggBlock. breakEgg(World world, BlockPos pos, BlockState state)private booleanTurtleEggBlock. breaksEgg(World world, Entity entity)private intComparatorBlock. calculateOutputSignal(World world, BlockPos pos, BlockState state)static booleanWitherSkullBlock. canDispense(World world, BlockPos pos, ItemStack stack)protected static booleanCauldronBlock. canFillWithPrecipitation(World world)booleanAbstractPlantBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanAbstractPlantStemBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanBambooBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanBambooSaplingBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanBigDripleafBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanBigDripleafStemBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanCaveVinesBodyBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanCaveVinesHeadBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanCocoaBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanCropBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanFernBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanFertilizable. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanFungusBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanGlowLichenBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanGrassBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanMossBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanMushroomPlantBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanNetherrackBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanNyliumBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanRootedDirtBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanSaplingBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanSeagrassBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanSeaPickleBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanSmallDripleafBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanStemBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanSweetBerryBushBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanTallFlowerBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)private static booleanShulkerBoxBlock. canOpen(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity)static booleanAbstractFireBlock. canPlaceAt(World world, BlockPos pos, Direction direction)private static voidBigDripleafBlock. changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt)private voidBigDripleafBlock. changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt, @Nullable SoundEvent sound)static voidRespawnAnchorBlock. charge(World world, BlockPos pos, BlockState state)protected static <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractFurnaceBlock. checkType(World world, BlockEntityType<T> givenType, BlockEntityType<? extends AbstractFurnaceBlockEntity> expectedType)static voidPointedDripstoneBlock. createParticle(World world, BlockPos pos, BlockState state)private static voidPointedDripstoneBlock. createParticle(World world, BlockPos pos, BlockState state, Fluid fluid)@Nullable NamedScreenHandlerFactoryAbstractBlock.AbstractBlockState. createScreenHandlerFactory(World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryAbstractBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)已过时。@Nullable NamedScreenHandlerFactoryAnvilBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryBlockWithEntity. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryCartographyTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryChestBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)NamedScreenHandlerFactoryCraftingTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryEnchantingTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)NamedScreenHandlerFactoryGrindstoneBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryLecternBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)NamedScreenHandlerFactoryLoomBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)NamedScreenHandlerFactorySmithingTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryStonecutterBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)static voidLeveledCauldronBlock. decrementFluidLevel(BlockState state, World world, BlockPos pos)private voidChorusFlowerBlock. die(World world, BlockPos pos)private voidLecternBlock. dropBook(BlockState state, World world, BlockPos pos)static voidBeehiveBlock. dropHoneycomb(World world, BlockPos pos)static voidBlock. dropStack(World world, BlockPos pos, ItemStack stack)static voidBlock. dropStacks(BlockState state, World world, BlockPos pos)static voidBlock. dropStacks(BlockState state, World world, BlockPos pos, @Nullable BlockEntity blockEntity, Entity entity, ItemStack stack)static BlockStateComposterBlock. emptyFullComposter(BlockState state, World world, BlockPos pos)private voidCommandBlock. execute(BlockState state, World world, BlockPos pos, CommandBlockExecutor executor, boolean hasCommand)private static voidCommandBlock. executeCommandChain(World world, BlockPos pos, Direction facing)private voidRespawnAnchorBlock. explode(BlockState state, World world, BlockPos explodedPos)protected voidAbstractCauldronBlock. fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid)protected voidCauldronBlock. fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid)protected voidLeveledCauldronBlock. fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid)private @Nullable ItemFrameEntityComparatorBlock. getAttachedItemFrame(World world, Direction facing, BlockPos pos)abstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>AbstractChestBlock. getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked)DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>ChestBlock. getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked)DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>EnderChestBlock. getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractBlock.AbstractBlockState. getBlockEntityTicker(World world, BlockEntityType<T> blockEntityType)private <T extends AbstractMinecartEntity>
List<T>DetectorRailBlock. getCarts(World world, BlockPos pos, Class<T> entityClass, Predicate<Entity> entityPredicate)private static @Nullable BlockPosPointedDripstoneBlock. getCauldronPos(World world, BlockPos pos, Fluid fluid)intAbstractBlock.AbstractBlockState. getComparatorOutput(World world, BlockPos pos)intAbstractBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)已过时。intAbstractFurnaceBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intBarrelBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intBeehiveBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intBrewingStandBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intCakeBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intCandleCakeBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intChestBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intCommandBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intComposterBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intDetectorRailBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intDispenserBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intEndPortalFrameBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intHopperBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intJukeboxBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intLavaCauldronBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intLecternBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intLeveledCauldronBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intRespawnAnchorBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intSculkSensorBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)intShulkerBoxBlock. getComparatorOutput(BlockState state, World world, BlockPos pos)private static FluidPointedDripstoneBlock. getDripFluid(World world, Fluid fluid)static FluidPointedDripstoneBlock. getDripFluid(World world, BlockPos pos)static @Nullable BlockPosPointedDripstoneBlock. getDripPos(World world, BlockPos pos)private static Optional<Fluid>PointedDripstoneBlock. getFluid(World world, BlockPos pos, BlockState state)default <T extends BlockEntity>
@Nullable GameEventListenerBlockEntityProvider. getGameEventListener(World world, T blockEntity)<T extends BlockEntity>
@Nullable GameEventListenerSculkSensorBlock. getGameEventListener(World world, T blockEntity)protected intBeetrootsBlock. getGrowthAmount(World world)protected intCropBlock. getGrowthAmount(World world)static @Nullable InventoryChestBlock. getInventory(ChestBlock block, BlockState state, World world, BlockPos pos, boolean ignoreBlocked)protected intAbstractRedstoneGateBlock. getPower(World world, BlockPos pos, BlockState state)protected intComparatorBlock. getPower(World world, BlockPos pos, BlockState state)private intRedstoneWireBlock. getReceivedRedstonePower(World world, BlockPos pos)protected abstract intAbstractPressurePlateBlock. getRedstoneOutput(World world, BlockPos pos)protected intPressurePlateBlock. getRedstoneOutput(World world, BlockPos pos)protected intWeightedPressurePlateBlock. getRedstoneOutput(World world, BlockPos pos)private static Optional<BlockPos>PointedDripstoneBlock. getSupportingPos(World world, BlockPos pos, BlockState state, int range)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractSkullBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeaconBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeehiveBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BellBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlastFurnaceBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)default <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlockEntityProvider. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BrewingStandBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>CampfireBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ChestBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ConduitBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>DaylightDetectorBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnchantingTableBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnderChestBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EndGatewayBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>FurnaceBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>HopperBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>PistonExtensionBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkSensorBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ShulkerBoxBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SmokerBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SpawnerBlock. getTicker(World world, BlockState state, BlockEntityType<T> type)protected voidBambooSaplingBlock. grow(World world, BlockPos pos)private voidChorusFlowerBlock. grow(World world, BlockPos pos, int age)private booleanBeehiveBlock. hasBees(World world, BlockPos pos)protected booleanAbstractRedstoneGateBlock. hasPower(World world, BlockPos pos, BlockState state)protected booleanComparatorBlock. hasPower(World world, BlockPos pos, BlockState state)private static booleanRespawnAnchorBlock. hasStillWater(BlockPos pos, World world)private booleanFrostedIceBlock. increaseAge(BlockState state, World world, BlockPos pos)private static booleanRedstoneTorchBlock. isBurnedOut(World world, BlockPos pos, boolean addNew)private booleanBedBlock. isFree(World world, BlockPos pos)static booleanCampfireBlock. isLitCampfireInRange(World world, BlockPos pos)static booleanPistonBlock. isMovable(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir)static booleanRespawnAnchorBlock. isNether(World world)static booleanBedBlock. isOverworld(World world)private static booleanAbstractFireBlock. isOverworldOrNether(World world)protected booleanPoweredRailBlock. isPoweredByOtherRails(World world, BlockPos pos, boolean bool, int distance, RailShape shape)protected booleanPoweredRailBlock. isPoweredByOtherRails(World world, BlockPos pos, BlockState state, boolean bool, int distance)static booleanAbstractRailBlock. isRail(World world, BlockPos pos)protected booleanFireBlock. isRainingAround(World world, BlockPos pos)static booleanDoorBlock. isWoodenDoor(World world, BlockPos pos)private static voidRedstoneOreBlock. light(BlockState state, World world, BlockPos pos)protected voidIceBlock. melt(BlockState state, World world, BlockPos pos)private booleanPistonBlock. move(World world, BlockPos pos, Direction dir, boolean retract)voidAbstractBlock.AbstractBlockState. neighborUpdate(World world, BlockPos pos, Block block, BlockPos posFrom, boolean notify)voidAbstractBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)已过时。voidAbstractRailBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidAbstractRedstoneGateBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidBellBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidBigDripleafBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidCommandBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidDispenserBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidDoorBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidFenceGateBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidFluidBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidFrostedIceBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidHopperBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidNoteBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidPistonBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidPistonHeadBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidRedstoneLampBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidRedstoneTorchBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidRedstoneWireBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidSpongeBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidStructureBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidTntBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidTrapdoorBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidAbstractBlock.AbstractBlockState. onBlockAdded(World world, BlockPos pos, BlockState state, boolean notify)voidAbstractBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)已过时。voidAbstractFireBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidAbstractRailBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidAbstractRedstoneGateBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidCarvedPumpkinBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidComposterBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidCoralBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidCoralFanBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidCoralWallFanBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidDetectorRailBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidFallingBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidFireBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidFluidBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidHopperBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidMagmaBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidObserverBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidPistonBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidRedstoneTorchBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidRedstoneWireBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidScaffoldingBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidSculkSensorBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidSoulSandBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidSpongeBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidStairsBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidTargetBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidTntBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidTripwireBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidTurtleEggBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidWetSpongeBlock. onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidAbstractBlock.AbstractBlockState. onBlockBreakStart(World world, BlockPos pos, PlayerEntity player)voidAbstractBlock. onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)已过时。voidDragonEggBlock. onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)voidNoteBlock. onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)voidRedstoneOreBlock. onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)voidStairsBlock. onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player)voidAbstractFireBlock. onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)voidBedBlock. onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)voidBeehiveBlock. onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)voidBlock. onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)voidDoorBlock. onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)voidPistonHeadBlock. onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)voidShulkerBoxBlock. onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)voidTallPlantBlock. onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)voidTntBlock. onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)voidTripwireBlock. onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)protected static voidTallPlantBlock. onBreakInCreative(World world, BlockPos pos, BlockState state, PlayerEntity player)Destroys a bottom half of a tall double block (such as a plant or a door) without dropping an item when broken in creative.voidBlock. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)Called when this block is destroyed by an explosion.voidInfestedBlock. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)Called when this block is destroyed by an explosion.voidStairsBlock. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)Called when this block is destroyed by an explosion.voidTntBlock. onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion)Called when this block is destroyed by an explosion.voidAnvilBlock. onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity)default voidLandingBlock. onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity)voidPointedDripstoneBlock. onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity)voidAbstractBlock.AbstractBlockState. onEntityCollision(World world, BlockPos pos, Entity entity)voidAbstractBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)已过时。voidAbstractButtonBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidAbstractFireBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidAbstractPressurePlateBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidBigDripleafBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidBubbleColumnBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidCactusBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidCampfireBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidCobwebBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidCropBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidDetectorRailBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidEndPortalBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidHoneyBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidHopperBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidLavaCauldronBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidLeveledCauldronBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidLilyPadBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidNetherPortalBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidPowderSnowBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidSweetBerryBushBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidTripwireBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidWitherRoseBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidBedBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidFarmlandBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidHayBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidHoneyBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidPointedDripstoneBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidSlimeBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidTurtleEggBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidAnvilBlock. onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity)voidConcretePowderBlock. onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity)default voidLandingBlock. onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity)voidAbstractBannerBlock. onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)voidAbstractFurnaceBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidAbstractRedstoneGateBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidBarrelBlock. onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)voidBeaconBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidBedBlock. onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)voidBlock. onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)voidBrewingStandBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidChestBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidCommandBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidConduitBlock. onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)voidDispenserBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidDoorBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidEnchantingTableBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidHopperBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidJukeboxBlock. onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)voidPistonBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidPlayerSkullBlock. onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)voidShulkerBoxBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidSmallDripleafBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidStructureBlock. onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)voidTallPlantBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidTripwireHookBlock. onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)voidWallPlayerSkullBlock. onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)voidWallWitherSkullBlock. onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)voidWitherSkullBlock. onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack)static voidWitherSkullBlock. onPlaced(World world, BlockPos pos, SkullBlockEntity blockEntity)voidAbstractBlock.AbstractBlockState. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidAbstractBlock. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)已过时。voidAbstractCandleBlock. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidAmethystBlock. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidBellBlock. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidBigDripleafBlock. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidCampfireBlock. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidChorusFlowerBlock. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidLightningRodBlock. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidPointedDripstoneBlock. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidTargetBlock. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidTntBlock. onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)voidAbstractBlock.AbstractBlockState. onStateReplaced(World world, BlockPos pos, BlockState state, boolean moved)voidAbstractBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)已过时。voidAbstractButtonBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractFurnaceBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractPressurePlateBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractRailBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractRedstoneGateBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidBarrelBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidBrewingStandBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidCampfireBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidChestBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidDispenserBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidHopperBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidJukeboxBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidLecternBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidLeverBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidLightningRodBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidObserverBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidPistonExtensionBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidPistonHeadBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidRedstoneTorchBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidRedstoneWireBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidSculkSensorBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidShulkerBoxBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidStairsBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidTripwireBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidTripwireHookBlock. onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidMagmaBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidRedstoneOreBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidSlimeBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidStairsBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidTurtleEggBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.booleanAbstractBlock.AbstractBlockState. onSyncedBlockEvent(World world, BlockPos pos, int type, int data)booleanAbstractBlock. onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)已过时。booleanBlockWithEntity. onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)booleanComparatorBlock. onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)booleanNoteBlock. onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)booleanPistonBlock. onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data)ActionResultAbstractBlock.AbstractBlockState. onUse(World world, PlayerEntity player, Hand hand, BlockHitResult hit)ActionResultAbstractBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)已过时。ActionResultAbstractButtonBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAbstractCauldronBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAbstractFurnaceBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAbstractSignBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAnvilBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBarrelBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBeaconBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBedBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBeehiveBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBellBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBrewingStandBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCakeBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCampfireBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCandleBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCandleCakeBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCartographyTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCaveVinesBodyBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCaveVinesHeadBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultChestBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCommandBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultComparatorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultComposterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCraftingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDaylightDetectorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDispenserBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDoorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDragonEggBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultEnchantingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultEnderChestBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFenceBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFenceGateBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFletchingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFlowerPotBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultGrindstoneBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultHopperBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultJigsawBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultJukeboxBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLecternBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLeverBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLightBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLoomBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultNoteBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultPistonExtensionBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultPumpkinBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRedstoneOreBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRedstoneWireBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRepeaterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRespawnAnchorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultShulkerBoxBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultSmithingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultStairsBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultStonecutterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultStructureBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultSweetBerryBushBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultTntBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultTrapdoorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.protected abstract voidAbstractFurnaceBlock. openScreen(World world, BlockPos pos, PlayerEntity player)protected voidBlastFurnaceBlock. openScreen(World world, BlockPos pos, PlayerEntity player)protected voidFurnaceBlock. openScreen(World world, BlockPos pos, PlayerEntity player)private voidLecternBlock. openScreen(World world, BlockPos pos, PlayerEntity player)protected voidSmokerBlock. openScreen(World world, BlockPos pos, PlayerEntity player)static ActionResultCaveVines. pickBerries(BlockState state, World world, BlockPos pos)static voidComposterBlock. playEffects(World world, BlockPos pos, boolean fill)private voidNoteBlock. playNote(World world, BlockPos pos)private voidDoorBlock. playOpenCloseSound(World world, BlockPos pos, boolean open)private voidTripwireHookBlock. playSound(World world, BlockPos pos, boolean attached, boolean on, boolean detached, boolean off)private static voidBigDripleafBlock. playTiltSound(World world, BlockPos pos, SoundEvent soundEvent)protected voidTrapdoorBlock. playToggleSound(@Nullable PlayerEntity player, World world, BlockPos pos, boolean open)voidAbstractButtonBlock. powerOn(BlockState state, World world, BlockPos pos)voidBlock. precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation)voidCauldronBlock. precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation)voidLeveledCauldronBlock. precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation)static voidTntBlock. primeTnt(World world, BlockPos pos)private static voidTntBlock. primeTnt(World world, BlockPos pos, @Nullable LivingEntity igniter)static BlockStateBlock. pushEntitiesUpBeforeBlockChange(BlockState from, BlockState to, World world, BlockPos pos)private static voidLecternBlock. putBook(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack)static booleanLecternBlock. putBookIfAbsent(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack)voidAbstractCandleBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidAbstractFireBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidBeehiveBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidBlastFurnaceBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidBrewingStandBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidBubbleColumnBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidCampfireBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidCryingObsidianBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidEnchantingTableBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidEnderChestBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidEndGatewayBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidEndPortalBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidEndRodBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidFallingBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidFurnaceBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidLeavesBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidLeverBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidLightningRodBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidMyceliumBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidNetherPortalBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidPointedDripstoneBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidRedstoneOreBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidRedstoneTorchBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidRedstoneWireBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidRepeaterBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidRespawnAnchorBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidSculkSensorBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidSmokerBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidSporeBlossomBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidStairsBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidTorchBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidWallRedstoneTorchBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidWallTorchBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidWetSpongeBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)voidWitherRoseBlock. randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)private booleanFluidBlock. receiveNeighborFluids(World world, BlockPos pos, BlockState state)private voidJukeboxBlock. removeRecord(World world, BlockPos pos)private static voidBigDripleafBlock. resetTilt(BlockState state, World world, BlockPos pos)booleanBellBlock. ring(@Nullable Entity entity, World world, BlockPos pos, @Nullable Direction direction)booleanBellBlock. ring(World world, BlockState state, BlockHitResult hitResult, @Nullable PlayerEntity player, boolean bool)booleanBellBlock. ring(World world, BlockPos pos, @Nullable Direction direction)static voidSculkSensorBlock. setActive(World world, BlockPos pos, BlockState state, int power)static voidSculkSensorBlock. setCooldown(World world, BlockPos pos, BlockState state)static voidLecternBlock. setHasBook(World world, BlockPos pos, BlockState state, boolean hasBook)voidDoorBlock. setOpen(@Nullable Entity entity, World world, BlockState state, BlockPos pos, boolean open)static voidLecternBlock. setPowered(World world, BlockPos pos, BlockState state)private static voidLecternBlock. setPowered(World world, BlockPos pos, BlockState state, boolean powered)voidLightningRodBlock. setPowered(BlockState state, World world, BlockPos pos)static voidFarmlandBlock. setToDirt(BlockState state, World world, BlockPos pos)private static booleanAbstractRailBlock. shouldDropRail(BlockPos pos, World world, RailShape shape)Checks if this rail should be dropped.private booleanPistonBlock. shouldExtend(World world, BlockPos pos, Direction pistonFace)private booleanTurtleEggBlock. shouldHatchProgress(World world)private static booleanAbstractFireBlock. shouldLightPortalAt(World world, BlockPos pos, Direction direction)protected booleanRedstoneTorchBlock. shouldUnpower(World world, BlockPos pos, BlockState state)protected booleanWallRedstoneTorchBlock. shouldUnpower(World world, BlockPos pos, BlockState state)protected voidAbstractFireBlock. spawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state)protected voidBlock. spawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state)private static voidAbstractCandleBlock. spawnCandleParticles(World world, Vec3d vec3d, Random random)private voidBeehiveBlock. spawnHoneyParticles(World world, BlockPos pos, BlockState state)static voidPowderSnowBlock. spawnParticles(World world, Vec3d pos)private static voidRedstoneOreBlock. spawnParticles(World world, BlockPos pos)static voidCampfireBlock. spawnSmokeParticle(World world, BlockPos pos, boolean isSignal, boolean lotsOfSmoke)voidBeehiveBlock. takeHoney(World world, BlockState state, BlockPos pos)voidBeehiveBlock. takeHoney(World world, BlockState state, BlockPos pos, @Nullable PlayerEntity player, BeehiveBlockEntity.BeeState beeState)private voidDragonEggBlock. teleport(BlockState state, World world, BlockPos pos)private static voidDaylightDetectorBlock. tick(World world, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity)BlockStateLeverBlock. togglePower(BlockState state, World world, BlockPos pos)private voidTurtleEggBlock. tryBreakEgg(World world, BlockPos pos, Entity entity, int inverseChance)private voidPistonBlock. tryMove(World world, BlockPos pos, BlockState state)private voidAbstractButtonBlock. tryPowerWithProjectiles(BlockState state, World world, BlockPos pos)private voidCarvedPumpkinBlock. trySpawnEntity(World world, BlockPos pos)private voidFireBlock. trySpreadingFire(World world, BlockPos pos, int spreadFactor, Random rand, int currentAge)private voidComparatorBlock. update(World world, BlockPos pos, BlockState state)private voidRedstoneWireBlock. update(World world, BlockPos pos, BlockState state)protected voidSpongeBlock. update(World world, BlockPos pos)private voidTripwireBlock. update(World world, BlockPos pos, BlockState state)voidTripwireHookBlock. update(World world, BlockPos pos, BlockState state, boolean beingRemoved, boolean bool, int int2, @Nullable BlockState blockState)protected voidAbstractRailBlock. updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)protected BlockStateAbstractRailBlock. updateBlockState(World world, BlockPos pos, BlockState state, boolean forceUpdate)protected voidPoweredRailBlock. updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)protected voidRailBlock. updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)protected BlockStateAbstractRailBlock. updateCurves(BlockState state, World world, BlockPos pos, boolean notify)private voidHopperBlock. updateEnabled(World world, BlockPos pos, BlockState state)private voidRedstoneWireBlock. updateForNewState(World world, BlockPos pos, BlockState oldState, BlockState newState)protected voidBambooBlock. updateLeaves(BlockState state, World world, BlockPos pos, Random random, int height)protected voidDetectorRailBlock. updateNearbyRails(World world, BlockPos pos, BlockState state, boolean unpowering)private static voidLecternBlock. updateNeighborAlways(World world, BlockPos pos, BlockState state)private voidAbstractButtonBlock. updateNeighbors(BlockState state, World world, BlockPos pos)protected voidAbstractPressurePlateBlock. updateNeighbors(World world, BlockPos pos)private voidLeverBlock. updateNeighbors(BlockState state, World world, BlockPos pos)private voidLightningRodBlock. updateNeighbors(BlockState state, World world, BlockPos pos)protected voidObserverBlock. updateNeighbors(World world, BlockPos pos, BlockState state)private voidRedstoneWireBlock. updateNeighbors(World world, BlockPos pos)private static voidSculkSensorBlock. updateNeighbors(World world, BlockPos pos)private voidTripwireHookBlock. updateNeighborsOnAxis(World world, BlockPos pos, Direction direction)private voidRedstoneWireBlock. updateOffsetNeighbors(World world, BlockPos pos)protected voidAbstractPressurePlateBlock. updatePlateState(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int output)protected voidAbstractRedstoneGateBlock. updatePowered(World world, BlockPos pos, BlockState state)protected voidComparatorBlock. updatePowered(World world, BlockPos pos, BlockState state)private voidTripwireBlock. updatePowered(World world, BlockPos pos)private voidDetectorRailBlock. updatePoweredStatus(World world, BlockPos pos, BlockState state)private static voidDaylightDetectorBlock. updateState(BlockState state, World world, BlockPos pos)protected voidAbstractRedstoneGateBlock. updateTarget(World world, BlockPos pos, BlockState state)参数类型为World的net.minecraft.block中的构造器 构造器 说明 RailPlacementHelper(World world, BlockPos pos, BlockState state) -
net.minecraft.block.cauldron中World的使用
参数类型为World的net.minecraft.block.cauldron中的方法 修饰符和类型 方法 说明 static ActionResultCauldronBehavior. emptyCauldron(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> predicate, SoundEvent soundEvent)static ActionResultCauldronBehavior. fillCauldron(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent)ActionResultCauldronBehavior. interact(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) -
net.minecraft.block.dispenser中World的使用
参数类型为World的net.minecraft.block.dispenser中的方法 修饰符和类型 方法 说明 protected abstract ProjectileEntityProjectileDispenserBehavior. createProjectile(World world, Position position, ItemStack stack)static voidItemDispenserBehavior. spawnItem(World world, ItemStack stack, int offset, Direction side, Position pos) -
net.minecraft.block.entity中World的使用
声明为World的net.minecraft.block.entity中的字段 修饰符和类型 字段 说明 protected @Nullable WorldBlockEntity. world返回World的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 @Nullable WorldBlockEntity. getWorld()参数类型为World的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 voidSculkSensorBlockEntity. accept(World world, GameEventListener listener, GameEvent event, int distance)Accepts a game event after delay.booleanSculkSensorBlockEntity. accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity)Returns whether the callback wants to accept this event.private static voidBellBlockEntity. applyGlowToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities)private static voidBellBlockEntity. applyParticlesToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities)SpawnsParticleTypes.ENTITY_EFFECTparticles around raiders within 48 blocks.private static voidBeaconBlockEntity. applyPlayerEffects(World world, BlockPos pos, int beaconLevel, @Nullable StatusEffect primaryEffect, @Nullable StatusEffect secondaryEffect)private static voidConduitBlockEntity. attackHostileEntity(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity)static voidBellBlockEntity. clientTick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity)static voidCampfireBlockEntity. clientTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire)static voidChestBlockEntity. clientTick(World world, BlockPos pos, BlockState state, ChestBlockEntity blockEntity)static voidConduitBlockEntity. clientTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity)static voidEnderChestBlockEntity. clientTick(World world, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity)static voidEndGatewayBlockEntity. clientTick(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity)static voidMobSpawnerBlockEntity. clientTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)voidChestStateManager. closeChest(PlayerEntity player, World world, BlockPos pos, BlockState state)private static voidBrewingStandBlockEntity. craft(World world, BlockPos pos, DefaultedList<ItemStack> slots)static booleanHopperBlockEntity. extract(World world, Hopper hopper)private static BlockPosEndGatewayBlockEntity. findBestPortalExitPos(World world, BlockPos pos)private static @Nullable LivingEntityConduitBlockEntity. findTargetEntity(World world, BlockPos pos, UUID uuid)private static WorldChunkEndGatewayBlockEntity. getChunk(World world, Vec3d pos)private static intAbstractFurnaceBlockEntity. getCookTime(World world, RecipeType<? extends AbstractCookingRecipe> recipeType, Inventory inventory)private static @Nullable InventoryHopperBlockEntity. getInputInventory(World world, Hopper hopper)static List<ItemEntity>HopperBlockEntity. getInputItemEntities(World world, Hopper hopper)private intChestStateManager. getInRangeViewerCount(World world, BlockPos pos)private static @Nullable InventoryHopperBlockEntity. getInventoryAt(World world, double x, double y, double z)static @Nullable InventoryHopperBlockEntity. getInventoryAt(World world, BlockPos pos)private static @Nullable InventoryHopperBlockEntity. getOutputInventory(World world, BlockPos pos, BlockState state)private static voidConduitBlockEntity. givePlayersEffects(World world, BlockPos pos, List<BlockPos> activatingBlocks)private static booleanHopperBlockEntity. insert(World world, BlockPos pos, BlockState state, Inventory inventory)private static booleanHopperBlockEntity. insertAndExtract(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier)static voidCampfireBlockEntity. litServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire)protected static voidBlockEntity. markDirty(World world, BlockPos pos, BlockState state)private static voidPistonBlockEntity. moveEntitiesInHoneyBlock(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity)protected abstract voidChestStateManager. onChestClosed(World world, BlockPos pos, BlockState state)Run when this chest closes (when the viewer count reaches zero).protected abstract voidChestStateManager. onChestOpened(World world, BlockPos pos, BlockState state)Run when this chest is opened (when the viewer count becomes nonzero).static voidHopperBlockEntity. onEntityCollided(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity)protected abstract voidChestStateManager. onInteracted(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)Run when a player interacts with this chest.protected voidChestBlockEntity. onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)protected voidTrappedChestBlockEntity. onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)voidChestStateManager. openChest(PlayerEntity player, World world, BlockPos pos, BlockState state)static voidBeaconBlockEntity. playSound(World world, BlockPos pos, SoundEvent sound)private static voidChestBlockEntity. playSound(World world, BlockPos pos, BlockState state, SoundEvent soundEvent)private static voidPistonBlockEntity. pushEntities(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity)private voidShulkerBoxBlockEntity. pushEntities(World world, BlockPos pos, BlockState state)private static booleanBeehiveBlockEntity. releaseBee(World world, BlockPos pos, BlockState state, BeehiveBlockEntity.Bee bee, @Nullable List<Entity> entities, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos flowerPos)voidBellBlockEntity.Effect. run(World world, BlockPos pos, List<LivingEntity> hearingEntities)private static voidChestStateManager. scheduleBlockTick(World world, BlockPos pos, BlockState state)static voidBeehiveBlockEntity. serverTick(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity)static voidBellBlockEntity. serverTick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity)static voidConduitBlockEntity. serverTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity)static voidEndGatewayBlockEntity. serverTick(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity)static voidHopperBlockEntity. serverTick(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity)static voidMobSpawnerBlockEntity. serverTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)voidBeaconBlockEntity. setWorld(World world)voidBlockEntity. setWorld(World world)private static voidConduitBlockEntity. spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int int2)private static voidEndGatewayBlockEntity. startTeleportCooldown(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity)static voidAbstractFurnaceBlockEntity. tick(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity)static voidBeaconBlockEntity. tick(World world, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity)private static voidBellBlockEntity. tick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity, BellBlockEntity.Effect bellEffect)voidBlockEntityTicker. tick(World world, BlockPos pos, BlockState state, T blockEntity)Runs this action on the given block entity.static voidBrewingStandBlockEntity. tick(World world, BlockPos pos, BlockState state, BrewingStandBlockEntity blockEntity)static voidEnchantingTableBlockEntity. tick(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity)static voidPistonBlockEntity. tick(World world, BlockPos pos, BlockState state, PistonBlockEntity blockEntity)static voidShulkerBoxBlockEntity. tick(World world, BlockPos pos, BlockState state, ShulkerBoxBlockEntity blockEntity)static voidSkullBlockEntity. tick(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity)private static voidBeehiveBlockEntity. tickBees(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos)static voidEndGatewayBlockEntity. tryTeleportingEntity(World world, BlockPos pos, BlockState state, Entity entity, EndGatewayBlockEntity blockEntity)static voidCampfireBlockEntity. unlitServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire)private static booleanConduitBlockEntity. updateActivatingBlocks(World world, BlockPos pos, List<BlockPos> activatingBlocks)private voidShulkerBoxBlockEntity. updateAnimation(World world, BlockPos pos, BlockState state)private static intBeaconBlockEntity. updateLevel(World world, int x, int y, int z)private static voidShulkerBoxBlockEntity. updateNeighborStates(World world, BlockPos pos, BlockState state)private static voidConduitBlockEntity. updateTargetEntity(World world, BlockPos pos, ConduitBlockEntity blockEntity)voidChestStateManager. updateViewerCount(World world, BlockPos pos, BlockState state) -
net.minecraft.block.piston中World的使用
声明为World的net.minecraft.block.piston中的字段 修饰符和类型 字段 说明 private WorldPistonHandler. world参数类型为World的net.minecraft.block.piston中的构造器 构造器 说明 PistonHandler(World world, BlockPos pos, Direction dir, boolean retracted) -
net.minecraft.client.color.block中World的使用
参数类型为World的net.minecraft.client.color.block中的方法 修饰符和类型 方法 说明 intBlockColors. getColor(BlockState state, World world, BlockPos pos) -
net.minecraft.client.gui.hud中World的使用
返回World的net.minecraft.client.gui.hud中的方法 修饰符和类型 方法 说明 private WorldDebugHud. getWorld() -
net.minecraft.client.gui.screen.world中World的使用
类型参数类型为World的net.minecraft.client.gui.screen.world中的字段 修饰符和类型 字段 说明 private static Object2IntMap<RegistryKey<World>>OptimizeWorldScreen. DIMENSION_COLORS类型变量类型为World的net.minecraft.client.gui.screen.world中的构造器参数 构造器 说明 OptimizeWorldScreen(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, ImmutableSet<RegistryKey<World>> worlds) -
net.minecraft.client.network中World的使用
类型参数类型为World的net.minecraft.client.network中的字段 修饰符和类型 字段 说明 private Set<RegistryKey<World>>ClientPlayNetworkHandler. worldKeys返回变量类型为World的类型的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 Set<RegistryKey<World>>ClientCommandSource. getWorldKeys()Set<RegistryKey<World>>ClientPlayNetworkHandler. getWorldKeys()参数类型为World的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 ActionResultClientPlayerInteractionManager. interactItem(PlayerEntity player, World world, Hand hand) -
net.minecraft.client.render中World的使用
声明为World的net.minecraft.client.render中的字段 修饰符和类型 字段 说明 protected WorldBuiltChunkStorage. world参数类型为World的net.minecraft.client.render中的方法 修饰符和类型 方法 说明 private floatLightmapTextureManager. getBrightness(World world, int int2)private voidWorldRenderer. updateEntitiesForSong(World world, BlockPos pos, boolean playing)参数类型为World的net.minecraft.client.render中的构造器 构造器 说明 BuiltChunkStorage(ChunkBuilder chunkBuilder, World world, int viewDistance, WorldRenderer worldRenderer) -
net.minecraft.client.render.block.entity中World的使用
声明为World的net.minecraft.client.render.block.entity中的字段 修饰符和类型 字段 说明 WorldBlockEntityRenderDispatcher. world参数类型为World的net.minecraft.client.render.block.entity中的方法 修饰符和类型 方法 说明 voidBlockEntityRenderDispatcher. configure(World world, Camera camera, HitResult crosshairTarget)private voidPistonBlockEntityRenderer. renderModel(BlockPos pos, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, boolean cull, int overlay)voidBlockEntityRenderDispatcher. setWorld(@Nullable World world) -
net.minecraft.client.render.chunk中World的使用
声明为World的net.minecraft.client.render.chunk中的字段 修饰符和类型 字段 说明 private WorldChunkBuilder. worldprotected WorldChunkRendererRegion. world参数类型为World的net.minecraft.client.render.chunk中的方法 修饰符和类型 方法 说明 static @Nullable ChunkRendererRegionChunkRendererRegion. create(World world, BlockPos startPos, BlockPos endPos, int chunkRadius)voidChunkBuilder. setWorld(World world)参数类型为World的net.minecraft.client.render.chunk中的构造器 构造器 说明 ChunkBuilder(World world, WorldRenderer worldRenderer, Executor executor, boolean is64Bits, BlockBufferBuilderStorage buffers)ChunkRendererRegion(World world, int chunkX, int chunkZ, WorldChunk[][] chunks, BlockPos startPos, BlockPos endPos) -
net.minecraft.client.render.debug中World的使用
参数类型为World的net.minecraft.client.render.debug中的方法 修饰符和类型 方法 说明 Optional<BlockPos>GameEventDebugRenderer.Listener. getPos(World world)booleanGameEventDebugRenderer.Listener. isTooFar(World world, BlockPos pos)booleanGameEventDebugRenderer.Listener. listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)Listens to an incoming game event. -
net.minecraft.client.render.entity中World的使用
声明为World的net.minecraft.client.render.entity中的字段 修饰符和类型 字段 说明 private WorldEntityRenderDispatcher. world参数类型为World的net.minecraft.client.render.entity中的方法 修饰符和类型 方法 说明 voidEntityRenderDispatcher. configure(World world, Camera camera, Entity target)voidEntityRenderDispatcher. setWorld(@Nullable World world) -
net.minecraft.client.render.item中World的使用
参数类型为World的net.minecraft.client.render.item中的方法 修饰符和类型 方法 说明 BakedModelItemRenderer. getHeldItemModel(ItemStack itemStack, @Nullable World world, @Nullable LivingEntity entity, int seed)voidItemRenderer. renderItem(@Nullable LivingEntity entity, ItemStack item, ModelTransformation.Mode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int light, int overlay, int seed) -
net.minecraft.client.util中World的使用
参数类型为World的net.minecraft.client.util中的方法 修饰符和类型 方法 说明 static voidParticleUtil. spawnParticle(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range)static voidParticleUtil. spawnParticle(World world, BlockPos pos, ParticleEffect effect, UniformIntProvider range)static voidParticleUtil. spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect) -
net.minecraft.client.world中World的使用
net.minecraft.client.world中World的子类 修饰符和类型 类 说明 classClientWorld类型变量类型为World的net.minecraft.client.world中的构造器参数 构造器 说明 ClientWorld(ClientPlayNetworkHandler networkHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, DimensionType dimensionType, int loadDistance, Supplier<Profiler> profiler, WorldRenderer worldRenderer, boolean debugWorld, long seed) -
net.minecraft.command中World的使用
返回变量类型为World的类型的net.minecraft.command中的方法 修饰符和类型 方法 说明 Set<RegistryKey<World>>CommandSource. getWorldKeys() -
net.minecraft.enchantment中World的使用
参数类型为World的net.minecraft.enchantment中的方法 修饰符和类型 方法 说明 static voidFrostWalkerEnchantment. freezeWater(LivingEntity entity, World world, BlockPos blockPos, int level) -
net.minecraft.entity中World的使用
声明为World的net.minecraft.entity中的字段 修饰符和类型 字段 说明 WorldEntity. world返回World的net.minecraft.entity中的方法 修饰符和类型 方法 说明 WorldEntity. getEntityWorld()WorldFallingBlockEntity. getWorldClient()参数类型为World的net.minecraft.entity中的方法 修饰符和类型 方法 说明 static Vec3dEntity. adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, ShapeContext context, ReusableStream<VoxelShape> collisions)private voidLivingEntity. applyFoodEffects(ItemStack stack, World world, LivingEntity targetEntity)private static voidLightningEntity. cleanOxidization(World world, BlockPos pos)private static Optional<BlockPos>LightningEntity. cleanOxidizationAround(World world, BlockPos pos)private static voidLightningEntity. cleanOxidizationAround(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count)TEntityType. create(World world)TEntityType.EntityFactory. create(EntityType<T> type, World world)static @Nullable EntityEntityType. createInstanceFromId(int type, World world)ItemStackLivingEntity. eatFood(World world, ItemStack stack)static Optional<Entity>EntityType. getEntityFromNbt(CompoundTag nbt, World world)private static Optional<Entity>EntityType. loadEntityFromNbt(CompoundTag nbt, World world)static @Nullable EntityEntityType. loadEntityWithPassengers(CompoundTag nbt, World world, Function<Entity,Entity> entityProcessor)static voidEntityType. loadFromEntityNbt(World world, @Nullable PlayerEntity player, @Nullable Entity entity, @Nullable CompoundTag itemNbt)private static @Nullable EntityEntityType. newInstance(World world, @Nullable EntityType<?> type)static Stream<Entity>EntityType. streamFromNbt(List<? extends Tag> entityNbtList, World world)参数类型为World的net.minecraft.entity中的构造器 构造器 说明 AreaEffectCloudEntity(EntityType<? extends AreaEffectCloudEntity> type, World world)AreaEffectCloudEntity(World world, double x, double y, double z)Entity(EntityType<?> type, World world)ExperienceOrbEntity(EntityType<? extends ExperienceOrbEntity> type, World world)ExperienceOrbEntity(World world, double x, double y, double z, int amount)EyeOfEnderEntity(EntityType<? extends EyeOfEnderEntity> type, World world)EyeOfEnderEntity(World world, double x, double y, double z)FallingBlockEntity(EntityType<? extends FallingBlockEntity> type, World world)FallingBlockEntity(World world, double x, double y, double z, BlockState block)ItemEntity(EntityType<? extends ItemEntity> type, World world)ItemEntity(World world, double x, double y, double z)ItemEntity(World world, double x, double y, double z, ItemStack stack)LightningEntity(EntityType<? extends LightningEntity> type, World world)LivingEntity(EntityType<? extends LivingEntity> type, World world)TntEntity(EntityType<? extends TntEntity> type, World world)TntEntity(World world, double x, double y, double z, @Nullable LivingEntity igniter) -
net.minecraft.entity.ai.goal中World的使用
声明为World的net.minecraft.entity.ai.goal中的字段 修饰符和类型 字段 说明 protected WorldAnimalMateGoal. worldprivate WorldEatGrassGoal. worldprivate WorldEscapeSunlightGoal. worldprivate WorldWolfBegGoal. world参数类型为World的net.minecraft.entity.ai.goal中的方法 修饰符和类型 方法 说明 voidStepAndDestroyBlockGoal. onDestroyBlock(World world, BlockPos pos) -
net.minecraft.entity.ai.pathing中World的使用
声明为World的net.minecraft.entity.ai.pathing中的字段 修饰符和类型 字段 说明 protected WorldEntityNavigation. world参数类型为World的net.minecraft.entity.ai.pathing中的构造器 构造器 说明 BirdNavigation(MobEntity mob, World world)EntityNavigation(MobEntity mob, World world)MobNavigation(MobEntity mob, World world)SpiderNavigation(MobEntity mob, World world)SwimNavigation(MobEntity mob, World world) -
net.minecraft.entity.boss中World的使用
参数类型为World的net.minecraft.entity.boss中的构造器 构造器 说明 WitherEntity(EntityType<? extends WitherEntity> type, World world) -
net.minecraft.entity.boss.dragon中World的使用
参数类型为World的net.minecraft.entity.boss.dragon中的构造器 构造器 说明 EnderDragonEntity(EntityType<? extends EnderDragonEntity> type, World world) -
net.minecraft.entity.decoration中World的使用
参数类型为World的net.minecraft.entity.decoration中的方法 修饰符和类型 方法 说明 static LeashKnotEntityLeashKnotEntity. getOrCreate(World world, BlockPos pos) -
net.minecraft.entity.decoration.painting中World的使用
参数类型为World的net.minecraft.entity.decoration.painting中的构造器 构造器 说明 PaintingEntity(EntityType<? extends PaintingEntity> type, World world)PaintingEntity(World world, BlockPos pos, Direction direction)PaintingEntity(World world, BlockPos pos, Direction direction, PaintingMotive motive) -
net.minecraft.entity.mob中World的使用
声明为World的net.minecraft.entity.mob中的字段 修饰符和类型 字段 说明 private WorldDrownedEntity.WanderAroundOnSurfaceGoal. world参数类型为World的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 private booleanEndermanEntity.PlaceBlockGoal. canPlaceOn(World world, BlockPos posAbove, BlockState carriedState, BlockState stateAbove, BlockState state, BlockPos pos)protected EntityNavigationGuardianEntity. createNavigation(World world)protected EntityNavigationMobEntity. createNavigation(World world)protected EntityNavigationRavagerEntity. createNavigation(World world)protected EntityNavigationSpiderEntity. createNavigation(World world)default booleanAngerable. isUniversallyAngry(World world)voidZombieEntity.DestroyEggGoal. onDestroyBlock(World world, BlockPos pos)default voidAngerable. readAngerFromNbt(World world, CompoundTag nbt) -
net.minecraft.entity.passive中World的使用
返回World的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 WorldMerchantEntity. getMerchantWorld()参数类型为World的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 private voidBeeEntity. addParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect)protected EntityNavigationAxolotlEntity. createNavigation(World world)protected EntityNavigationBeeEntity. createNavigation(World world)protected EntityNavigationDolphinEntity. createNavigation(World world)protected EntityNavigationFishEntity. createNavigation(World world)protected EntityNavigationParrotEntity. createNavigation(World world)protected EntityNavigationStriderEntity. createNavigation(World world)protected EntityNavigationTurtleEntity. createNavigation(World world)static SoundEventParrotEntity. getRandomSound(World world, Random random)static booleanParrotEntity. imitateNearbyMob(World world, Entity parrot) -
net.minecraft.entity.player中World的使用
参数类型为World的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 ItemStackPlayerEntity. eatFood(World world, ItemStack stack)booleanPlayerEntity. isBlockBreakingRestricted(World world, BlockPos pos, GameMode gameMode)参数类型为World的net.minecraft.entity.player中的构造器 构造器 说明 PlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile profile) -
net.minecraft.entity.projectile中World的使用
参数类型为World的net.minecraft.entity.projectile中的方法 修饰符和类型 方法 说明 static @Nullable EntityHitResultProjectileUtil. getEntityCollision(World world, Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate)参数类型为World的net.minecraft.entity.projectile中的构造器 构造器 说明 AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world)AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world)AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, World world)ArrowEntity(EntityType<? extends ArrowEntity> type, World world)ArrowEntity(World world, double x, double y, double z)ArrowEntity(World world, LivingEntity owner)DragonFireballEntity(EntityType<? extends DragonFireballEntity> type, World world)DragonFireballEntity(World world, LivingEntity owner, double directionX, double directionY, double directionZ)ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world)ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world)ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, World world)FireballEntity(EntityType<? extends FireballEntity> type, World world)FireballEntity(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ)FireworkRocketEntity(EntityType<? extends FireworkRocketEntity> type, World world)FireworkRocketEntity(World world, double x, double y, double z, ItemStack stack)FireworkRocketEntity(World world, @Nullable Entity entity, double x, double y, double z, ItemStack stack)FireworkRocketEntity(World world, ItemStack stack, double x, double y, double z, boolean shotAtAngle)FireworkRocketEntity(World world, ItemStack stack, Entity entity, double x, double y, double z, boolean shotAtAngle)FireworkRocketEntity(World world, ItemStack stack, LivingEntity shooter)FishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world)FishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world, int lureLevel, int luckOfTheSeaLevel)FishingBobberEntity(PlayerEntity thrower, World world, int lureLevel, int luckOfTheSeaLevel)LlamaSpitEntity(EntityType<? extends LlamaSpitEntity> type, World world)LlamaSpitEntity(World world, LlamaEntity owner)PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world)PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world)PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, World world)ProjectileEntity(EntityType<? extends ProjectileEntity> type, World world)ShulkerBulletEntity(EntityType<? extends ShulkerBulletEntity> type, World world)ShulkerBulletEntity(World world, LivingEntity owner, Entity target, Direction.Axis axis)SmallFireballEntity(EntityType<? extends SmallFireballEntity> type, World world)SmallFireballEntity(World world, double x, double y, double z, double velocityX, double velocityY, double velocityZ)SmallFireballEntity(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ)SpectralArrowEntity(EntityType<? extends SpectralArrowEntity> type, World world)SpectralArrowEntity(World world, double x, double y, double z)SpectralArrowEntity(World world, LivingEntity owner)TridentEntity(EntityType<? extends TridentEntity> type, World world)TridentEntity(World world, LivingEntity owner, ItemStack stack)WitherSkullEntity(EntityType<? extends WitherSkullEntity> type, World world)WitherSkullEntity(World world, LivingEntity owner, double directionX, double directionY, double directionZ) -
net.minecraft.entity.projectile.thrown中World的使用
-
net.minecraft.entity.raid中World的使用
参数类型为World的net.minecraft.entity.raid中的构造器 构造器 说明 RaiderEntity(EntityType<? extends RaiderEntity> type, World world) -
net.minecraft.entity.vehicle中World的使用
参数类型为World的net.minecraft.entity.vehicle中的方法 修饰符和类型 方法 说明 static AbstractMinecartEntityAbstractMinecartEntity. create(World world, double x, double y, double z, AbstractMinecartEntity.Type type)private RunnableSpawnerMinecartEntity. getTicker(World world) -
net.minecraft.fluid中World的使用
参数类型为World的net.minecraft.fluid中的方法 修饰符和类型 方法 说明 protected intFlowableFluid. getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState)intLavaFluid. getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState)protected voidFluid. onRandomTick(World world, BlockPos pos, FluidState state, Random random)voidFluidState. onRandomTick(World world, BlockPos pos, Random random)voidLavaFluid. onRandomTick(World world, BlockPos pos, FluidState state, Random random)voidFlowableFluid. onScheduledTick(World world, BlockPos pos, FluidState state)protected voidFluid. onScheduledTick(World world, BlockPos pos, FluidState state)voidFluidState. onScheduledTick(World world, BlockPos pos)protected voidFluid. randomDisplayTick(World world, BlockPos pos, FluidState state, Random random)voidFluidState. randomDisplayTick(World world, BlockPos pos, Random random)voidLavaFluid. randomDisplayTick(World world, BlockPos pos, FluidState state, Random random)voidWaterFluid. randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) -
net.minecraft.item中World的使用
声明为World的net.minecraft.item中的字段 修饰符和类型 字段 说明 private WorldItemUsageContext. world返回World的net.minecraft.item中的方法 修饰符和类型 方法 说明 WorldItemUsageContext. getWorld()返回变量类型为World的类型的net.minecraft.item中的方法 修饰符和类型 方法 说明 static Optional<RegistryKey<World>>CompassItem. getLodestoneDimension(CompoundTag nbt)参数类型为World的net.minecraft.item中的方法 修饰符和类型 方法 说明 private static intFilledMapItem. allocateMapId(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)voidAirBlockItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidBannerItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidBannerPatternItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidBlockItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidBundleItem. appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context)voidCrossbowItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidEnchantedBookItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidEntityBucketItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidFilledMapItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidFireworkChargeItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidFireworkItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidLingeringPotionItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidMusicDiscItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidPotionItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidShieldItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidTippedArrowItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidWrittenBookItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)static ActionResultLeadItem. attachHeldMobsToBlock(PlayerEntity player, World world, BlockPos pos)booleanDebugStickItem. canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner)Checks if a player can break a block while holding the item.booleanItem. canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner)Checks if a player can break a block while holding the item.booleanSwordItem. canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner)Checks if a player can break a block while holding the item.booleanTridentItem. canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner)Checks if a player can break a block while holding the item.static TypedActionResult<ItemStack>ItemUsage. consumeHeldItem(World world, PlayerEntity player, Hand hand)static voidFilledMapItem. copyMap(World world, ItemStack stack)PersistentProjectileEntityArrowItem. createArrow(World world, ItemStack stack, LivingEntity shooter)private static PersistentProjectileEntityCrossbowItem. createArrow(World world, LivingEntity entity, ItemStack crossbow, ItemStack arrow)PersistentProjectileEntitySpectralArrowItem. createArrow(World world, ItemStack stack, LivingEntity shooter)static ItemStackFilledMapItem. createMap(World world, int x, int z, byte scale, boolean showIcons, boolean unlimitedTracking)private static voidFilledMapItem. createMapState(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)@Nullable Packet<?>FilledMapItem. createSyncPacket(ItemStack stack, World world, PlayerEntity player)Creates a packet that syncs additional item data to the client.@Nullable Packet<?>NetworkSyncedItem. createSyncPacket(ItemStack stack, World world, PlayerEntity player)Creates a packet that syncs additional item data to the client.ItemStackChorusFruitItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackHoneyBottleItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackItemStack. finishUsing(World world, LivingEntity user)ItemStackMilkBucketItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackMushroomStewItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackPotionItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackSpyglassItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackSuspiciousStewItem. finishUsing(ItemStack stack, World world, LivingEntity user)private BlockStateFilledMapItem. getFluidStateIfVisible(World world, BlockState state, BlockPos pos)static @Nullable MapStateFilledMapItem. getMapState(@Nullable Integer id, World world)static @Nullable MapStateFilledMapItem. getOrCreateMapState(ItemStack map, World world)voidCompassItem. inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected)voidFilledMapItem. inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected)voidItem. inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected)voidItemStack. inventoryTick(World world, Entity entity, int slot, boolean selected)voidFilledMapItem. onCraft(ItemStack stack, World world, PlayerEntity player)Called when a player acquires the item by crafting, smelting, smithing, etc.voidItem. onCraft(ItemStack stack, World world, PlayerEntity player)Called when a player acquires the item by crafting, smelting, smithing, etc.voidItemStack. onCraft(World world, PlayerEntity player, int amount)voidBucketItem. onEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos)voidEntityBucketItem. onEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos)default voidFluidModificationItem. onEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos)voidBowItem. onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks)voidCrossbowItem. onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks)voidItem. onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks)voidItemStack. onStoppedUsing(World world, LivingEntity user, int remainingUseTicks)voidSpyglassItem. onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks)voidTridentItem. onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks)booleanBucketItem. placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult)booleanFluidModificationItem. placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult)booleanPowderSnowBucketItem. placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult)private BlockStateBlockItem. placeFromTag(BlockPos pos, World world, ItemStack stack, BlockState state)private voidFireChargeItem. playUseSound(World world, BlockPos pos)booleanItem. postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)voidItemStack. postMine(World world, BlockState state, BlockPos pos, PlayerEntity miner)booleanMiningToolItem. postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)booleanShearsItem. postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)booleanSwordItem. postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)booleanTridentItem. postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)protected booleanBlockItem. postPlacement(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state)protected booleanSignItem. postPlacement(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state)private static voidCrossbowItem. postShoot(World world, LivingEntity entity, ItemStack stack)protected static BlockHitResultItem. raycast(World world, PlayerEntity player, RaycastContext.FluidHandling fluidHandling)private static voidFilledMapItem. scale(ItemStack map, World world, int amount)private static voidCrossbowItem. shoot(World world, LivingEntity shooter, Hand hand, ItemStack crossbow, ItemStack projectile, float soundPitch, boolean creative, float speed, float divergence, float simulated)static voidCrossbowItem. shootAll(World world, LivingEntity entity, Hand hand, ItemStack stack, float speed, float divergence)voidFilledMapItem. updateColors(World world, Entity entity, MapState state)voidCrossbowItem. usageTick(World world, LivingEntity user, ItemStack stack, int remainingUseTicks)voidItem. usageTick(World world, LivingEntity user, ItemStack stack, int remainingUseTicks)voidItemStack. usageTick(World world, LivingEntity user, int remainingUseTicks)TypedActionResult<ItemStack>ArmorItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BoatItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BowItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BucketItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BundleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>CrossbowItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EggItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ElytraItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EmptyMapItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EnderEyeItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EnderPearlItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ExperienceBottleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>FireworkItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>FishingRodItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>GlassBottleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>HoneyBottleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>Item. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ItemStack. use(World world, PlayerEntity user, Hand hand)TypedActionResult<ItemStack>KnowledgeBookItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>LilyPadItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>LingeringPotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>MilkBucketItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>OnAStickItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>PotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ShieldItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SnowballItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SpawnEggItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SplashPotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SpyglassItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ThrowablePotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>TridentItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>WritableBookItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>WrittenBookItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.static booleanBoneMealItem. useOnFertilizable(ItemStack stack, World world, BlockPos pos)static booleanBoneMealItem. useOnGround(ItemStack stack, World world, BlockPos blockPos, @Nullable Direction facing)static booleanBlockItem. writeTagToBlockEntity(World world, @Nullable PlayerEntity player, BlockPos pos, ItemStack stack)类型变量类型为World的net.minecraft.item中的方法参数 修饰符和类型 方法 说明 private static intFilledMapItem. allocateMapId(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)private static voidFilledMapItem. createMapState(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)private voidCompassItem. writeNbt(RegistryKey<World> worldKey, BlockPos pos, CompoundTag nbt)参数类型为World的net.minecraft.item中的构造器 构造器 说明 AutomaticItemPlacementContext(World world, BlockPos pos, Direction facing, ItemStack stack, Direction side)ItemPlacementContext(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit)ItemUsageContext(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit) -
net.minecraft.item.map中World的使用
类型参数类型为World的net.minecraft.item.map中的字段 修饰符和类型 字段 说明 RegistryKey<World>MapState. dimension类型变量类型为World的net.minecraft.item.map中的方法参数 修饰符和类型 方法 说明 static MapStateMapState. of(byte scale, boolean showIcons, RegistryKey<World> dimension)Creates a new map state instance for the client.static MapStateMapState. of(double xCenter, double zCenter, byte scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)Creates a new map state instance.类型变量类型为World的net.minecraft.item.map中的构造器参数 构造器 说明 MapState(int xCenter, int zCenter, byte scale, boolean showIcons, boolean unlimitedTracking, boolean locked, RegistryKey<World> dimension) -
net.minecraft.network.packet.c2s.play中World的使用
参数类型为World的net.minecraft.network.packet.c2s.play中的方法 修饰符和类型 方法 说明 @Nullable CommandBlockExecutorUpdateCommandBlockMinecartC2SPacket. getMinecartCommandExecutor(World world) -
net.minecraft.network.packet.s2c.play中World的使用
类型参数类型为World的net.minecraft.network.packet.s2c.play中的字段 修饰符和类型 字段 说明 private RegistryKey<World>PlayerRespawnS2CPacket. dimensionprivate RegistryKey<World>GameJoinS2CPacket. dimensionIdprivate Set<RegistryKey<World>>GameJoinS2CPacket. dimensionIds返回变量类型为World的类型的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 RegistryKey<World>PlayerRespawnS2CPacket. getDimension()RegistryKey<World>GameJoinS2CPacket. getDimensionId()Set<RegistryKey<World>>GameJoinS2CPacket. getDimensionIds()参数类型为World的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 @Nullable EntityEntityS2CPacket. getEntity(World world)EntityEntitySetHeadYawS2CPacket. getEntity(World world)@Nullable EntityEntityStatusS2CPacket. getEntity(World world)@Nullable EntityRemoveEntityStatusEffectS2CPacket. getEntity(World world)@Nullable EntitySetCameraEntityS2CPacket. getEntity(World world)@Nullable Vec3dLookAtS2CPacket. getTargetPosition(World world)类型变量类型为World的net.minecraft.network.packet.s2c.play中的构造器参数 构造器 说明 GameJoinS2CPacket(int playerEntityId, GameMode gameMode, @Nullable GameMode previousGameMode, long sha256Seed, boolean hardcore, Set<RegistryKey<World>> dimensionIds, DynamicRegistryManager.Impl registryManager, DimensionType dimensionType, RegistryKey<World> dimensionId, int maxPlayers, int chunkLoadDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean debugWorld, boolean flatWorld)GameJoinS2CPacket(int playerEntityId, GameMode gameMode, @Nullable GameMode previousGameMode, long sha256Seed, boolean hardcore, Set<RegistryKey<World>> dimensionIds, DynamicRegistryManager.Impl registryManager, DimensionType dimensionType, RegistryKey<World> dimensionId, int maxPlayers, int chunkLoadDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean debugWorld, boolean flatWorld)PlayerRespawnS2CPacket(DimensionType dimensionType, RegistryKey<World> dimension, long sha256Seed, GameMode gameMode, @Nullable GameMode previousGameMode, boolean debugWorld, boolean flatWorld, boolean keepPlayerAttributes) -
net.minecraft.predicate.entity中World的使用
类型参数类型为World的net.minecraft.predicate.entity中的字段 修饰符和类型 字段 说明 private @Nullable RegistryKey<World>LocationPredicate.Builder. dimensionprivate @Nullable RegistryKey<World>LocationPredicate. dimension类型变量类型为World的net.minecraft.predicate.entity中的方法参数 修饰符和类型 方法 说明 LocationPredicate.BuilderLocationPredicate.Builder. dimension(@Nullable RegistryKey<World> dimension)static LocationPredicateLocationPredicate. dimension(RegistryKey<World> dimension) -
net.minecraft.recipe中World的使用
参数类型为World的net.minecraft.recipe中的方法 修饰符和类型 方法 说明 default <C extends Inventory>
Optional<T>RecipeType. get(Recipe<C> recipe, World world, C inventory)<C extends Inventory,T extends Recipe<C>>
List<T>RecipeManager. getAllMatches(RecipeType<T> type, C inventory, World world)<C extends Inventory,T extends Recipe<C>>
Optional<T>RecipeManager. getFirstMatch(RecipeType<T> type, C inventory, World world)<C extends Inventory,T extends Recipe<C>>
DefaultedList<ItemStack>RecipeManager. getRemainingStacks(RecipeType<T> recipeType, C inventory, World world)booleanAbstractCookingRecipe. matches(Inventory inv, World world)booleanArmorDyeRecipe. matches(CraftingInventory craftingInventory, World world)booleanBannerDuplicateRecipe. matches(CraftingInventory craftingInventory, World world)booleanBookCloningRecipe. matches(CraftingInventory craftingInventory, World world)booleanFireworkRocketRecipe. matches(CraftingInventory craftingInventory, World world)booleanFireworkStarFadeRecipe. matches(CraftingInventory craftingInventory, World world)booleanFireworkStarRecipe. matches(CraftingInventory craftingInventory, World world)booleanMapCloningRecipe. matches(CraftingInventory craftingInventory, World world)booleanMapExtendingRecipe. matches(CraftingInventory craftingInventory, World world)booleanRecipe. matches(C inv, World world)booleanRepairItemRecipe. matches(CraftingInventory craftingInventory, World world)booleanShapedRecipe. matches(CraftingInventory craftingInventory, World world)booleanShapelessRecipe. matches(CraftingInventory craftingInventory, World world)booleanShieldDecorationRecipe. matches(CraftingInventory craftingInventory, World world)booleanShulkerBoxColoringRecipe. matches(CraftingInventory craftingInventory, World world)booleanSmithingRecipe. matches(Inventory inv, World world)booleanStonecuttingRecipe. matches(Inventory inv, World world)booleanSuspiciousStewRecipe. matches(CraftingInventory craftingInventory, World world)booleanTippedArrowRecipe. matches(CraftingInventory craftingInventory, World world)default booleanRecipeUnlocker. shouldCraftRecipe(World world, ServerPlayerEntity player, Recipe<?> recipe) -
net.minecraft.screen中World的使用
声明为World的net.minecraft.screen中的字段 修饰符和类型 字段 说明 private WorldSmithingScreenHandler. field_25385protected WorldAbstractFurnaceScreenHandler. worldprivate WorldStonecutterScreenHandler. world参数类型为World的net.minecraft.screen中的方法 修饰符和类型 方法 说明 static ScreenHandlerContextScreenHandlerContext. create(World world, BlockPos pos)Returns an active screen handler context.protected static voidCraftingScreenHandler. updateResult(ScreenHandler screenHandler, World world, PlayerEntity player, CraftingInventory craftingInventory, CraftingResultInventory resultInventory)类型变量类型为World的net.minecraft.screen中的方法参数 修饰符和类型 方法 说明 <T> Optional<T>ScreenHandlerContext. get(BiFunction<World,BlockPos,T> getter)Gets an optional value from this context's world and position with aBiFunctiongetter.default <T> TScreenHandlerContext. get(BiFunction<World,BlockPos,T> getter, T defaultValue)Gets a value from this context's world and position with aBiFunctiongetter.default voidScreenHandlerContext. run(BiConsumer<World,BlockPos> function)Runs aBiConsumerwith this context's world and position if this context is active. -
net.minecraft.server中World的使用
类型参数类型为World的net.minecraft.server中的字段 修饰符和类型 字段 说明 private Map<RegistryKey<World>,ServerWorld>MinecraftServer. worlds返回变量类型为World的类型的net.minecraft.server中的方法 修饰符和类型 方法 说明 Set<RegistryKey<World>>MinecraftServer. getWorldRegistryKeys()类型变量类型为World的net.minecraft.server中的方法参数 修饰符和类型 方法 说明 private static voidMain. forceUpgradeWorld(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, boolean eraseCache, BooleanSupplier booleanSupplier, ImmutableSet<RegistryKey<World>> worlds)@Nullable ServerWorldMinecraftServer. getWorld(RegistryKey<World> key)voidPlayerManager. sendToAround(@Nullable PlayerEntity player, double x, double y, double z, double distance, RegistryKey<World> worldKey, Packet<?> packet)voidPlayerManager. sendToDimension(Packet<?> packet, RegistryKey<World> dimension) -
net.minecraft.server.command中World的使用
返回变量类型为World的类型的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 Set<RegistryKey<World>>ServerCommandSource. getWorldKeys() -
net.minecraft.server.network中World的使用
类型参数类型为World的net.minecraft.server.network中的字段 修饰符和类型 字段 说明 private RegistryKey<World>ServerPlayerEntity. spawnPointDimension返回变量类型为World的类型的net.minecraft.server.network中的方法 修饰符和类型 方法 说明 RegistryKey<World>ServerPlayerEntity. getSpawnPointDimension()参数类型为World的net.minecraft.server.network中的方法 修饰符和类型 方法 说明 ActionResultDemoServerPlayerInteractionManager. interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult)ActionResultServerPlayerInteractionManager. interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult)ActionResultDemoServerPlayerInteractionManager. interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand)ActionResultServerPlayerInteractionManager. interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand)static voidDebugInfoSender. sendBeehiveDebugData(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity)static voidDebugInfoSender. sendGameEvent(World world, GameEvent event, BlockPos pos)static voidDebugInfoSender. sendGameEventListener(World world, GameEventListener eventListener)static voidDebugInfoSender. sendGoalSelector(World world, MobEntity mob, GoalSelector goalSelector)static voidDebugInfoSender. sendNeighborUpdate(World world, BlockPos pos)static voidDebugInfoSender. sendPathfindingData(World world, MobEntity mob, @Nullable Path path, float nodeReachProximity)类型变量类型为World的net.minecraft.server.network中的方法参数 修饰符和类型 方法 说明 voidServerPlayerEntity. setSpawnPoint(RegistryKey<World> dimension, @Nullable BlockPos pos, float angle, boolean spawnPointSet, boolean bool) -
net.minecraft.server.world中World的使用
net.minecraft.server.world中World的子类 修饰符和类型 类 说明 classServerWorld返回World的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 WorldServerChunkManager. getWorld()参数类型为World的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 private voidChunkHolder. sendBlockEntityUpdatePacket(World world, BlockPos pos)private voidChunkHolder. tryUpdateBlockEntityAt(World world, BlockPos pos, BlockState state)参数类型为World的net.minecraft.server.world中的构造器 构造器 说明 MainThreadExecutor(World world)类型变量类型为World的net.minecraft.server.world中的构造器参数 构造器 说明 ServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionType dimensionType, WorldGenerationProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) -
net.minecraft.structure中World的使用
参数类型为World的net.minecraft.structure中的方法 修饰符和类型 方法 说明 private voidStructure. addEntitiesFromWorld(World world, BlockPos firstCorner, BlockPos secondCorner)voidStructure. saveFromWorld(World world, BlockPos start, Vec3i vec3i, boolean includeEntities, @Nullable Block ignoredBlock) -
net.minecraft.util中World的使用
参数类型为World的net.minecraft.util中的方法 修饰符和类型 方法 说明 private static voidItemScatterer. spawn(World world, double x, double y, double z, Inventory inventory)static voidItemScatterer. spawn(World world, double x, double y, double z, ItemStack stack)static voidItemScatterer. spawn(World world, Entity entity, Inventory inventory)static voidItemScatterer. spawn(World world, BlockPos pos, Inventory inventory)static voidItemScatterer. spawn(World world, BlockPos pos, DefaultedList<ItemStack> stacks) -
net.minecraft.util.dynamic中World的使用
类型参数类型为World的net.minecraft.util.dynamic中的字段 修饰符和类型 字段 说明 private RegistryKey<World>GlobalPos. dimension返回变量类型为World的类型的net.minecraft.util.dynamic中的方法 修饰符和类型 方法 说明 RegistryKey<World>GlobalPos. getDimension()类型变量类型为World的net.minecraft.util.dynamic中的方法参数 修饰符和类型 方法 说明 static GlobalPosGlobalPos. create(RegistryKey<World> dimension, BlockPos pos)类型变量类型为World的net.minecraft.util.dynamic中的构造器参数 构造器 说明 GlobalPos(RegistryKey<World> dimension, BlockPos pos) -
net.minecraft.util.registry中World的使用
类型参数类型为World的net.minecraft.util.registry中的字段 修饰符和类型 字段 说明 static RegistryKey<Registry<World>>Registry. WORLD_KEYA registry key representing theWorldtype. -
net.minecraft.village中World的使用
返回World的net.minecraft.village中的方法 修饰符和类型 方法 说明 WorldMerchant. getMerchantWorld()WorldSimpleMerchant. getMerchantWorld() -
net.minecraft.village.raid中World的使用
返回World的net.minecraft.village.raid中的方法 修饰符和类型 方法 说明 WorldRaid. getWorld() -
net.minecraft.world中World的使用
类型参数类型为World的net.minecraft.world中的字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<RegistryKey<World>>World. CODECstatic RegistryKey<World>World. ENDstatic RegistryKey<World>World. NETHERstatic RegistryKey<World>World. OVERWORLDprivate RegistryKey<World>World. registryKey返回变量类型为World的类型的net.minecraft.world中的方法 修饰符和类型 方法 说明 RegistryKey<World>World. getRegistryKey()参数类型为World的net.minecraft.world中的方法 修饰符和类型 方法 说明 voidMobSpawnerLogic. clientTick(World world, BlockPos pos)booleanCommandBlockExecutor. execute(World world)private @Nullable IdentifierMobSpawnerLogic. getEntityId(@Nullable World world, BlockPos pos)@Nullable EntityMobSpawnerLogic. getRenderedEntity(World world)private static BlockPosSpawnHelper. getSpawnPos(World world, WorldChunk chunk)private booleanMobSpawnerLogic. isPlayerInRange(World world, BlockPos pos)booleanMobSpawnerLogic. method_8275(World world, int int2)voidMobSpawnerLogic. readNbt(@Nullable World world, BlockPos pos, CompoundTag nbt)abstract voidMobSpawnerLogic. sendStatus(World world, BlockPos pos, int int2)voidMobSpawnerLogic. setSpawnEntry(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry)private voidMobSpawnerLogic. updateSpawns(World world, BlockPos pos)CompoundTagMobSpawnerLogic. writeNbt(@Nullable World world, BlockPos pos, CompoundTag nbt)类型变量类型为World的net.minecraft.world中的方法参数 修饰符和类型 方法 说明 static FeatureUpdaterFeatureUpdater. create(RegistryKey<World> registryKey, @Nullable PersistentStateManager persistentStateManager)类型变量类型为World的net.minecraft.world中的构造器参数 构造器 说明 World(MutableWorldProperties properties, RegistryKey<World> registryRef, DimensionType dimensionType, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long seed) -
net.minecraft.world.chunk中World的使用
声明为World的net.minecraft.world.chunk中的字段 修饰符和类型 字段 说明 protected WorldChunkCache. worldprivate WorldWorldChunk. world返回World的net.minecraft.world.chunk中的方法 修饰符和类型 方法 说明 WorldWorldChunk. getWorld()参数类型为World的net.minecraft.world.chunk中的构造器 构造器 说明 ChunkCache(World world, BlockPos minPos, BlockPos maxPos)EmptyBiomeArray(World world)EmptyChunk(World world, ChunkPos pos)WorldChunk(World world, ChunkPos pos, BiomeArray biomes)WorldChunk(World world, ChunkPos pos, BiomeArray biomes, UpgradeData upgradeData, TickScheduler<Block> blockTickScheduler, TickScheduler<Fluid> fluidTickScheduler, long inhabitedTime, @Nullable ChunkSection[] sections, @Nullable Consumer<WorldChunk> loadToWorldConsumer) -
net.minecraft.world.dimension中World的使用
返回变量类型为World的类型的net.minecraft.world.dimension中的方法 修饰符和类型 方法 说明 static com.mojang.serialization.DataResult<RegistryKey<World>>DimensionType. worldFromDimensionNbt(com.mojang.serialization.Dynamic<?> nbt)已过时。类型变量类型为World的net.minecraft.world.dimension中的方法参数 修饰符和类型 方法 说明 static FileDimensionType. getSaveDirectory(RegistryKey<World> worldRef, File root) -
net.minecraft.world.event中World的使用
参数类型为World的net.minecraft.world.event中的方法 修饰符和类型 方法 说明 Optional<BlockPos>BlockPositionSource. getPos(World world)Optional<BlockPos>EntityPositionSource. getPos(World world)Optional<BlockPos>PositionSource. getPos(World world) -
net.minecraft.world.event.listener中World的使用
声明为World的net.minecraft.world.event.listener中的字段 修饰符和类型 字段 说明 private WorldSimpleGameEventDispatcher. world参数类型为World的net.minecraft.world.event.listener中的方法 修饰符和类型 方法 说明 voidSculkSensorListener.Callback. accept(World world, GameEventListener listener, GameEvent event, int distance)Accepts a game event after delay.booleanSculkSensorListener.Callback. accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity)Returns whether the callback wants to accept this event.private booleanSimpleGameEventDispatcher. dispatchTo(World world, GameEvent event, @Nullable Entity entity, BlockPos pos, GameEventListener listener)private booleanSculkSensorListener. isOccluded(World world, BlockPos pos, BlockPos sourcePos)booleanGameEventListener. listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)Listens to an incoming game event.booleanSculkSensorListener. listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)Listens to an incoming game event.private voidSculkSensorListener. listen(World world, GameEvent event, BlockPos pos, BlockPos sourcePos)voidEntityGameEventHandler. onEntityRemoval(World world)voidEntityGameEventHandler. onEntitySetPos(World world)voidSculkSensorListener. tick(World world)private voidEntityGameEventHandler. updateDispatcher(World world, @Nullable ChunkSectionPos sectionPos, Consumer<GameEventDispatcher> action)参数类型为World的net.minecraft.world.event.listener中的构造器 构造器 说明 SimpleGameEventDispatcher(World world) -
net.minecraft.world.explosion中World的使用
声明为World的net.minecraft.world.explosion中的字段 修饰符和类型 字段 说明 private WorldExplosion. world参数类型为World的net.minecraft.world.explosion中的构造器 构造器 说明 Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power)Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType)Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType, List<BlockPos> affectedBlocks)Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power, List<BlockPos> affectedBlocks)Explosion(World world, @Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) -
net.minecraft.world.gen中World的使用
返回变量类型为World的类型的net.minecraft.world.gen中的方法 修饰符和类型 方法 说明 ImmutableSet<RegistryKey<World>>GeneratorOptions. getWorlds() -
net.minecraft.world.level.storage中World的使用
类型变量类型为World的net.minecraft.world.level.storage中的方法参数 修饰符和类型 方法 说明 FileLevelStorage.Session. getWorldDirectory(RegistryKey<World> key) -
net.minecraft.world.storage中World的使用
类型变量类型为World的net.minecraft.world.storage中的方法参数 修饰符和类型 方法 说明 CompoundTagVersionedChunkStorage. updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, CompoundTag nbt) -
net.minecraft.world.updater中World的使用
类型参数类型为World的net.minecraft.world.updater中的字段 修饰符和类型 字段 说明 private Object2FloatMap<RegistryKey<World>>WorldUpdater. dimensionProgressprivate ImmutableSet<RegistryKey<World>>WorldUpdater. worlds返回变量类型为World的类型的net.minecraft.world.updater中的方法 修饰符和类型 方法 说明 ImmutableSet<RegistryKey<World>>WorldUpdater. getWorlds()类型变量类型为World的net.minecraft.world.updater中的方法参数 修饰符和类型 方法 说明 private List<ChunkPos>WorldUpdater. getChunkPositions(RegistryKey<World> world)floatWorldUpdater. getProgress(RegistryKey<World> world)类型变量类型为World的net.minecraft.world.updater中的构造器参数 构造器 说明 WorldUpdater(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, ImmutableSet<RegistryKey<World>> worlds, boolean eraseCache)
-