类的使用
net.minecraft.block.Block
-
-
net.minecraft.advancement.criterion中Block的使用
声明为Block的net.minecraft.advancement.criterion中的字段 修饰符和类型 字段 说明 private @Nullable BlockBeeNestDestroyedCriterion.Conditions. blockprivate BlockEnterBlockCriterion.Conditions. blockprivate BlockPlacedBlockCriterion.Conditions. blockprivate BlockSlideDownBlockCriterion.Conditions. block返回Block的net.minecraft.advancement.criterion中的方法 修饰符和类型 方法 说明 private static @Nullable BlockBeeNestDestroyedCriterion. getBlock(JsonObject root)private static @Nullable BlockEnterBlockCriterion. getBlock(JsonObject obj)private static @Nullable BlockPlacedBlockCriterion. getBlock(JsonObject obj)private static @Nullable BlockSlideDownBlockCriterion. getBlock(JsonObject root)参数类型为Block的net.minecraft.advancement.criterion中的方法 修饰符和类型 方法 说明 static EnterBlockCriterion.ConditionsEnterBlockCriterion.Conditions. block(Block block)static PlacedBlockCriterion.ConditionsPlacedBlockCriterion.Conditions. block(Block block)static BeeNestDestroyedCriterion.ConditionsBeeNestDestroyedCriterion.Conditions. create(Block block, ItemPredicate.Builder itemPredicateBuilder, NumberRange.IntRange beeCountRange)static SlideDownBlockCriterion.ConditionsSlideDownBlockCriterion.Conditions. create(Block block)参数类型为Block的net.minecraft.advancement.criterion中的构造器 构造器 说明 Conditions(EntityPredicate.Extended player, @Nullable Block block, ItemPredicate item, NumberRange.IntRange beeCount)Conditions(EntityPredicate.Extended player, @Nullable Block block, StatePredicate state)Conditions(EntityPredicate.Extended player, @Nullable Block block, StatePredicate state, LocationPredicate location, ItemPredicate item)Conditions(EntityPredicate.Extended player, @Nullable Block block, StatePredicate state) -
net.minecraft.block中Block的使用
类型参数类型为Block的net.minecraft.block中的字段 修饰符和类型 字段 说明 private Object2IntMap<Block>FireBlock. burnChancesprivate static Map<Block,CandleCakeBlock>CandleCakeBlock. CANDLES_TO_CANDLE_CAKESprivate static Map<DyeColor,Block>BannerBlock. COLORED_BANNERSprivate static Map<Block,Block>FlowerPotBlock. CONTENT_TO_POTTEDprivate static Map<Block,Block>FlowerPotBlock. CONTENT_TO_POTTEDstatic Supplier<BiMap<Block,Block>>Oxidizable. OXIDATION_LEVEL_DECREASESstatic Supplier<BiMap<Block,Block>>Oxidizable. OXIDATION_LEVEL_DECREASESstatic Supplier<BiMap<Block,Block>>Oxidizable. OXIDATION_LEVEL_INCREASESstatic Supplier<BiMap<Block,Block>>Oxidizable. OXIDATION_LEVEL_INCREASESprivate static Map<Block,Block>InfestedBlock. REGULAR_TO_INFESTEDprivate static Map<Block,Block>InfestedBlock. REGULAR_TO_INFESTEDprivate Object2IntMap<Block>FireBlock. spreadChancesprotected StateManager<Block,BlockState>Block. stateManager返回Block的net.minecraft.block中的方法 修饰符和类型 方法 说明 protected abstract BlockAbstractBlock. asBlock()protected BlockBlock. asBlock()private static BlockBlocks. createNetherStemBlock(MapColor materialColor)static BlockShulkerBoxBlock. get(@Nullable DyeColor dyeColor)BlockAbstractBlock.AbstractBlockState. getBlock()static BlockBlock. getBlockFromItem(@Nullable Item item)BlockFlowerPotBlock. getContent()static BlockBannerBlock. getForColor(DyeColor color)protected BlockAbstractPlantBlock. getPlant()protected abstract BlockAbstractPlantPartBlock. getPlant()protected BlockCaveVinesHeadBlock. getPlant()protected BlockKelpBlock. getPlant()protected BlockTwistingVinesBlock. getPlant()protected BlockWeepingVinesBlock. getPlant()BlockInfestedBlock. getRegularBlock()static BlockOxidizable. getUnaffectedOxidationBlock(Block block)private static BlockBlocks. register(String id, Block block)返回变量类型为Block的类型的net.minecraft.block中的方法 修饰符和类型 方法 说明 static Optional<Block>Oxidizable. getDecreasedOxidationBlock(Block block)static Optional<Block>Oxidizable. getIncreasedOxidationBlock(Block block)StateManager<Block,BlockState>Block. getStateManager()参数类型为Block的net.minecraft.block中的方法 修饰符和类型 方法 说明 AbstractBlock.SettingsAbstractBlock.Settings. dropsLike(Block source)Specifies that a block should drop the same items as a provided block.static BlockStateInfestedBlock. fromRegularBlock(Block regularBlock)protected static floatCropBlock. getAvailableMoisture(Block block, BlockView world, BlockPos pos)static BlockStateCandleCakeBlock. getCandleCakeFromCandle(Block candle)static @Nullable DyeColorShulkerBoxBlock. getColor(Block block)static Optional<Block>Oxidizable. getDecreasedOxidationBlock(Block block)static Optional<Block>Oxidizable. getIncreasedOxidationBlock(Block block)private Optional<BlockPos>AbstractPlantBlock. getStemHeadPos(BlockView world, BlockPos pos, Block block)static BlockOxidizable. getUnaffectedOxidationBlock(Block block)booleanAbstractBlock.AbstractBlockState. isOf(Block block)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)private static BlockBlocks. register(String id, Block block)private voidFireBlock. registerFlammableBlock(Block block, int burnChance, int spreadChance)protected voidAbstractRailBlock. updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)protected voidPoweredRailBlock. updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)protected voidRailBlock. updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)参数类型为Block的net.minecraft.block中的构造器 构造器 说明 AbstractBlockState(Block block, ImmutableMap<Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec)BlockState(Block block, ImmutableMap<Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec)CandleCakeBlock(Block candle, AbstractBlock.Settings settings)ConcretePowderBlock(Block hardened, AbstractBlock.Settings settings)CoralBlock(Block deadCoralBlock, AbstractBlock.Settings settings)CoralBlockBlock(Block deadCoralBlock, AbstractBlock.Settings settings)CoralFanBlock(Block deadCoralBlock, AbstractBlock.Settings settings)CoralWallFanBlock(Block deadCoralBlock, AbstractBlock.Settings settings)FlowerPotBlock(Block content, AbstractBlock.Settings settings)InfestedBlock(Block regularBlock, AbstractBlock.Settings settings)Creates an infested block -
net.minecraft.block.entity中Block的使用
声明为Block的net.minecraft.block.entity中的字段 修饰符和类型 字段 说明 private static Block[]ConduitBlockEntity. ACTIVATING_BLOCKS类型参数类型为Block的net.minecraft.block.entity中的字段 修饰符和类型 字段 说明 private Set<Block>BlockEntityType. blocksprivate Set<Block>BlockEntityType.Builder. blocks参数类型为Block的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 static <T extends BlockEntity>
BlockEntityType.Builder<T>BlockEntityType.Builder. create(BlockEntityType.BlockEntityFactory<? extends T> factory, Block[] blocks)类型变量类型为Block的net.minecraft.block.entity中的构造器参数 构造器 说明 BlockEntityType(BlockEntityType.BlockEntityFactory<? extends T> factory, Set<Block> blocks, com.mojang.datafixers.types.Type<?> type)Builder(BlockEntityType.BlockEntityFactory<? extends T> factory, Set<Block> blocks) -
net.minecraft.client.color.block中Block的使用
类型参数类型为Block的net.minecraft.client.color.block中的字段 修饰符和类型 字段 说明 private Map<Block,Set<Property<?>>>BlockColors. properties参数类型为Block的net.minecraft.client.color.block中的方法 修饰符和类型 方法 说明 Set<Property<?>>BlockColors. getProperties(Block block)private voidBlockColors. registerColorProperties(Set<Property<?>> properties, Block[] blocks)private voidBlockColors. registerColorProperty(Property<?> property, Block[] blocks)voidBlockColors. registerColorProvider(BlockColorProvider provider, Block[] blocks) -
net.minecraft.client.gui.screen中Block的使用
类型参数类型为Block的net.minecraft.client.gui.screen中的字段 修饰符和类型 字段 说明 protected List<StatType<Block>>StatsScreen.ItemStatsListWidget. blockStatTypes -
net.minecraft.client.render中Block的使用
类型参数类型为Block的net.minecraft.client.render中的字段 修饰符和类型 字段 说明 private static Map<Block,RenderLayer>RenderLayers. BLOCKS -
net.minecraft.client.render.block.entity中Block的使用
参数类型为Block的net.minecraft.client.render.block.entity中的方法 修饰符和类型 方法 说明 static SignTypeSignBlockEntityRenderer. getSignType(Block block) -
net.minecraft.client.render.model中Block的使用
类型参数类型为Block的net.minecraft.client.render.model中的字段 修饰符和类型 字段 说明 private static StateManager<Block,BlockState>ModelLoader. ITEM_FRAME_STATE_FACTORYprivate StateManager<Block,BlockState>MultipartUnbakedModel. stateFactoryprivate static Map<Identifier,StateManager<Block,BlockState>>ModelLoader. STATIC_DEFINITIONS类型变量类型为Block的net.minecraft.client.render.model中的方法参数 修饰符和类型 方法 说明 private static Predicate<BlockState>ModelLoader. stateKeyToPredicate(StateManager<Block,BlockState> stateFactory, String key)类型变量类型为Block的net.minecraft.client.render.model中的构造器参数 构造器 说明 MultipartUnbakedModel(StateManager<Block,BlockState> stateFactory, List<MultipartModelComponent> components) -
net.minecraft.client.render.model.json中Block的使用
类型参数类型为Block的net.minecraft.client.render.model.json中的字段 修饰符和类型 字段 说明 private StateManager<Block,BlockState>ModelVariantMap.DeserializationContext. stateFactory返回变量类型为Block的类型的net.minecraft.client.render.model.json中的方法 修饰符和类型 方法 说明 StateManager<Block,BlockState>ModelVariantMap.DeserializationContext. getStateFactory()类型变量类型为Block的net.minecraft.client.render.model.json中的方法参数 修饰符和类型 方法 说明 private Predicate<BlockState>SimpleMultipartModelSelector. createPredicate(StateManager<Block,BlockState> stateFactory, Property<?> property, String valueString)Predicate<BlockState>AndMultipartModelSelector. getPredicate(StateManager<Block,BlockState> stateFactory)Predicate<BlockState>MultipartModelComponent. getPredicate(StateManager<Block,BlockState> stateFactory)Predicate<BlockState>MultipartModelSelector. getPredicate(StateManager<Block,BlockState> stateFactory)Predicate<BlockState>OrMultipartModelSelector. getPredicate(StateManager<Block,BlockState> stateFactory)Predicate<BlockState>SimpleMultipartModelSelector. getPredicate(StateManager<Block,BlockState> stateFactory)voidModelVariantMap.DeserializationContext. setStateFactory(StateManager<Block,BlockState> stateFactory) -
net.minecraft.client.tutorial中Block的使用
类型参数类型为Block的net.minecraft.client.tutorial中的字段 修饰符和类型 字段 说明 private static Set<Block>FindTreeTutorialStepHandler. TREE_BLOCKS -
net.minecraft.client.world中Block的使用
声明为Block的net.minecraft.client.world中的字段 修饰符和类型 字段 说明 private BlockClientWorld.BlockParticle. block返回变量类型为Block的类型的net.minecraft.client.world中的方法 修饰符和类型 方法 说明 TickScheduler<Block>ClientWorld. getBlockTickScheduler()参数类型为Block的net.minecraft.client.world中的构造器 构造器 说明 BlockParticle(Block block, ParticleEffect particle) -
net.minecraft.command.argument中Block的使用
类型参数类型为Block的net.minecraft.command.argument中的字段 修饰符和类型 字段 说明 private StateManager<Block,BlockState>BlockArgumentParser. stateFactoryprivate static BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,TagGroup<Block>,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>BlockArgumentParser. SUGGEST_DEFAULTprivate BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,TagGroup<Block>,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>BlockArgumentParser. suggestionsprivate Tag<Block>BlockPredicateArgumentType.TagPredicate. tag类型变量类型为Block的net.minecraft.command.argument中的方法参数 修饰符和类型 方法 说明 CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private booleanBlockArgumentParser. hasBlockEntity(TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestBlockOrTagId(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestBlockProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestBlockPropertiesOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestCommaOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestEqualsCharacter(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestIdentifiers(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestSnbt(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestSnbtOrBlockProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestSnbtOrTagProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestTagProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestTagPropertiesOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockArgumentParser. suggestTagPropertyValues(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup, String string)类型变量类型为Block的net.minecraft.command.argument中的构造器参数 构造器 说明 TagPredicate(Tag<Block> tag, Map<String,String> map, @Nullable CompoundTag nbt) -
net.minecraft.data.client中Block的使用
参数类型为Block的net.minecraft.data.client中的方法 修饰符和类型 方法 说明 private static PathBlockStateDefinitionProvider. getBlockStateJsonPath(Path root, Block block) -
net.minecraft.data.client.model中Block的使用
声明为Block的net.minecraft.data.client.model中的字段 修饰符和类型 字段 说明 private BlockMultipartBlockStateSupplier. blockprivate BlockVariantsBlockStateSupplier. block类型参数类型为Block的net.minecraft.data.client.model中的字段 修饰符和类型 字段 说明 private List<Block>BlockStateModelGenerator. nonOrientableTrapdoorsprivate Map<Block,TexturedModel>BlockStateModelGenerator. sandstoneModelsprivate Map<Block,BlockStateModelGenerator.StateFactory>BlockStateModelGenerator. stoneStateFactoriesprivate static Map<BlockFamily.Variant,BiConsumer<BlockStateModelGenerator.BlockTexturePool,Block>>BlockStateModelGenerator. VARIANT_POOL_FUNCTIONS返回Block的net.minecraft.data.client.model中的方法 修饰符和类型 方法 说明 BlockBlockStateSupplier. getBlock()BlockMultipartBlockStateSupplier. getBlock()BlockVariantsBlockStateSupplier. getBlock()参数类型为Block的net.minecraft.data.client.model中的方法 修饰符和类型 方法 说明 static TextureTexture. all(Block block)BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. base(Block block, Model model)BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. button(Block buttonBlock)static TextureTexture. campfire(Block block)BlockStateSupplierBlockStateModelGenerator.StateFactory. create(Block block, Identifier modelId, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)static MultipartBlockStateSupplierMultipartBlockStateSupplier. create(Block block)static VariantsBlockStateSupplierVariantsBlockStateSupplier. create(Block block)static VariantsBlockStateSupplierVariantsBlockStateSupplier. create(Block block, BlockStateVariant variant)static VariantsBlockStateSupplierVariantsBlockStateSupplier. create(Block block, BlockStateVariant[] variants)private static BlockStateSupplierBlockStateModelGenerator. createAxisRotatedBlockState(Block block, Identifier modelId)private static BlockStateSupplierBlockStateModelGenerator. createAxisRotatedBlockState(Block block, Identifier verticalModelId, Identifier horizontalModelId)private static VariantsBlockStateSupplierBlockStateModelGenerator. createBlockStateWithRandomHorizontalRotations(Block block, Identifier modelId)private static VariantsBlockStateSupplierBlockStateModelGenerator. createBlockStateWithTwoModelAndRandomInversion(Block block, Identifier firstModelId, Identifier secondModelId)private static BlockStateSupplierBlockStateModelGenerator. createButtonBlockState(Block buttonBlock, Identifier regularModelId, Identifier pressedModelId)private static BlockStateSupplierBlockStateModelGenerator. createDeepslateState(Block block, Identifier modelId, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)private static BlockStateSupplierBlockStateModelGenerator. createDoorBlockState(Block doorBlock, Identifier bottomModelId, Identifier bottomHingeModelId, Identifier topModelId, Identifier topHingeModelId)private static BlockStateSupplierBlockStateModelGenerator. createFenceBlockState(Block fenceBlock, Identifier postModelId, Identifier sideModelId)private static BlockStateSupplierBlockStateModelGenerator. createFenceGateBlockState(Block fenceGateBlock, Identifier openModelId, Identifier closedModelId, Identifier openWallModelId, Identifier closedWallModelId)private static BlockStateSupplierBlockStateModelGenerator. createOrientableTrapdoorBlockState(Block trapdoorBlock, Identifier topModelId, Identifier bottomModelId, Identifier openModelId)private static BlockStateSupplierBlockStateModelGenerator. createPressurePlateBlockState(Block pressurePlateBlock, Identifier upModelId, Identifier downModelId)private static VariantsBlockStateSupplierBlockStateModelGenerator. createSingletonBlockState(Block block, Identifier modelId)private static BlockStateSupplierBlockStateModelGenerator. createSlabBlockState(Block slabBlock, Identifier bottomModelId, Identifier topModelId, Identifier fullModelId)private static BlockStateSupplierBlockStateModelGenerator. createStairsBlockState(Block stairsBlock, Identifier innerModelId, Identifier regularModelId, Identifier outerModelId)private static BlockStateSupplierBlockStateModelGenerator. createStoneState(Block block, Identifier modelId, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)private IdentifierBlockStateModelGenerator. createSubModel(Block block, String suffix, Model model, Function<Identifier,Texture> textureFactory)private static BlockStateSupplierBlockStateModelGenerator. createTrapdoorBlockState(Block trapdoorBlock, Identifier topModelId, Identifier bottomModelId, Identifier openModelId)private static BlockStateSupplierBlockStateModelGenerator. createWallBlockState(Block wallBlock, Identifier postModelId, Identifier lowSideModelId, Identifier tallSideModelId)static TextureTexture. cross(Block block)private BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. door(Block block)private IdentifierBlockStateModelGenerator.BlockTexturePool. ensureModel(Model model, Block block)private voidBlockStateModelGenerator. excludeFromSimpleItemModelGeneration(Block block)static TextureTexture. fan(Block block)BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. fence(Block fenceBlock)BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. fenceGate(Block fenceGateBlock)static TextureTexture. fire0(Block block)static TextureTexture. fire1(Block block)static TextureTexture. frontSideWithCustomBottom(Block block, Block bottom)static TextureTexture. frontTopSide(Block frontTopSideBlock, Block downBlock)TexturedModelTexturedModel.Factory. get(Block block)static IdentifierModelIds. getBlockModelId(Block block)static IdentifierModelIds. getBlockSubModelId(Block block, String suffix)private List<Identifier>BlockStateModelGenerator. getFireFloorModels(Block texture)private List<Identifier>BlockStateModelGenerator. getFireSideModels(Block texture)private List<Identifier>BlockStateModelGenerator. getFireUpModels(Block texture)static IdentifierTexture. getId(Block block)static IdentifierTexture. getSubId(Block block, String suffix)BlockStateModelGenerator.BuiltinModelPoolBlockStateModelGenerator.BuiltinModelPool. includeWithItem(Block[] blocks)BlockStateModelGenerator.BuiltinModelPoolBlockStateModelGenerator.BuiltinModelPool. includeWithItem(Model model, Block[] blocks)BlockStateModelGenerator.BuiltinModelPoolBlockStateModelGenerator.BuiltinModelPool. includeWithoutItem(Block[] blocks)static TextureTexture. lantern(Block block)static TextureTexture. layer0(Block block)BlockStateModelGenerator.LogTexturePoolBlockStateModelGenerator.LogTexturePool. log(Block logBlock)static TextureTexture. method_32231(Block block)private voidBlockStateModelGenerator. method_35868(Block block, Texture texture, Model model)static TextureTexture. paneAndTopForEdge(Block block, Block top)static TextureTexture. particle(Block block)static TextureTexture. pattern(Block block)static TextureTexture. plant(Block block)BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. pressurePlate(Block pressurePlateBlock)static TextureTexture. rail(Block block)private voidBlockStateModelGenerator. registerAmethyst(Block block)private voidBlockStateModelGenerator. registerAnvil(Block anvil)private voidBlockStateModelGenerator. registerAxisRotated(Block block, TexturedModel.Factory modelFactory)private voidBlockStateModelGenerator. registerAxisRotated(Block block, TexturedModel.Factory verticalModelFactory, TexturedModel.Factory horizontalModelFactory)private voidBlockStateModelGenerator. registerAxisRotated(Block block, Identifier modelId)private voidBlockStateModelGenerator. registerAzalea(Block block)private voidBlockStateModelGenerator. registerBed(Block bed, Block particleSource)private voidBlockStateModelGenerator. registerBeehive(Block beehive, Function<Block,Texture> textureGetter)private BlockStateModelGenerator.BuiltinModelPoolBlockStateModelGenerator. registerBuiltin(Block block, Block particleBlock)private BlockStateModelGenerator.BuiltinModelPoolBlockStateModelGenerator. registerBuiltin(Identifier modelId, Block particleBlock)private voidBlockStateModelGenerator. registerBuiltinWithParticle(Block block, Item particleSource)private voidBlockStateModelGenerator. registerBuiltinWithParticle(Block block, Identifier particleSource)private voidBlockStateModelGenerator. registerCampfire(Block[] blocks)private voidBlockStateModelGenerator. registerCandle(Block candle, Block cake)private voidBlockStateModelGenerator. registerCarpet(Block wool, Block carpet)private voidBlockStateModelGenerator. registerCommandBlock(Block commandBlock)private voidBlockStateModelGenerator. registerCooker(Block cooker, TexturedModel.Factory modelFactory)private voidBlockStateModelGenerator. registerCoral(Block coral, Block deadCoral, Block coralBlock, Block deadCoralBlock, Block coralFan, Block deadCoralFan, Block coralWallFan, Block deadCoralWallFan)private voidBlockStateModelGenerator. registerCoralFan(Block coralFanBlock, Block coralWallFanBlock)private voidBlockStateModelGenerator. registerCrop(Block crop, Property<Integer> ageProperty, int[] ageTextureIndices)private BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator. registerCubeAllModelTexturePool(Block block)private voidBlockStateModelGenerator. registerCubeWithCustomTexture(Block block, Block otherTextureSource, BiFunction<Block,Block,Texture> textureFactory)private voidBlockStateModelGenerator. registerDoor(Block doorBlock)private voidBlockStateModelGenerator. registerDoubleBlock(Block doubleBlock, BlockStateModelGenerator.TintType tintType)private voidBlockStateModelGenerator. registerDoubleBlock(Block block, Identifier upperHalfModelId, Identifier lowerHalfModelId)private voidBlockStateModelGenerator. registerFlowerPotPlant(Block plantBlock, Block flowerPotBlock, BlockStateModelGenerator.TintType tintType)private voidBlockStateModelGenerator. registerFurnaceLikeOrientable(Block block)private voidBlockStateModelGenerator. registerGlassPane(Block glass, Block glassPane)private voidBlockStateModelGenerator. registerGourd(Block stemBlock, Block attachedStemBlock)private voidBlockStateModelGenerator. registerInfested(Block modelSource, Block infested)private voidBlockStateModelGenerator. registerItemModel(Block block)private voidBlockStateModelGenerator. registerItemModel(Block block, String textureSuffix)private voidBlockStateModelGenerator. registerLantern(Block lantern)private BlockStateModelGenerator.LogTexturePoolBlockStateModelGenerator. registerLog(Block logBlock)private voidBlockStateModelGenerator. registerMirrorable(Block block)private voidBlockStateModelGenerator. registerMushroomBlock(Block mushroomBlock)private voidBlockStateModelGenerator. registerNetherrackBottomCustomTop(Block block)private voidBlockStateModelGenerator. registerNorthDefaultHorizontalRotatable(Block block, Texture texture)private voidBlockStateModelGenerator. registerNorthDefaultHorizontalRotated(Block block, TexturedModel.Factory modelFactory)private voidBlockStateModelGenerator. registerNorthDefaultHorizontalRotation(Block block)private voidBlockStateModelGenerator. registerOrientableTrapdoor(Block trapdoorBlock)private voidBlockStateModelGenerator. registerParentedItemModel(Block block, Identifier parentModelId)private voidBlockStateModelGenerator. registerPiston(Block piston, Identifier extendedModelId, Texture texture)private voidBlockStateModelGenerator. registerPlantPart(Block plant, Block plantStem, BlockStateModelGenerator.TintType tintType)private voidBlockStateModelGenerator. registerPressurePlate(Block pressurePlate, Block textureSource)private voidBlockStateModelGenerator. registerRandomHorizontalRotations(TexturedModel.Factory modelFactory, Block[] blocks)private voidBlockStateModelGenerator. registerRod(Block block)private voidBlockStateModelGenerator. registerRoots(Block root, Block pottedRoot)private voidBlockStateModelGenerator. registerRotatable(Block block)private voidBlockStateModelGenerator. registerShulkerBox(Block shulkerBox)private voidBlockStateModelGenerator. registerSimpleCubeAll(Block block)private voidBlockStateModelGenerator. registerSimpleState(Block block)private voidBlockStateModelGenerator. registerSingleton(Block block, TexturedModel.Factory modelFactory)private voidBlockStateModelGenerator. registerSouthDefaultHorizontalFacing(TexturedModel.Factory modelFactory, Block[] blocks)private voidBlockStateModelGenerator. registerStateWithModelReference(Block block, Block modelReference)private voidBlockStateModelGenerator. registerStraightRail(Block rail)private voidBlockStateModelGenerator. registerTintableCross(Block block, BlockStateModelGenerator.TintType tintType)private voidBlockStateModelGenerator. registerTintableCross(Block block, BlockStateModelGenerator.TintType tintType, Texture texture)private voidBlockStateModelGenerator. registerTintableCrossBlockState(Block block, BlockStateModelGenerator.TintType tintType)private voidBlockStateModelGenerator. registerTintableCrossBlockState(Block block, BlockStateModelGenerator.TintType tintType, Texture crossTexture)private voidBlockStateModelGenerator. registerTopSoil(Block topSoil, Identifier modelId, BlockStateVariant snowyVariant)private voidBlockStateModelGenerator. registerTorch(Block torch, Block wallTorch)private voidBlockStateModelGenerator.BlockTexturePool. registerTrapdoor(Block block)private voidBlockStateModelGenerator. registerTrapdoor(Block trapdoorBlock)private voidBlockStateModelGenerator. registerTurnableRail(Block rail)private voidBlockStateModelGenerator. registerWallPlant(Block block)BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. same(Block[] blocks)private BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. sandstone(Block block)static TextureTexture. sideAndEndForTop(Block block)static TextureTexture. sideAndTop(Block block)static TextureTexture. sideEnd(Block block)static TextureTexture. sideFrontBack(Block block)static TextureTexture. sideFrontEnd(Block block)static TextureTexture. sideFrontTop(Block block)static TextureTexture. sideFrontTopBottom(Block block)static TextureTexture. sideTopBottom(Block block)BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. sign(Block signBlock)BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. slab(Block block)BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. stairs(Block block)BlockStateModelGenerator.LogTexturePoolBlockStateModelGenerator.LogTexturePool. stem(Block stemBlock)static TextureTexture. stem(Block block)static TextureTexture. stemAndUpper(Block stem, Block upper)static TextureTexture. texture(Block block)static TextureTexture. top(Block top)static TextureTexture. topBottom(Block block)static TextureTexture. torch(Block block)IdentifierModel. upload(Block block, String suffix, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)IdentifierModel. upload(Block block, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)default IdentifierTexturedModel.Factory. upload(Block block, String suffix, BiConsumer<Identifier,Supplier<JsonElement>> writer)default IdentifierTexturedModel.Factory. upload(Block block, BiConsumer<Identifier,Supplier<JsonElement>> writer)IdentifierTexturedModel. upload(Block block, String suffix, BiConsumer<Identifier,Supplier<JsonElement>> writer)IdentifierTexturedModel. upload(Block block, BiConsumer<Identifier,Supplier<JsonElement>> writer)IdentifierModel. uploadWithoutVariant(Block block, String suffix, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)BlockStateModelGenerator.BlockTexturePoolBlockStateModelGenerator.BlockTexturePool. wall(Block wallBlock)static TextureTexture. wallSideEnd(Block block)static TextureTexture. wallSideTopBottom(Block block)BlockStateModelGenerator.LogTexturePoolBlockStateModelGenerator.LogTexturePool. wood(Block woodBlock)static TextureTexture. wool(Block block)类型变量类型为Block的net.minecraft.data.client.model中的方法参数 修饰符和类型 方法 说明 private static TexturedModel.FactoryTexturedModel. makeFactory(Function<Block,Texture> textureGetter, Model model)private voidBlockStateModelGenerator. registerBeehive(Block beehive, Function<Block,Texture> textureGetter)private voidBlockStateModelGenerator. registerCubeWithCustomTexture(Block block, Block otherTextureSource, BiFunction<Block,Block,Texture> textureFactory)private voidBlockStateModelGenerator. registerCubeWithCustomTexture(Block block, Block otherTextureSource, BiFunction<Block,Block,Texture> textureFactory)参数类型为Block的net.minecraft.data.client.model中的构造器 构造器 说明 BuiltinModelPool(Identifier modelId, Block block)MultipartBlockStateSupplier(Block block)VariantsBlockStateSupplier(Block block, List<BlockStateVariant> variants) -
net.minecraft.data.family中Block的使用
声明为Block的net.minecraft.data.family中的字段 修饰符和类型 字段 说明 private BlockBlockFamily. baseBlock类型参数类型为Block的net.minecraft.data.family中的字段 修饰符和类型 字段 说明 private static Map<Block,BlockFamily>BlockFamilies. BASE_BLOCKS_TO_FAMILIESprivate Map<BlockFamily.Variant,Block>BlockFamily. variants返回Block的net.minecraft.data.family中的方法 修饰符和类型 方法 说明 BlockBlockFamily. getBaseBlock()BlockBlockFamily. getVariant(BlockFamily.Variant variant)返回变量类型为Block的类型的net.minecraft.data.family中的方法 修饰符和类型 方法 说明 Map<BlockFamily.Variant,Block>BlockFamily. getVariants()参数类型为Block的net.minecraft.data.family中的方法 修饰符和类型 方法 说明 BlockFamily.BuilderBlockFamily.Builder. button(Block block)BlockFamily.BuilderBlockFamily.Builder. chiseled(Block block)BlockFamily.BuilderBlockFamily.Builder. cracked(Block block)BlockFamily.BuilderBlockFamily.Builder. door(Block block)BlockFamily.BuilderBlockFamily.Builder. fence(Block block)BlockFamily.BuilderBlockFamily.Builder. fenceGate(Block block)BlockFamily.BuilderBlockFamily.Builder. polished(Block block)BlockFamily.BuilderBlockFamily.Builder. pressurePlate(Block block)private static BlockFamily.BuilderBlockFamilies. register(Block baseBlock)BlockFamily.BuilderBlockFamily.Builder. sign(Block block, Block wallBlock)BlockFamily.BuilderBlockFamily.Builder. slab(Block block)BlockFamily.BuilderBlockFamily.Builder. stairs(Block block)BlockFamily.BuilderBlockFamily.Builder. trapdoor(Block block)BlockFamily.BuilderBlockFamily.Builder. wall(Block block)参数类型为Block的net.minecraft.data.family中的构造器 构造器 说明 BlockFamily(Block baseBlock)Builder(Block baseBlock) -
net.minecraft.data.server中Block的使用
类型参数类型为Block的net.minecraft.data.server中的字段 修饰符和类型 字段 说明 private Function<Tag.Identified<Block>,Tag.Builder>ItemTagsProvider. blockTags返回Block的net.minecraft.data.server中的方法 修饰符和类型 方法 说明 private static BlockRecipesProvider. getVariantRecipeInput(BlockFamily family, BlockFamily.Variant variant)Gets the block used to craft a certain variant of a base block.参数类型为Block的net.minecraft.data.server中的方法 修饰符和类型 方法 说明 static LootTable.BuilderBlockLootTableGenerator. addDoorDrop(Block block)voidBlockLootTableGenerator. addDrop(Block block)private voidBlockLootTableGenerator. addDrop(Block block, Function<Block,LootTable.Builder> function)voidBlockLootTableGenerator. addDrop(Block block, ItemConvertible drop)private voidBlockLootTableGenerator. addDrop(Block block, LootTable.Builder lootTable)voidBlockLootTableGenerator. addDropWithSilkTouch(Block block)voidBlockLootTableGenerator. addDropWithSilkTouch(Block block, Block drop)voidBlockLootTableGenerator. addPottedPlantDrop(Block block)private voidBlockLootTableGenerator. addVinePlantDrop(Block block, Block drop)private static LootTable.BuilderBlockLootTableGenerator. attachedCropStemDrops(Block stem, Item drop)private static LootTable.BuilderBlockLootTableGenerator. bannerDrops(Block drop)private static LootTable.BuilderBlockLootTableGenerator. beehiveDrops(Block drop)private static LootTable.BuilderBlockLootTableGenerator. beeNestDrops(Block drop)private static LootTable.BuilderBlockLootTableGenerator. candleCakeDrops(Block candle)private static LootTable.BuilderBlockLootTableGenerator. candleDrops(Block candle)private static LootTable.BuilderBlockLootTableGenerator. cropDrops(Block crop, Item product, Item seeds, LootCondition.Builder condition)private static LootTable.BuilderBlockLootTableGenerator. cropStemDrops(Block stem, Item drop)private static LootTable.BuilderBlockLootTableGenerator. drops(Block dropWithSilkTouch, ItemConvertible drop)private static LootTable.BuilderBlockLootTableGenerator. drops(Block dropWithSilkTouch, ItemConvertible drop, LootNumberProvider count)private static LootTable.BuilderBlockLootTableGenerator. drops(Block drop, LootCondition.Builder conditionBuilder, LootPoolEntry.Builder<?> child)private static <T extends Comparable<T> & StringIdentifiable>
LootTable.BuilderBlockLootTableGenerator. dropsWithProperty(Block drop, Property<T> property, T t)private static LootTable.BuilderBlockLootTableGenerator. dropsWithShears(Block drop, LootPoolEntry.Builder<?> child)private static LootTable.BuilderBlockLootTableGenerator. dropsWithSilkTouch(Block drop, LootPoolEntry.Builder<?> child)private static LootTable.BuilderBlockLootTableGenerator. dropsWithSilkTouchOrShears(Block drop, LootPoolEntry.Builder<?> child)private static LootTable.BuilderBlockLootTableGenerator. grassDrops(Block dropWithShears)private static LootTable.BuilderBlockLootTableGenerator. leavesDrop(Block leaves, Block drop, float[] chance)private static LootTable.BuilderBlockLootTableGenerator. method_33709(Block block)private static LootTable.BuilderBlockLootTableGenerator. method_34057(Block block)private static LootTable.BuilderBlockLootTableGenerator. method_34058(Block block)private static LootTable.BuilderBlockLootTableGenerator. mushroomBlockDrops(Block dropWithSilkTouch, ItemConvertible drop)private static LootTable.BuilderBlockLootTableGenerator. nameableContainerDrops(Block drop)private static LootTable.BuilderBlockLootTableGenerator. oakLeavesDrop(Block leaves, Block drop, float[] chance)private static LootTable.BuilderBlockLootTableGenerator. oreDrops(Block dropWithSilkTouch, Item drop)private static EnterBlockCriterion.ConditionsRecipesProvider. requireEnteringFluid(Block block)private static LootTable.BuilderBlockLootTableGenerator. seagrassDrops(Block seagrass)private static LootTable.BuilderBlockLootTableGenerator. shulkerBoxDrops(Block drop)private static LootTable.BuilderBlockLootTableGenerator. slabDrops(Block drop)private static LootTable.BuilderBlockLootTableGenerator. tallGrassDrops(Block tallGrass, Block grass)类型变量类型为Block的net.minecraft.data.server中的方法参数 修饰符和类型 方法 说明 private voidBlockLootTableGenerator. addDrop(Block block, Function<Block,LootTable.Builder> function)protected voidItemTagsProvider. copy(Tag.Identified<Block> blockTag, Tag.Identified<Item> itemTag) -
net.minecraft.entity中Block的使用
类型参数类型为Block的net.minecraft.entity中的字段 修饰符和类型 字段 说明 private ImmutableSet<Block>EntityType.Builder. canSpawnInsideprivate ImmutableSet<Block>EntityType. canSpawnInside参数类型为Block的net.minecraft.entity中的方法 修饰符和类型 方法 说明 EntityType.Builder<T>EntityType.Builder. allowSpawningInside(Block[] blocks)Allows this type of entity to spawn inside the given block, bypassing the default wither rose, sweet berry bush, cactus, and fire-damage-dealing blocks for non-fire-resistant mobs.voidFallingBlockEntity. onDestroyedOnLanding(Block block, BlockPos pos)类型变量类型为Block的net.minecraft.entity中的构造器参数 构造器 说明 EntityType(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup, boolean saveable, boolean summonable, boolean fireImmune, boolean spawnableFarFromPlayer, ImmutableSet<Block> canSpawnInside, EntityDimensions dimensions, int maxTrackDistance, int trackTickInterval) -
net.minecraft.entity.ai.goal中Block的使用
声明为Block的net.minecraft.entity.ai.goal中的字段 修饰符和类型 字段 说明 private BlockStepAndDestroyBlockGoal. targetBlock参数类型为Block的net.minecraft.entity.ai.goal中的构造器 构造器 说明 StepAndDestroyBlockGoal(Block targetBlock, PathAwareEntity mob, double speed, int maxYDifference) -
net.minecraft.entity.vehicle中Block的使用
声明为Block的net.minecraft.entity.vehicle中的字段 修饰符和类型 字段 说明 private BlockBoatEntity.Type. baseBlock返回Block的net.minecraft.entity.vehicle中的方法 修饰符和类型 方法 说明 BlockBoatEntity.Type. getBaseBlock()参数类型为Block的net.minecraft.entity.vehicle中的构造器 构造器 说明 Type(Block baseBlock, String name) -
net.minecraft.item中Block的使用
声明为Block的net.minecraft.item中的字段 修饰符和类型 字段 说明 private BlockAirBlockItem. blockprivate BlockBlockItem. block已过时。protected BlockWallStandingBlockItem. wallBlock类型参数类型为Block的net.minecraft.item中的字段 修饰符和类型 字段 说明 static Map<Block,Item>Item. BLOCK_ITEMSprivate static Object2IntMap<Block>PickaxeItem. BLOCK_MINING_LEVELSprivate static Set<Block>AxeItem. EFFECTIVE_BLOCKSprivate static Set<Block>HoeItem. EFFECTIVE_BLOCKSprivate static Set<Block>PickaxeItem. EFFECTIVE_BLOCKSprivate static Set<Block>ShovelItem. EFFECTIVE_BLOCKSprivate Set<Block>MiningToolItem. effectiveBlocksprotected static Map<Block,BlockState>ShovelItem. PATH_STATESprotected static Map<Block,Block>AxeItem. STRIPPED_BLOCKSprotected static Map<Block,Block>AxeItem. STRIPPED_BLOCKSprotected static Map<Block,BlockState>HoeItem. TILLED_BLOCKSstatic Supplier<BiMap<Block,Block>>HoneycombItem. UNWAXED_TO_WAXED_BLOCKSstatic Supplier<BiMap<Block,Block>>HoneycombItem. UNWAXED_TO_WAXED_BLOCKSstatic Supplier<BiMap<Block,Block>>HoneycombItem. WAXED_TO_UNWAXED_BLOCKSstatic Supplier<BiMap<Block,Block>>HoneycombItem. WAXED_TO_UNWAXED_BLOCKS返回Block的net.minecraft.item中的方法 修饰符和类型 方法 说明 BlockBlockItem. getBlock()参数类型为Block的net.minecraft.item中的方法 修饰符和类型 方法 说明 static ItemItem. fromBlock(Block block)已过时。Please useasItem()private static ItemItems. register(Block block)protected static ItemItems. register(Block block, Item item)private static ItemItems. register(Block block, ItemGroup group)private static ItemItems. register(Block block, ItemGroup group, Block[] blocks)类型变量类型为Block的net.minecraft.item中的方法参数 修饰符和类型 方法 说明 voidBlockItem. appendBlocks(Map<Block,Item> map, Item item)voidWallStandingBlockItem. appendBlocks(Map<Block,Item> map, Item item)参数类型为Block的net.minecraft.item中的构造器 构造器 说明 AirBlockItem(Block block, Item.Settings settings)AliasedBlockItem(Block block, Item.Settings settings)BannerItem(Block standingBlock, Block wallBlock, Item.Settings settings)BedItem(Block block, Item.Settings settings)BlockItem(Block block, Item.Settings settings)CommandBlockItem(Block block, Item.Settings settings)LilyPadItem(Block block, Item.Settings settings)PowderSnowBucketItem(Block block, SoundEvent placeSound, Item.Settings settings)ScaffoldingItem(Block block, Item.Settings settings)SignItem(Item.Settings settings, Block standingBlock, Block wallBlock)SkullItem(Block standingBlock, Block wallBlock, Item.Settings settings)TallBlockItem(Block block, Item.Settings settings)WallStandingBlockItem(Block standingBlock, Block wallBlock, Item.Settings settings)类型变量类型为Block的net.minecraft.item中的构造器参数 构造器 说明 MiningToolItem(float attackDamage, float attackSpeed, ToolMaterial material, Set<Block> effectiveBlocks, Item.Settings settings) -
net.minecraft.loot.condition中Block的使用
声明为Block的net.minecraft.loot.condition中的字段 修饰符和类型 字段 说明 private BlockBlockStatePropertyLootCondition. blockprivate BlockBlockStatePropertyLootCondition.Builder. block参数类型为Block的net.minecraft.loot.condition中的方法 修饰符和类型 方法 说明 static BlockStatePropertyLootCondition.BuilderBlockStatePropertyLootCondition. builder(Block block)参数类型为Block的net.minecraft.loot.condition中的构造器 构造器 说明 BlockStatePropertyLootCondition(Block block, StatePredicate properties)Builder(Block block) -
net.minecraft.loot.function中Block的使用
声明为Block的net.minecraft.loot.function中的字段 修饰符和类型 字段 说明 private BlockCopyStateFunction. blockprivate BlockCopyStateFunction.Builder. block参数类型为Block的net.minecraft.loot.function中的方法 修饰符和类型 方法 说明 static CopyStateFunction.BuilderCopyStateFunction. getBuilder(Block block)参数类型为Block的net.minecraft.loot.function中的构造器 构造器 说明 Builder(Block block)CopyStateFunction(LootCondition[] conditions, Block block, Set<Property<?>> properties) -
net.minecraft.network.packet.s2c.play中Block的使用
声明为Block的net.minecraft.network.packet.s2c.play中的字段 修饰符和类型 字段 说明 private BlockBlockEventS2CPacket. block返回Block的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 BlockBlockEventS2CPacket. getBlock()参数类型为Block的net.minecraft.network.packet.s2c.play中的构造器 构造器 说明 BlockEventS2CPacket(BlockPos pos, Block block, int type, int data) -
net.minecraft.predicate中Block的使用
声明为Block的net.minecraft.predicate中的字段 修饰符和类型 字段 说明 private @Nullable BlockBlockPredicate. blockprivate @Nullable BlockBlockPredicate.Builder. block类型参数类型为Block的net.minecraft.predicate中的字段 修饰符和类型 字段 说明 private @Nullable Tag<Block>BlockPredicate.Builder. tagprivate @Nullable Tag<Block>BlockPredicate. tag参数类型为Block的net.minecraft.predicate中的方法 修饰符和类型 方法 说明 BlockPredicate.BuilderBlockPredicate.Builder. block(Block block)类型变量类型为Block的net.minecraft.predicate中的方法参数 修饰符和类型 方法 说明 BlockPredicate.BuilderBlockPredicate.Builder. tag(Tag<Block> tag)参数类型为Block的net.minecraft.predicate中的构造器 构造器 说明 BlockPredicate(@Nullable Tag<Block> tag, @Nullable Block block, StatePredicate state, NbtPredicate nbt)类型变量类型为Block的net.minecraft.predicate中的构造器参数 构造器 说明 BlockPredicate(@Nullable Tag<Block> tag, @Nullable Block block, StatePredicate state, NbtPredicate nbt) -
net.minecraft.predicate.block中Block的使用
声明为Block的net.minecraft.predicate.block中的字段 修饰符和类型 字段 说明 private BlockBlockPredicate. block类型参数类型为Block的net.minecraft.predicate.block中的字段 修饰符和类型 字段 说明 private StateManager<Block,BlockState>BlockStatePredicate. manager参数类型为Block的net.minecraft.predicate.block中的方法 修饰符和类型 方法 说明 static BlockStatePredicateBlockStatePredicate. forBlock(Block block)static BlockPredicateBlockPredicate. make(Block block)参数类型为Block的net.minecraft.predicate.block中的构造器 构造器 说明 BlockPredicate(Block block)类型变量类型为Block的net.minecraft.predicate.block中的构造器参数 构造器 说明 BlockStatePredicate(StateManager<Block,BlockState> manager) -
net.minecraft.screen中Block的使用
参数类型为Block的net.minecraft.screen中的方法 修饰符和类型 方法 说明 protected static booleanScreenHandler. canUse(ScreenHandlerContext context, PlayerEntity player, Block block) -
net.minecraft.server.world中Block的使用
声明为Block的net.minecraft.server.world中的字段 修饰符和类型 字段 说明 private BlockBlockEvent. block类型参数类型为Block的net.minecraft.server.world中的字段 修饰符和类型 字段 说明 private ServerTickScheduler<Block>ServerWorld. blockTickScheduler返回Block的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 BlockBlockEvent. getBlock()返回变量类型为Block的类型的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 ServerTickScheduler<Block>ServerWorld. getBlockTickScheduler()参数类型为Block的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 voidServerWorld. addSyncedBlockEvent(BlockPos pos, Block block, int type, int data)voidServerWorld. updateNeighbors(BlockPos pos, Block block)类型变量类型为Block的net.minecraft.server.world中的方法参数 修饰符和类型 方法 说明 private voidServerWorld. tickBlock(ScheduledTick<Block> tick)参数类型为Block的net.minecraft.server.world中的构造器 构造器 说明 BlockEvent(BlockPos pos, Block block, int type, int data) -
net.minecraft.stat中Block的使用
类型参数类型为Block的net.minecraft.stat中的字段 修饰符和类型 字段 说明 static StatType<Block>Stats. MINED -
net.minecraft.structure中Block的使用
类型参数类型为Block的net.minecraft.structure中的字段 修饰符和类型 字段 说明 private static Set<Block>StructurePiece. BLOCKS_NEEDING_POST_PROCESSINGprivate Map<Block,List<Structure.StructureBlockInfo>>Structure.PalettedBlockInfoList. blockToInfosprotected static Set<Block>OceanMonumentGenerator.Piece. ICE_BLOCKS参数类型为Block的net.minecraft.structure中的方法 修饰符和类型 方法 说明 private static StructureProcessorRuleRuinedPortalStructurePiece. createReplacementRule(Block old, float chance, Block updated)private static StructureProcessorRuleRuinedPortalStructurePiece. createReplacementRule(Block old, Block updated)List<Structure.StructureBlockInfo>Structure.PalettedBlockInfoList. getAllOf(Block block)List<Structure.StructureBlockInfo>Structure. getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block)List<Structure.StructureBlockInfo>Structure. getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed)voidStructure. saveFromWorld(World world, BlockPos start, Vec3i vec3i, boolean includeEntities, @Nullable Block ignoredBlock) -
net.minecraft.structure.processor中Block的使用
类型参数类型为Block的net.minecraft.structure.processor中的字段 修饰符和类型 字段 说明 private ImmutableList<Block>BlockIgnoreStructureProcessor. blocksprivate Map<Block,Block>BlackstoneReplacementStructureProcessor. replacementMapprivate Map<Block,Block>BlackstoneReplacementStructureProcessor. replacementMap参数类型为Block的net.minecraft.structure.processor中的方法 修饰符和类型 方法 说明 private static BlockStateBlockAgeStructureProcessor. randomStairProperties(Random random, Block stairs)类型变量类型为Block的net.minecraft.structure.processor中的构造器参数 构造器 说明 BlockIgnoreStructureProcessor(List<Block> blocks) -
net.minecraft.structure.rule中Block的使用
声明为Block的net.minecraft.structure.rule中的字段 修饰符和类型 字段 说明 private BlockBlockMatchRuleTest. blockprivate BlockRandomBlockMatchRuleTest. block类型参数类型为Block的net.minecraft.structure.rule中的字段 修饰符和类型 字段 说明 private Tag<Block>TagMatchRuleTest. tag参数类型为Block的net.minecraft.structure.rule中的构造器 构造器 说明 BlockMatchRuleTest(Block block)RandomBlockMatchRuleTest(Block block, float probability)类型变量类型为Block的net.minecraft.structure.rule中的构造器参数 构造器 说明 TagMatchRuleTest(Tag<Block> tag) -
net.minecraft.tag中Block的使用
返回变量类型为Block的类型的net.minecraft.tag中的方法 修饰符和类型 方法 说明 static TagGroup<Block>BlockTags. getTagGroup()private static Tag.Identified<Block>BlockTags. register(String id) -
net.minecraft.test中Block的使用
参数类型为Block的net.minecraft.test中的方法 修饰符和类型 方法 说明 voidTestContext. dontExpectBlock(Block block, int x, int y, int z)voidTestContext. dontExpectBlock(Block block, BlockPos pos)voidTestContext. expectBlock(Block block, int x, int y, int z)voidTestContext. expectBlock(Block block, BlockPos pos)voidTestContext. expectBlockAtEnd(Block block, int x, int y, int z)voidTestContext. expectBlockAtEnd(Block block, BlockPos pos)voidTestContext. setBlockState(int x, int y, int z, Block block)voidTestContext. setBlockState(BlockPos pos, Block block)protected static voidStructureTestListener. visualizeTest(GameTestState test, Block block)类型变量类型为Block的net.minecraft.test中的方法参数 修饰符和类型 方法 说明 voidTestContext. checkBlock(BlockPos pos, Predicate<Block> predicate, String errorMessage)voidTestContext. checkBlock(BlockPos pos, Predicate<Block> predicate, Supplier<String> errorMessageSupplier) -
net.minecraft.util.registry中Block的使用
类型参数类型为Block的net.minecraft.util.registry中的字段 修饰符和类型 字段 说明 static DefaultedRegistry<Block>Registry. BLOCKstatic RegistryKey<Registry<Block>>Registry. BLOCK_KEY -
net.minecraft.village中Block的使用
类型参数类型为Block的net.minecraft.village中的字段 修饰符和类型 字段 说明 private ImmutableSet<Block>VillagerProfession. secondaryJobSites返回变量类型为Block的类型的net.minecraft.village中的方法 修饰符和类型 方法 说明 ImmutableSet<Block>VillagerProfession. getSecondaryJobSites()参数类型为Block的net.minecraft.village中的构造器 构造器 说明 SellItemFactory(Block block, int price, int count, int maxUses, int experience) -
net.minecraft.world中Block的使用
类型参数类型为Block的net.minecraft.world中的字段 修饰符和类型 字段 说明 private TickScheduler<Block>ChunkRegion. blockTickScheduler返回变量类型为Block的类型的net.minecraft.world中的方法 修饰符和类型 方法 说明 TickScheduler<Block>ChunkRegion. getBlockTickScheduler()TickScheduler<Block>WorldAccess. getBlockTickScheduler()参数类型为Block的net.minecraft.world中的方法 修饰符和类型 方法 说明 voidWorld. addSyncedBlockEvent(BlockPos pos, Block block, int type, int data)static Optional<BlockPos>PortalUtil. method_34851(BlockView blockView, BlockPos blockPos, Block block, Direction direction, Block block2)voidWorld. updateComparators(BlockPos pos, Block block)voidWorld. updateNeighbor(BlockPos pos, Block sourceBlock, BlockPos neighborPos)default voidWorldAccess. updateNeighbors(BlockPos pos, Block block)voidWorld. updateNeighborsAlways(BlockPos pos, Block block)voidWorld. updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction) -
net.minecraft.world.chunk中Block的使用
类型参数类型为Block的net.minecraft.world.chunk中的字段 修饰符和类型 字段 说明 private static Map<Block,UpgradeData.Logic>UpgradeData. BLOCK_TO_LOGICprivate ChunkTickScheduler<Block>ProtoChunk. blockTickSchedulerprivate TickScheduler<Block>WorldChunk. blockTickScheduler返回变量类型为Block的类型的net.minecraft.world.chunk中的方法 修饰符和类型 方法 说明 TickScheduler<Block>Chunk. getBlockTickScheduler()ChunkTickScheduler<Block>ProtoChunk. getBlockTickScheduler()ChunkTickScheduler<Block>ReadOnlyChunk. getBlockTickScheduler()TickScheduler<Block>WorldChunk. getBlockTickScheduler()参数类型为Block的net.minecraft.world.chunk中的构造器 构造器 说明 BuiltinLogic(boolean bool, Block[] block)BuiltinLogic(Block[] blocks)类型变量类型为Block的net.minecraft.world.chunk中的构造器参数 构造器 说明 ProtoChunk(ChunkPos pos, UpgradeData upgradeData, @Nullable ChunkSection[] chunkSection, ChunkTickScheduler<Block> blockTickScheduler, ChunkTickScheduler<Fluid> fluidTickScheduler, HeightLimitView world)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中Block的使用
返回变量类型为Block的类型的net.minecraft.world.dimension中的方法 修饰符和类型 方法 说明 Tag<Block>DimensionType. getInfiniburnBlocks() -
net.minecraft.world.gen.carver中Block的使用
类型参数类型为Block的net.minecraft.world.gen.carver中的字段 修饰符和类型 字段 说明 protected Set<Block>Carver. alwaysCarvableBlocks -
net.minecraft.world.gen.chunk中Block的使用
声明为Block的net.minecraft.world.gen.chunk中的字段 修饰符和类型 字段 说明 private BlockFlatChunkGeneratorLayer. field_29566参数类型为Block的net.minecraft.world.gen.chunk中的构造器 构造器 说明 FlatChunkGeneratorLayer(int thickness, Block block) -
net.minecraft.world.gen.feature中Block的使用
类型参数类型为Block的net.minecraft.world.gen.feature中的字段 修饰符和类型 字段 说明 private static ImmutableList<Block>BasaltColumnsFeature. BLOCKSprivate static ImmutableList<Block>DeltaFeature. BLOCKSSet<Block>SpringFeatureConfig. validBlocksprivate Set<Block>RandomPatchFeatureConfig.Builder. whitelistSet<Block>RandomPatchFeatureConfig. whitelist参数类型为Block的net.minecraft.world.gen.feature中的方法 修饰符和类型 方法 说明 booleanGlowLichenFeatureConfig. canGrowOn(Block block)private static @Nullable BlockPosReplaceBlobsFeature. moveDownToTarget(WorldAccess world, BlockPos.Mutable mutablePos, Block target)类型变量类型为Block的net.minecraft.world.gen.feature中的方法参数 修饰符和类型 方法 说明 RandomPatchFeatureConfig.BuilderRandomPatchFeatureConfig.Builder. whitelist(Set<Block> whitelist)参数类型为Block的net.minecraft.world.gen.feature中的构造器 构造器 说明 Type(String name, Block log, Block planks, Block fence)类型变量类型为Block的net.minecraft.world.gen.feature中的构造器参数 构造器 说明 RandomPatchFeatureConfig(BlockStateProvider stateProvider, BlockPlacer blockPlacer, Set<Block> whitelist, Set<BlockState> blacklist, int tries, int spreadX, int spreadY, int spreadZ, boolean canReplace, boolean project, boolean needsWater)SpringFeatureConfig(FluidState state, boolean requiresBlockBelow, int rockCount, int holeCount, Set<Block> validBlocks) -
net.minecraft.world.gen.stateprovider中Block的使用
声明为Block的net.minecraft.world.gen.stateprovider中的字段 修饰符和类型 字段 说明 private BlockPillarBlockStateProvider. block参数类型为Block的net.minecraft.world.gen.stateprovider中的构造器 构造器 说明 PillarBlockStateProvider(Block block) -
net.minecraft.world.poi中Block的使用
参数类型为Block的net.minecraft.world.poi中的方法 修饰符和类型 方法 说明 private static Set<BlockState>PointOfInterestType. getAllStatesOf(Block block)
-