类的使用
net.minecraft.nbt.CompoundTag
-
-
net.minecraft.block.entity中CompoundTag的使用
声明为CompoundTag的net.minecraft.block.entity中的字段 修饰符和类型 字段 说明 private CompoundTagBeehiveBlockEntity.Bee. entityData参数类型为CompoundTag的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 voidBeehiveBlockEntity. addBee(CompoundTag nbtCompound, int ticksInHive, boolean hasNectar)static @Nullable BlockEntityBlockEntity. createFromNbt(BlockPos pos, BlockState state, CompoundTag nbt)protected booleanLootableContainerBlockEntity. deserializeLootTable(CompoundTag nbt)voidShulkerBoxBlockEntity. readInventoryNbt(CompoundTag nbt)voidAbstractFurnaceBlockEntity. readNbt(CompoundTag nbt)voidBannerBlockEntity. readNbt(CompoundTag nbt)voidBarrelBlockEntity. readNbt(CompoundTag nbt)voidBeaconBlockEntity. readNbt(CompoundTag nbt)voidBeehiveBlockEntity. readNbt(CompoundTag nbt)voidBlockEntity. readNbt(CompoundTag nbt)voidBrewingStandBlockEntity. readNbt(CompoundTag nbt)voidCampfireBlockEntity. readNbt(CompoundTag nbt)voidChestBlockEntity. readNbt(CompoundTag nbt)voidCommandBlockBlockEntity. readNbt(CompoundTag nbt)voidComparatorBlockEntity. readNbt(CompoundTag nbt)voidConduitBlockEntity. readNbt(CompoundTag nbt)voidDispenserBlockEntity. readNbt(CompoundTag nbt)voidEnchantingTableBlockEntity. readNbt(CompoundTag nbt)voidEndGatewayBlockEntity. readNbt(CompoundTag nbt)voidHopperBlockEntity. readNbt(CompoundTag nbt)voidJigsawBlockEntity. readNbt(CompoundTag nbt)voidJukeboxBlockEntity. readNbt(CompoundTag nbt)voidLecternBlockEntity. readNbt(CompoundTag nbt)voidLockableContainerBlockEntity. readNbt(CompoundTag nbt)voidMobSpawnerBlockEntity. readNbt(CompoundTag nbt)voidPistonBlockEntity. readNbt(CompoundTag nbt)voidSculkSensorBlockEntity. readNbt(CompoundTag nbt)voidShulkerBoxBlockEntity. readNbt(CompoundTag nbt)voidSignBlockEntity. readNbt(CompoundTag nbt)voidSkullBlockEntity. readNbt(CompoundTag nbt)voidStructureBlockBlockEntity. readNbt(CompoundTag nbt)private CompoundTagCampfireBlockEntity. saveInitialChunkData(CompoundTag nbt)protected booleanLootableContainerBlockEntity. serializeLootTable(CompoundTag nbt)private CompoundTagBlockEntity. writeIdentifyingData(CompoundTag nbt)CompoundTagShulkerBoxBlockEntity. writeInventoryNbt(CompoundTag nbt)CompoundTagAbstractFurnaceBlockEntity. writeNbt(CompoundTag nbt)CompoundTagBannerBlockEntity. writeNbt(CompoundTag nbt)CompoundTagBarrelBlockEntity. writeNbt(CompoundTag nbt)CompoundTagBeaconBlockEntity. writeNbt(CompoundTag nbt)CompoundTagBeehiveBlockEntity. writeNbt(CompoundTag nbt)CompoundTagBlockEntity. writeNbt(CompoundTag nbt)CompoundTagBrewingStandBlockEntity. writeNbt(CompoundTag nbt)CompoundTagCampfireBlockEntity. writeNbt(CompoundTag nbt)CompoundTagChestBlockEntity. writeNbt(CompoundTag nbt)CompoundTagCommandBlockBlockEntity. writeNbt(CompoundTag nbt)CompoundTagComparatorBlockEntity. writeNbt(CompoundTag nbt)CompoundTagConduitBlockEntity. writeNbt(CompoundTag nbt)CompoundTagDispenserBlockEntity. writeNbt(CompoundTag nbt)CompoundTagEnchantingTableBlockEntity. writeNbt(CompoundTag nbt)CompoundTagEndGatewayBlockEntity. writeNbt(CompoundTag nbt)CompoundTagHopperBlockEntity. writeNbt(CompoundTag nbt)CompoundTagJigsawBlockEntity. writeNbt(CompoundTag nbt)CompoundTagJukeboxBlockEntity. writeNbt(CompoundTag nbt)CompoundTagLecternBlockEntity. writeNbt(CompoundTag nbt)CompoundTagLockableContainerBlockEntity. writeNbt(CompoundTag nbt)CompoundTagMobSpawnerBlockEntity. writeNbt(CompoundTag nbt)CompoundTagPistonBlockEntity. writeNbt(CompoundTag nbt)CompoundTagSculkSensorBlockEntity. writeNbt(CompoundTag nbt)CompoundTagShulkerBoxBlockEntity. writeNbt(CompoundTag nbt)CompoundTagSignBlockEntity. writeNbt(CompoundTag nbt)CompoundTagSkullBlockEntity. writeNbt(CompoundTag nbt)CompoundTagStructureBlockBlockEntity. writeNbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.block.entity中的构造器 构造器 说明 Bee(CompoundTag entityData, int ticksInHive, int minOccupationTicks) -
net.minecraft.client中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.client中的方法 修饰符和类型 方法 说明 private voidKeyboard. copyBlock(BlockState state, BlockPos pos, @Nullable CompoundTag nbt)private voidKeyboard. copyEntity(Identifier id, Vec3d pos, @Nullable CompoundTag nbt) -
net.minecraft.client.gui.screen.ingame中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.client.gui.screen.ingame中的方法 修饰符和类型 方法 说明 static voidBookScreen. method_33888(CompoundTag nbt, Consumer<String> consumer)private static List<String>BookScreen. readPages(CompoundTag nbt) -
net.minecraft.client.network中CompoundTag的使用
类型参数类型为CompoundTag的net.minecraft.client.network中的字段 修饰符和类型 字段 说明 private @Nullable Consumer<CompoundTag>DataQueryHandler. callback返回CompoundTag的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 CompoundTagServerInfo. toNbt()参数类型为CompoundTag的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 static ServerInfoServerInfo. fromNbt(CompoundTag root)booleanDataQueryHandler. handleQueryResponse(int transactionId, @Nullable CompoundTag nbt)类型变量类型为CompoundTag的net.minecraft.client.network中的方法参数 修饰符和类型 方法 说明 private intDataQueryHandler. nextQuery(Consumer<CompoundTag> callback)voidDataQueryHandler. queryBlockNbt(BlockPos pos, Consumer<CompoundTag> callback)voidDataQueryHandler. queryEntityNbt(int entityNetworkId, Consumer<CompoundTag> callback) -
net.minecraft.client.option中CompoundTag的使用
返回CompoundTag的net.minecraft.client.option中的方法 修饰符和类型 方法 说明 private CompoundTagGameOptions. update(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.client.option中的方法 修饰符和类型 方法 说明 private CompoundTagGameOptions. update(CompoundTag nbt) -
net.minecraft.client.particle中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.client.particle中的构造器 构造器 说明 FireworkParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, @Nullable CompoundTag nbt) -
net.minecraft.client.world中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.client.world中的方法 修饰符和类型 方法 说明 voidClientWorld. addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, @Nullable CompoundTag nbt)@Nullable WorldChunkClientChunkManager. loadChunkFromPacket(int x, int z, BiomeArray biomes, PacketByteBuf buf, CompoundTag nbt, BitSet bitSet) -
net.minecraft.command中CompoundTag的使用
类型参数类型为CompoundTag的net.minecraft.command中的字段 修饰符和类型 字段 说明 private Map<String,CompoundTag>DataCommandStorage.PersistentState. map返回CompoundTag的net.minecraft.command中的方法 修饰符和类型 方法 说明 CompoundTagDataCommandStorage. get(Identifier id)CompoundTagDataCommandStorage.PersistentState. get(String name)CompoundTagBlockDataObject. getNbt()CompoundTagDataCommandObject. getNbt()CompoundTagEntityDataObject. getNbt()CompoundTagStorageDataObject. getNbt()CompoundTagDataCommandStorage.PersistentState. writeNbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.command中的方法 修饰符和类型 方法 说明 private DataCommandStorage.PersistentStateDataCommandStorage.PersistentState. readNbt(CompoundTag nbt)voidDataCommandStorage.PersistentState. set(String name, CompoundTag nbt)voidDataCommandStorage. set(Identifier id, CompoundTag nbt)voidBlockDataObject. setNbt(CompoundTag nbt)voidDataCommandObject. setNbt(CompoundTag nbt)voidEntityDataObject. setNbt(CompoundTag nbt)voidStorageDataObject. setNbt(CompoundTag nbt)CompoundTagDataCommandStorage.PersistentState. writeNbt(CompoundTag nbt) -
net.minecraft.command.argument中CompoundTag的使用
声明为CompoundTag的net.minecraft.command.argument中的字段 修饰符和类型 字段 说明 private @Nullable CompoundTagItemPredicateArgumentType.TagPredicate. compoundprivate @Nullable CompoundTagBlockArgumentParser. dataprivate @Nullable CompoundTagBlockStateArgument. dataprivate CompoundTagNbtPathArgumentType.FilteredListElementNode. filterprivate CompoundTagNbtPathArgumentType.FilteredNamedNode. filterprivate @Nullable CompoundTagBlockPredicateArgumentType.StatePredicate. nbtprivate @Nullable CompoundTagBlockPredicateArgumentType.TagPredicate. nbtprivate @Nullable CompoundTagItemPredicateArgumentType.ItemPredicate. nbtprivate @Nullable CompoundTagItemStackArgument. nbtprivate @Nullable CompoundTagItemStringReader. nbt返回CompoundTag的net.minecraft.command.argument中的方法 修饰符和类型 方法 说明 @Nullable CompoundTagItemStringReader. getNbt()static <S> CompoundTagNbtCompoundTagArgumentType. getNbtCompound(com.mojang.brigadier.context.CommandContext<S> context, String name)@Nullable CompoundTagBlockArgumentParser. getNbtData()CompoundTagNbtCompoundTagArgumentType. parse(com.mojang.brigadier.StringReader stringReader)参数类型为CompoundTag的net.minecraft.command.argument中的方法 修饰符和类型 方法 说明 private static Predicate<Tag>NbtPathArgumentType. getPredicate(CompoundTag filter)参数类型为CompoundTag的net.minecraft.command.argument中的构造器 构造器 说明 BlockStateArgument(BlockState state, Set<Property<?>> properties, @Nullable CompoundTag data)FilteredListElementNode(CompoundTag filter)FilteredNamedNode(String name, CompoundTag filter)FilteredRootNode(CompoundTag filter)ItemPredicate(Item item, @Nullable CompoundTag nbt)ItemStackArgument(Item item, @Nullable CompoundTag nbt)StatePredicate(BlockState state, Set<Property<?>> properties, @Nullable CompoundTag nbt)TagPredicate(Tag<Block> tag, Map<String,String> map, @Nullable CompoundTag nbt)TagPredicate(Tag<Item> tag, @Nullable CompoundTag nbt) -
net.minecraft.data中CompoundTag的使用
返回CompoundTag的net.minecraft.data中的方法 修饰符和类型 方法 说明 CompoundTagSnbtProvider.Tweaker. write(String name, CompoundTag nbt)private CompoundTagSnbtProvider. write(String string, CompoundTag compoundTag)参数类型为CompoundTag的net.minecraft.data中的方法 修饰符和类型 方法 说明 CompoundTagSnbtProvider.Tweaker. write(String name, CompoundTag nbt)private CompoundTagSnbtProvider. write(String string, CompoundTag compoundTag) -
net.minecraft.data.validate中CompoundTag的使用
返回CompoundTag的net.minecraft.data.validate中的方法 修饰符和类型 方法 说明 private static CompoundTagStructureValidatorProvider. addDataVersion(CompoundTag nbt)private static CompoundTagStructureValidatorProvider. internalUpdate(String name, CompoundTag nbt)static CompoundTagStructureValidatorProvider. update(String name, CompoundTag nbt)CompoundTagStructureValidatorProvider. write(String name, CompoundTag nbt)参数类型为CompoundTag的net.minecraft.data.validate中的方法 修饰符和类型 方法 说明 private static CompoundTagStructureValidatorProvider. addDataVersion(CompoundTag nbt)private static CompoundTagStructureValidatorProvider. internalUpdate(String name, CompoundTag nbt)static CompoundTagStructureValidatorProvider. update(String name, CompoundTag nbt)CompoundTagStructureValidatorProvider. write(String name, CompoundTag nbt) -
net.minecraft.entity中CompoundTag的使用
声明为CompoundTag的net.minecraft.entity中的字段 修饰符和类型 字段 说明 CompoundTagFallingBlockEntity. blockEntityData返回CompoundTag的net.minecraft.entity中的方法 修饰符和类型 方法 说明 CompoundTagEntity. writeNbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.entity中的方法 修饰符和类型 方法 说明 static voidBucketable. copyDataFromNbt(MobEntity entity, CompoundTag nbt)voidBucketable. copyDataFromNbt(CompoundTag nbt)TEntityType. create(ServerWorld world, @Nullable CompoundTag itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)static Optional<EntityType<?>>EntityType. fromNbt(CompoundTag nbt)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)protected voidAreaEffectCloudEntity. readCustomDataFromNbt(CompoundTag nbt)protected abstract voidEntity. readCustomDataFromNbt(CompoundTag nbt)voidExperienceOrbEntity. readCustomDataFromNbt(CompoundTag nbt)voidEyeOfEnderEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidFallingBlockEntity. readCustomDataFromNbt(CompoundTag nbt)voidItemEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidLightningEntity. readCustomDataFromNbt(CompoundTag nbt)voidLivingEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidTntEntity. readCustomDataFromNbt(CompoundTag nbt)voidEntity. readNbt(CompoundTag nbt)voidSaddledComponent. readNbt(CompoundTag nbt)booleanEntity. saveNbt(CompoundTag nbt)booleanEntity. saveSelfNbt(CompoundTag nbt)TEntityType. spawn(ServerWorld world, @Nullable CompoundTag itemNbt, @Nullable Text name, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)protected voidAreaEffectCloudEntity. writeCustomDataToNbt(CompoundTag nbt)protected abstract voidEntity. writeCustomDataToNbt(CompoundTag nbt)voidExperienceOrbEntity. writeCustomDataToNbt(CompoundTag nbt)voidEyeOfEnderEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidFallingBlockEntity. writeCustomDataToNbt(CompoundTag nbt)voidItemEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidLightningEntity. writeCustomDataToNbt(CompoundTag nbt)voidLivingEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidTntEntity. writeCustomDataToNbt(CompoundTag nbt)CompoundTagEntity. writeNbt(CompoundTag nbt)voidSaddledComponent. writeNbt(CompoundTag nbt) -
net.minecraft.entity.attribute中CompoundTag的使用
返回CompoundTag的net.minecraft.entity.attribute中的方法 修饰符和类型 方法 说明 CompoundTagEntityAttributeInstance. toNbt()CompoundTagEntityAttributeModifier. toNbt()参数类型为CompoundTag的net.minecraft.entity.attribute中的方法 修饰符和类型 方法 说明 static @Nullable EntityAttributeModifierEntityAttributeModifier. fromNbt(CompoundTag nbt)voidEntityAttributeInstance. readNbt(CompoundTag nbt) -
net.minecraft.entity.boss中CompoundTag的使用
返回CompoundTag的net.minecraft.entity.boss中的方法 修饰符和类型 方法 说明 CompoundTagBossBarManager. toNbt()CompoundTagCommandBossBar. toNbt()参数类型为CompoundTag的net.minecraft.entity.boss中的方法 修饰符和类型 方法 说明 static CommandBossBarCommandBossBar. fromNbt(CompoundTag nbt, Identifier id)voidWitherEntity. readCustomDataFromNbt(CompoundTag nbt)voidBossBarManager. readNbt(CompoundTag nbt)voidWitherEntity. writeCustomDataToNbt(CompoundTag nbt) -
net.minecraft.entity.boss.dragon中CompoundTag的使用
返回CompoundTag的net.minecraft.entity.boss.dragon中的方法 修饰符和类型 方法 说明 CompoundTagEnderDragonFight. toNbt()参数类型为CompoundTag的net.minecraft.entity.boss.dragon中的方法 修饰符和类型 方法 说明 voidEnderDragonEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidEnderDragonPart. readCustomDataFromNbt(CompoundTag nbt)voidEnderDragonEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidEnderDragonPart. writeCustomDataToNbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.entity.boss.dragon中的构造器 构造器 说明 EnderDragonFight(ServerWorld world, long gatewaysSeed, CompoundTag nbt) -
net.minecraft.entity.data中CompoundTag的使用
类型参数类型为CompoundTag的net.minecraft.entity.data中的字段 修饰符和类型 字段 说明 static TrackedDataHandler<CompoundTag>TrackedDataHandlerRegistry. TAG_COMPOUND -
net.minecraft.entity.decoration中CompoundTag的使用
返回CompoundTag的net.minecraft.entity.decoration中的方法 修饰符和类型 方法 说明 private CompoundTagArmorStandEntity. serializePose()参数类型为CompoundTag的net.minecraft.entity.decoration中的方法 修饰符和类型 方法 说明 voidAbstractDecorationEntity. readCustomDataFromNbt(CompoundTag nbt)voidArmorStandEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidEndCrystalEntity. readCustomDataFromNbt(CompoundTag nbt)voidItemFrameEntity. readCustomDataFromNbt(CompoundTag nbt)voidLeashKnotEntity. readCustomDataFromNbt(CompoundTag nbt)private voidArmorStandEntity. readPoseNbt(CompoundTag nbt)voidAbstractDecorationEntity. writeCustomDataToNbt(CompoundTag nbt)voidArmorStandEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidEndCrystalEntity. writeCustomDataToNbt(CompoundTag nbt)voidItemFrameEntity. writeCustomDataToNbt(CompoundTag nbt)voidLeashKnotEntity. writeCustomDataToNbt(CompoundTag nbt) -
net.minecraft.entity.decoration.painting中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.entity.decoration.painting中的方法 修饰符和类型 方法 说明 voidPaintingEntity. readCustomDataFromNbt(CompoundTag nbt)voidPaintingEntity. writeCustomDataToNbt(CompoundTag nbt) -
net.minecraft.entity.effect中CompoundTag的使用
返回CompoundTag的net.minecraft.entity.effect中的方法 修饰符和类型 方法 说明 CompoundTagStatusEffectInstance. writeNbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.entity.effect中的方法 修饰符和类型 方法 说明 private static StatusEffectInstanceStatusEffectInstance. fromNbt(StatusEffect type, CompoundTag nbt)static @Nullable StatusEffectInstanceStatusEffectInstance. fromNbt(CompoundTag nbt)CompoundTagStatusEffectInstance. writeNbt(CompoundTag nbt)private voidStatusEffectInstance. writeTypelessNbt(CompoundTag nbt) -
net.minecraft.entity.mob中CompoundTag的使用
声明为CompoundTag的net.minecraft.entity.mob中的字段 修饰符和类型 字段 说明 private @Nullable CompoundTagMobEntity. leashNbtprivate CompoundTagZombieVillagerEntity. offerData -
net.minecraft.entity.passive中CompoundTag的使用
-
net.minecraft.entity.player中CompoundTag的使用
类型参数类型为CompoundTag的net.minecraft.entity.player中的字段 修饰符和类型 字段 说明 protected static TrackedData<CompoundTag>PlayerEntity. LEFT_SHOULDER_ENTITYprotected static TrackedData<CompoundTag>PlayerEntity. RIGHT_SHOULDER_ENTITY返回CompoundTag的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 CompoundTagPlayerEntity. getShoulderEntityLeft()CompoundTagPlayerEntity. getShoulderEntityRight()参数类型为CompoundTag的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 booleanPlayerEntity. addShoulderEntity(CompoundTag entityNbt)private voidPlayerEntity. dropShoulderEntity(CompoundTag entityNbt)voidPlayerEntity. readCustomDataFromNbt(CompoundTag nbt)voidHungerManager. readNbt(CompoundTag nbt)voidPlayerAbilities. readNbt(CompoundTag nbt)protected voidPlayerEntity. setShoulderEntityLeft(CompoundTag entityNbt)protected voidPlayerEntity. setShoulderEntityRight(CompoundTag entityNbt)private voidPlayerEntity. updateShoulderEntity(@Nullable CompoundTag entityNbt)voidPlayerEntity. writeCustomDataToNbt(CompoundTag nbt)voidHungerManager. writeNbt(CompoundTag nbt)voidPlayerAbilities. writeNbt(CompoundTag nbt) -
net.minecraft.entity.projectile中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.entity.projectile中的方法 修饰符和类型 方法 说明 voidAbstractFireballEntity. readCustomDataFromNbt(CompoundTag nbt)voidArrowEntity. readCustomDataFromNbt(CompoundTag nbt)voidExplosiveProjectileEntity. readCustomDataFromNbt(CompoundTag nbt)voidFireballEntity. readCustomDataFromNbt(CompoundTag nbt)voidFireworkRocketEntity. readCustomDataFromNbt(CompoundTag nbt)voidFishingBobberEntity. readCustomDataFromNbt(CompoundTag nbt)voidPersistentProjectileEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidProjectileEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidShulkerBulletEntity. readCustomDataFromNbt(CompoundTag nbt)voidSpectralArrowEntity. readCustomDataFromNbt(CompoundTag nbt)voidTridentEntity. readCustomDataFromNbt(CompoundTag nbt)voidAbstractFireballEntity. writeCustomDataToNbt(CompoundTag nbt)voidArrowEntity. writeCustomDataToNbt(CompoundTag nbt)voidExplosiveProjectileEntity. writeCustomDataToNbt(CompoundTag nbt)voidFireballEntity. writeCustomDataToNbt(CompoundTag nbt)voidFireworkRocketEntity. writeCustomDataToNbt(CompoundTag nbt)voidFishingBobberEntity. writeCustomDataToNbt(CompoundTag nbt)voidPersistentProjectileEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidProjectileEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidShulkerBulletEntity. writeCustomDataToNbt(CompoundTag nbt)voidSpectralArrowEntity. writeCustomDataToNbt(CompoundTag nbt)voidTridentEntity. writeCustomDataToNbt(CompoundTag nbt) -
net.minecraft.entity.projectile.thrown中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.entity.projectile.thrown中的方法 修饰符和类型 方法 说明 voidThrownItemEntity. readCustomDataFromNbt(CompoundTag nbt)voidThrownItemEntity. writeCustomDataToNbt(CompoundTag nbt) -
net.minecraft.entity.raid中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.entity.raid中的方法 修饰符和类型 方法 说明 @Nullable EntityDataRaiderEntity. initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable CompoundTag entityNbt)voidRaiderEntity. readCustomDataFromNbt(CompoundTag nbt)voidRaiderEntity. writeCustomDataToNbt(CompoundTag nbt) -
net.minecraft.entity.vehicle中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.entity.vehicle中的方法 修饰符和类型 方法 说明 protected voidAbstractMinecartEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidBoatEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidCommandBlockMinecartEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidFurnaceMinecartEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidHopperMinecartEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidSpawnerMinecartEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidStorageMinecartEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidTntMinecartEntity. readCustomDataFromNbt(CompoundTag nbt)protected voidAbstractMinecartEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidBoatEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidCommandBlockMinecartEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidFurnaceMinecartEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidHopperMinecartEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidSpawnerMinecartEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidStorageMinecartEntity. writeCustomDataToNbt(CompoundTag nbt)protected voidTntMinecartEntity. writeCustomDataToNbt(CompoundTag nbt) -
net.minecraft.inventory中CompoundTag的使用
返回CompoundTag的net.minecraft.inventory中的方法 修饰符和类型 方法 说明 static CompoundTagInventories. writeNbt(CompoundTag nbt, DefaultedList<ItemStack> stacks)static CompoundTagInventories. writeNbt(CompoundTag nbt, DefaultedList<ItemStack> stacks, boolean setIfEmpty)参数类型为CompoundTag的net.minecraft.inventory中的方法 修饰符和类型 方法 说明 static ContainerLockContainerLock. fromNbt(CompoundTag nbt)Creates a newContainerLockfrom theLockkey of the NBT compound.static voidInventories. readNbt(CompoundTag nbt, DefaultedList<ItemStack> stacks)voidContainerLock. writeNbt(CompoundTag nbt)Inserts the key string of this lock into theLockkey of the NBT compound.static CompoundTagInventories. writeNbt(CompoundTag nbt, DefaultedList<ItemStack> stacks)static CompoundTagInventories. writeNbt(CompoundTag nbt, DefaultedList<ItemStack> stacks, boolean setIfEmpty) -
net.minecraft.item中CompoundTag的使用
声明为CompoundTag的net.minecraft.item中的字段 修饰符和类型 字段 说明 private CompoundTagItemStack. tag返回CompoundTag的net.minecraft.item中的方法 修饰符和类型 方法 说明 CompoundTagItemStack. getOrCreateSubTag(String key)CompoundTagItemStack. getOrCreateTag()@Nullable CompoundTagItemStack. getSubTag(String key)@Nullable CompoundTagItemStack. getTag()CompoundTagItemStack. writeNbt(CompoundTag nbt)返回变量类型为CompoundTag的类型的net.minecraft.item中的方法 修饰符和类型 方法 说明 private static Optional<CompoundTag>BundleItem. canMergeStack(ItemStack stack, ListTag items)参数类型为CompoundTag的net.minecraft.item中的方法 修饰符和类型 方法 说明 static voidFireworkChargeItem. appendFireworkTooltip(CompoundTag nbt, List<Text> tooltip)static ItemStackItemStack. fromNbt(CompoundTag nbt)EntityType<?>SpawnEggItem. getEntityType(@Nullable CompoundTag nbt)static Optional<RegistryKey<World>>CompassItem. getLodestoneDimension(CompoundTag nbt)booleanSpawnEggItem. isOfSameEntityType(@Nullable CompoundTag nbt, EntityType<?> type)static booleanWritableBookItem. isValid(@Nullable CompoundTag nbt)static booleanWrittenBookItem. isValid(@Nullable CompoundTag nbt)booleanItem. postProcessNbt(CompoundTag nbt)booleanSkullItem. postProcessNbt(CompoundTag nbt)voidItemStack. setTag(@Nullable CompoundTag tag)private voidCompassItem. writeNbt(RegistryKey<World> worldKey, BlockPos pos, CompoundTag nbt)CompoundTagItemStack. writeNbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.item中的构造器 构造器 说明 ItemStack(CompoundTag tag)类型变量类型为CompoundTag的net.minecraft.item中的构造器参数 构造器 说明 ItemStack(ItemConvertible item, int count, Optional<CompoundTag> tag) -
net.minecraft.item.map中CompoundTag的使用
返回CompoundTag的net.minecraft.item.map中的方法 修饰符和类型 方法 说明 CompoundTagMapBannerMarker. getNbt()CompoundTagMapFrameMarker. toNbt()CompoundTagMapState. writeNbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.item.map中的方法 修饰符和类型 方法 说明 static MapBannerMarkerMapBannerMarker. fromNbt(CompoundTag nbt)static MapFrameMarkerMapFrameMarker. fromNbt(CompoundTag nbt)static MapStateMapState. fromNbt(CompoundTag nbt)CompoundTagMapState. writeNbt(CompoundTag nbt) -
net.minecraft.loot.function中CompoundTag的使用
声明为CompoundTag的net.minecraft.loot.function中的字段 修饰符和类型 字段 说明 private CompoundTagSetNbtLootFunction. nbt参数类型为CompoundTag的net.minecraft.loot.function中的方法 修饰符和类型 方法 说明 static ConditionalLootFunction.Builder<?>SetNbtLootFunction. builder(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.loot.function中的构造器 构造器 说明 SetNbtLootFunction(LootCondition[] conditions, CompoundTag nbt) -
net.minecraft.nbt中CompoundTag的使用
类型参数类型为CompoundTag的net.minecraft.nbt中的字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<CompoundTag>CompoundTag. CODECstatic NbtType<CompoundTag>CompoundTag. TYPE返回CompoundTag的net.minecraft.nbt中的方法 修饰符和类型 方法 说明 protected CompoundTagNbtOps.MapBuilder. append(String string, Tag tag, CompoundTag compoundTag)CompoundTagCompoundTag. copy()CompoundTagCompoundTag. copyFrom(CompoundTag source)static CompoundTagNbtHelper. fromBlockPos(BlockPos pos)static CompoundTagNbtHelper. fromBlockState(BlockState state)CompoundTagCompoundTag. getCompound(String key)CompoundTagListTag. getCompound(int index)protected CompoundTagNbtOps.MapBuilder. initBuilder()static CompoundTagNbtHelper. method_32260(String string)(专用程序包) static CompoundTagNbtHelper. method_32267(String string)(专用程序包) static CompoundTagNbtHelper. method_32273(CompoundTag compound)(专用程序包) static CompoundTagNbtHelper. method_32275(CompoundTag compound)static CompoundTagNbtHelper. method_36115(FluidState fluidState)static CompoundTagStringNbtReader. parse(String string)CompoundTagStringNbtReader. parseCompound()static CompoundTagNbtIo. read(DataInput input)static CompoundTagNbtIo. read(DataInput input, NbtTagSizeTracker tracker)static @Nullable CompoundTagNbtIo. read(File file)(专用程序包) CompoundTagStringNbtReader. readCompound()static CompoundTagNbtIo. readCompressed(File file)static CompoundTagNbtIo. readCompressed(InputStream stream)static CompoundTagNbtHelper. update(com.mojang.datafixers.DataFixer fixer, DataFixTypes fixTypes, CompoundTag compound, int oldVersion)Uses the data fixer to update an NBT compound object to the latest data version.static CompoundTagNbtHelper. update(com.mojang.datafixers.DataFixer fixer, DataFixTypes fixTypes, CompoundTag compound, int oldVersion, int targetVersion)Uses the data fixer to update an NBT compound object.static CompoundTagNbtHelper. writeGameProfile(CompoundTag compound, com.mojang.authlib.GameProfile profile)返回变量类型为CompoundTag的类型的net.minecraft.nbt中的方法 修饰符和类型 方法 说明 NbtType<CompoundTag>CompoundTag. getNbtType()Gets the NBT type definition of this NBT element.参数类型为CompoundTag的net.minecraft.nbt中的方法 修饰符和类型 方法 说明 protected CompoundTagNbtOps.MapBuilder. append(String string, Tag tag, CompoundTag compoundTag)protected com.mojang.serialization.DataResult<Tag>NbtOps.MapBuilder. build(CompoundTag compoundTag, Tag tag)CompoundTagCompoundTag. copyFrom(CompoundTag source)(专用程序包) static CompoundTagNbtHelper. method_32273(CompoundTag compound)(专用程序包) static CompoundTagNbtHelper. method_32275(CompoundTag compound)(专用程序包) static StringNbtHelper. method_32277(CompoundTag compound)static BlockPosNbtHelper. toBlockPos(CompoundTag compound)static BlockStateNbtHelper. toBlockState(CompoundTag compound)static @Nullable com.mojang.authlib.GameProfileNbtHelper. toGameProfile(CompoundTag compound)static StringNbtHelper. toPrettyPrintedString(CompoundTag compound)static CompoundTagNbtHelper. update(com.mojang.datafixers.DataFixer fixer, DataFixTypes fixTypes, CompoundTag compound, int oldVersion)Uses the data fixer to update an NBT compound object to the latest data version.static CompoundTagNbtHelper. update(com.mojang.datafixers.DataFixer fixer, DataFixTypes fixTypes, CompoundTag compound, int oldVersion, int targetVersion)Uses the data fixer to update an NBT compound object.private static <S extends State<?,S>,T extends Comparable<T>>
SNbtHelper. withProperty(S state, Property<T> property, String key, CompoundTag properties, CompoundTag root)static voidNbtIo. write(CompoundTag compound, DataOutput output)static voidNbtIo. write(CompoundTag compound, File file)static voidNbtIo. writeCompressed(CompoundTag compound, File file)static voidNbtIo. writeCompressed(CompoundTag compound, OutputStream stream)static CompoundTagNbtHelper. writeGameProfile(CompoundTag compound, com.mojang.authlib.GameProfile profile) -
net.minecraft.nbt.visitor中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.nbt.visitor中的方法 修饰符和类型 方法 说明 protected List<String>NbtOrderedStringFormatter. getSortedNames(CompoundTag compound)voidNbtElementVisitor. visitCompound(CompoundTag compound)voidNbtOrderedStringFormatter. visitCompound(CompoundTag compound)voidNbtTextFormatter. visitCompound(CompoundTag compound)voidStringNbtWriter. visitCompound(CompoundTag compound) -
net.minecraft.network中CompoundTag的使用
返回CompoundTag的net.minecraft.network中的方法 修饰符和类型 方法 说明 @Nullable CompoundTagPacketByteBuf. readNbt()Reads an NBT compound from this buf.@Nullable CompoundTagPacketByteBuf. readNbt(NbtTagSizeTracker sizeTracker)Reads an NBT compound from this buf.@Nullable CompoundTagPacketByteBuf. readUnlimitedNbt()Reads an NBT compound from this buf.参数类型为CompoundTag的net.minecraft.network中的方法 修饰符和类型 方法 说明 PacketByteBufPacketByteBuf. writeNbt(@Nullable CompoundTag compound)Writes an NBT compound to this buf. -
net.minecraft.network.packet.s2c.play中CompoundTag的使用
声明为CompoundTag的net.minecraft.network.packet.s2c.play中的字段 修饰符和类型 字段 说明 private CompoundTagChunkDataS2CPacket. heightmapsprivate CompoundTagBlockEntityUpdateS2CPacket. nbtprivate @Nullable CompoundTagNbtQueryResponseS2CPacket. nbt类型参数类型为CompoundTag的net.minecraft.network.packet.s2c.play中的字段 修饰符和类型 字段 说明 private List<CompoundTag>ChunkDataS2CPacket. blockEntities返回CompoundTag的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 CompoundTagChunkDataS2CPacket. getHeightmaps()CompoundTagBlockEntityUpdateS2CPacket. getNbt()@Nullable CompoundTagNbtQueryResponseS2CPacket. getNbt()返回变量类型为CompoundTag的类型的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 List<CompoundTag>ChunkDataS2CPacket. getBlockEntityTagList()参数类型为CompoundTag的net.minecraft.network.packet.s2c.play中的构造器 构造器 说明 BlockEntityUpdateS2CPacket(BlockPos pos, int blockEntityType, CompoundTag nbt)NbtQueryResponseS2CPacket(int transactionId, @Nullable CompoundTag nbt) -
net.minecraft.potion中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.potion中的方法 修饰符和类型 方法 说明 static List<StatusEffectInstance>PotionUtil. getCustomPotionEffects(@Nullable CompoundTag nbt)static voidPotionUtil. getCustomPotionEffects(@Nullable CompoundTag nbt, List<StatusEffectInstance> list)static PotionPotionUtil. getPotion(@Nullable CompoundTag compound)static List<StatusEffectInstance>PotionUtil. getPotionEffects(@Nullable CompoundTag nbt) -
net.minecraft.predicate中CompoundTag的使用
声明为CompoundTag的net.minecraft.predicate中的字段 修饰符和类型 字段 说明 private @Nullable CompoundTagNbtPredicate. nbt返回CompoundTag的net.minecraft.predicate中的方法 修饰符和类型 方法 说明 static CompoundTagNbtPredicate. entityToNbt(Entity entity)参数类型为CompoundTag的net.minecraft.predicate中的方法 修饰符和类型 方法 说明 BlockPredicate.BuilderBlockPredicate.Builder. nbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.predicate中的构造器 构造器 说明 NbtPredicate(@Nullable CompoundTag nbt) -
net.minecraft.predicate.item中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.predicate.item中的方法 修饰符和类型 方法 说明 ItemPredicate.BuilderItemPredicate.Builder. nbt(CompoundTag nbt) -
net.minecraft.recipe.book中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.recipe.book中的方法 修饰符和类型 方法 说明 static RecipeBookOptionsRecipeBookOptions. fromNbt(CompoundTag nbt)voidRecipeBookOptions. writeNbt(CompoundTag nbt) -
net.minecraft.scoreboard中CompoundTag的使用
返回CompoundTag的net.minecraft.scoreboard中的方法 修饰符和类型 方法 说明 CompoundTagScoreboardState. writeNbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.scoreboard中的方法 修饰符和类型 方法 说明 private voidScoreboardState. readDisplaySlotsNbt(CompoundTag nbt)ScoreboardStateScoreboardState. readNbt(CompoundTag nbt)ScoreboardStateServerScoreboard. stateFromNbt(CompoundTag nbt)private voidScoreboardState. writeDisplaySlotsNbt(CompoundTag nbt)CompoundTagScoreboardState. writeNbt(CompoundTag nbt) -
net.minecraft.server中CompoundTag的使用
返回CompoundTag的net.minecraft.server中的方法 修饰符和类型 方法 说明 CompoundTagPlayerManager. getUserData()Gets the user data of the player hosting the Minecraft server.@Nullable CompoundTagPlayerManager. loadPlayerData(ServerPlayerEntity player) -
net.minecraft.server.command中CompoundTag的使用
声明为CompoundTag的net.minecraft.server.command中的字段 修饰符和类型 字段 说明 @Nullable CompoundTagCloneCommand.BlockInfo. blockEntityTag参数类型为CompoundTag的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 private static intSummonCommand. execute(ServerCommandSource source, Identifier entity, Vec3d pos, CompoundTag nbt, boolean initialize)private static intDataCommand. executeInsert(int integer, CompoundTag sourceNbt, NbtPathArgumentType.NbtPath path, List<Tag> elements)private static intDataCommand. executeMerge(ServerCommandSource source, DataCommandObject object, CompoundTag nbt)intDataCommand.ModifyOperation. modify(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, CompoundTag sourceNbt, NbtPathArgumentType.NbtPath path, List<Tag> elements)参数类型为CompoundTag的net.minecraft.server.command中的构造器 构造器 说明 BlockInfo(BlockPos pos, BlockState state, @Nullable CompoundTag blockEntityTag) -
net.minecraft.server.integrated中CompoundTag的使用
声明为CompoundTag的net.minecraft.server.integrated中的字段 修饰符和类型 字段 说明 private CompoundTagIntegratedPlayerManager. userData返回CompoundTag的net.minecraft.server.integrated中的方法 修饰符和类型 方法 说明 CompoundTagIntegratedPlayerManager. getUserData()Gets the user data of the player hosting the Minecraft server. -
net.minecraft.server.network中CompoundTag的使用
返回CompoundTag的net.minecraft.server.network中的方法 修饰符和类型 方法 说明 CompoundTagServerRecipeBook. toNbt()参数类型为CompoundTag的net.minecraft.server.network中的方法 修饰符和类型 方法 说明 private static @Nullable GameModeServerPlayerEntity. gameModeFromNbt(@Nullable CompoundTag nbt, String key)voidServerPlayerEntity. readCustomDataFromNbt(CompoundTag nbt)voidServerRecipeBook. readNbt(CompoundTag nbt, RecipeManager recipeManager)voidServerPlayerEntity. setGameMode(@Nullable CompoundTag nbt)voidServerPlayerEntity. writeCustomDataToNbt(CompoundTag nbt)private voidServerPlayerEntity. writeGameModeNbt(CompoundTag nbt) -
net.minecraft.server.world中CompoundTag的使用
返回CompoundTag的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 private @Nullable CompoundTagThreadedAnvilChunkStorage. getUpdatedChunkNbt(ChunkPos pos)类型变量类型为CompoundTag的net.minecraft.server.world中的方法参数 修饰符和类型 方法 说明 private static voidThreadedAnvilChunkStorage. method_31413(ServerWorld serverWorld, List<CompoundTag> list) -
net.minecraft.stat中CompoundTag的使用
返回CompoundTag的net.minecraft.stat中的方法 修饰符和类型 方法 说明 private static CompoundTagServerStatHandler. jsonToCompound(JsonObject json) -
net.minecraft.structure中CompoundTag的使用
声明为CompoundTag的net.minecraft.structure中的字段 修饰符和类型 字段 说明 CompoundTagStructure.StructureBlockInfo. nbtCompoundTagStructure.StructureEntityInfo. nbt返回CompoundTag的net.minecraft.structure中的方法 修饰符和类型 方法 说明 CompoundTagStructurePiece. toNbt(ServerWorld world)CompoundTagStructureStart. toNbt(ServerWorld world, ChunkPos chunkPos)CompoundTagStructure. writeNbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.structure中的方法 修饰符和类型 方法 说明 StructureStructureManager. createStructure(CompoundTag nbt)private static Optional<Entity>Structure. getEntity(ServerWorldAccess world, CompoundTag nbt)StructurePieceStructurePieceType. load(ServerWorld world, CompoundTag nbt)private static StructurePlacementDataRuinedPortalStructurePiece. method_35449(ServerWorld world, CompoundTag nbt, Identifier id)voidStructure. readNbt(CompoundTag nbt)protected voidBuriedTreasureGenerator.Piece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidDesertTempleGenerator. writeNbt(ServerWorld world, CompoundTag nbt)protected voidEndCityGenerator.Piece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidIglooGenerator.Piece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidJungleTempleGenerator. writeNbt(ServerWorld world, CompoundTag nbt)protected voidMineshaftGenerator.MineshaftCorridor. writeNbt(ServerWorld world, CompoundTag nbt)protected voidMineshaftGenerator.MineshaftCrossing. writeNbt(ServerWorld world, CompoundTag nbt)protected voidMineshaftGenerator.MineshaftPart. writeNbt(ServerWorld world, CompoundTag nbt)protected voidMineshaftGenerator.MineshaftRoom. writeNbt(ServerWorld world, CompoundTag nbt)protected voidNetherFortressGenerator.BridgeEnd. writeNbt(ServerWorld world, CompoundTag nbt)protected voidNetherFortressGenerator.BridgePlatform. writeNbt(ServerWorld world, CompoundTag nbt)protected voidNetherFortressGenerator.CorridorLeftTurn. writeNbt(ServerWorld world, CompoundTag nbt)protected voidNetherFortressGenerator.CorridorRightTurn. writeNbt(ServerWorld world, CompoundTag nbt)protected voidNetherFortressGenerator.Piece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidNetherFossilGenerator.Piece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidOceanMonumentGenerator.Piece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidOceanRuinGenerator.Piece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidPoolStructurePiece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidRuinedPortalStructurePiece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidShipwreckGenerator.Piece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidSimpleStructurePiece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidStrongholdGenerator.ChestCorridor. writeNbt(ServerWorld world, CompoundTag nbt)protected voidStrongholdGenerator.Corridor. writeNbt(ServerWorld world, CompoundTag nbt)protected voidStrongholdGenerator.FiveWayCrossing. writeNbt(ServerWorld world, CompoundTag nbt)protected voidStrongholdGenerator.Library. writeNbt(ServerWorld world, CompoundTag nbt)protected voidStrongholdGenerator.Piece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidStrongholdGenerator.PortalRoom. writeNbt(ServerWorld world, CompoundTag nbt)protected voidStrongholdGenerator.SmallCorridor. writeNbt(ServerWorld world, CompoundTag nbt)protected voidStrongholdGenerator.SpiralStaircase. writeNbt(ServerWorld world, CompoundTag nbt)protected voidStrongholdGenerator.SquareRoom. writeNbt(ServerWorld world, CompoundTag nbt)CompoundTagStructure. writeNbt(CompoundTag nbt)protected abstract voidStructurePiece. writeNbt(ServerWorld world, CompoundTag nbt)protected voidStructurePieceWithDimensions. writeNbt(ServerWorld world, CompoundTag nbt)protected voidSwampHutGenerator. writeNbt(ServerWorld world, CompoundTag nbt)protected voidWoodlandMansionGenerator.Piece. writeNbt(ServerWorld world, CompoundTag nbt) -
net.minecraft.structure.pool中CompoundTag的使用
声明为CompoundTag的net.minecraft.structure.pool中的字段 修饰符和类型 字段 说明 private CompoundTagFeaturePoolElement. nbt返回CompoundTag的net.minecraft.structure.pool中的方法 修饰符和类型 方法 说明 private CompoundTagFeaturePoolElement. createDefaultJigsawNbt() -
net.minecraft.structure.processor中CompoundTag的使用
声明为CompoundTag的net.minecraft.structure.processor中的字段 修饰符和类型 字段 说明 private @Nullable CompoundTagStructureProcessorRule. outputNbt返回CompoundTag的net.minecraft.structure.processor中的方法 修饰符和类型 方法 说明 @Nullable CompoundTagStructureProcessorRule. getOutputNbt()类型变量类型为CompoundTag的net.minecraft.structure.processor中的构造器参数 构造器 说明 StructureProcessorRule(RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState outputState, Optional<CompoundTag> nbt) -
net.minecraft.test中CompoundTag的使用
返回CompoundTag的net.minecraft.test中的方法 修饰符和类型 方法 说明 private static @Nullable CompoundTagStructureTestUtil. loadSnbt(Path path) -
net.minecraft.text中CompoundTag的使用
声明为CompoundTag的net.minecraft.text中的字段 修饰符和类型 字段 说明 private @Nullable CompoundTagHoverEvent.ItemStackContent. nbt返回变量类型为CompoundTag的类型的net.minecraft.text中的方法 修饰符和类型 方法 说明 protected Stream<CompoundTag>NbtText.BlockNbtText. toNbt(ServerCommandSource source)protected Stream<CompoundTag>NbtText.EntityNbtText. toNbt(ServerCommandSource source)protected Stream<CompoundTag>NbtText.StorageNbtText. toNbt(ServerCommandSource source)protected abstract Stream<CompoundTag>NbtText. toNbt(ServerCommandSource source)参数类型为CompoundTag的net.minecraft.text中的构造器 构造器 说明 ItemStackContent(Item item, int count, @Nullable CompoundTag nbt) -
net.minecraft.village中CompoundTag的使用
返回CompoundTag的net.minecraft.village中的方法 修饰符和类型 方法 说明 CompoundTagTradeOffer. toNbt()CompoundTagTradeOfferList. toNbt()参数类型为CompoundTag的net.minecraft.village中的构造器 构造器 说明 TradeOffer(CompoundTag nbt)TradeOfferList(CompoundTag nbt) -
net.minecraft.village.raid中CompoundTag的使用
返回CompoundTag的net.minecraft.village.raid中的方法 修饰符和类型 方法 说明 CompoundTagRaid. writeNbt(CompoundTag nbt)CompoundTagRaidManager. writeNbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.village.raid中的方法 修饰符和类型 方法 说明 static RaidManagerRaidManager. fromNbt(ServerWorld world, CompoundTag nbt)CompoundTagRaid. writeNbt(CompoundTag nbt)CompoundTagRaidManager. writeNbt(CompoundTag nbt)参数类型为CompoundTag的net.minecraft.village.raid中的构造器 构造器 说明 Raid(ServerWorld world, CompoundTag nbt) -
net.minecraft.world中CompoundTag的使用
声明为CompoundTag的net.minecraft.world中的字段 修饰符和类型 字段 说明 private CompoundTagMobSpawnerEntry. entityNbt类型参数类型为CompoundTag的net.minecraft.world中的字段 修饰符和类型 字段 说明 private Map<String,Long2ObjectMap<CompoundTag>>FeatureUpdater. featureIdToChunkNbt类型变量类型为CompoundTag的net.minecraft.world中的方法参数 修饰符和类型 方法 说明 <T extends PersistentState>
TPersistentStateManager. get(Function<CompoundTag,T> function, String id)<T extends PersistentState>
TPersistentStateManager. getOrCreate(Function<CompoundTag,T> function, Supplier<T> supplier, String string)private <T extends PersistentState>
TPersistentStateManager. readFromFile(Function<CompoundTag,T> function, String id)参数类型为CompoundTag的net.minecraft.world中的构造器 构造器 说明 MobSpawnerEntry(int weight, CompoundTag entityNbt)MobSpawnerEntry(CompoundTag nbt) -
net.minecraft.world.border中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.world.border中的方法 修饰符和类型 方法 说明 voidWorldBorder.Properties. writeNbt(CompoundTag nbt) -
net.minecraft.world.chunk中CompoundTag的使用
类型参数类型为CompoundTag的net.minecraft.world.chunk中的字段 修饰符和类型 字段 说明 private Map<BlockPos,CompoundTag>ProtoChunk. blockEntityTagsprivate Function<CompoundTag,T>BiMapPalette. elementDeserializerprivate Function<CompoundTag,T>PalettedContainer. elementDeserializerprivate Function<T,CompoundTag>BiMapPalette. elementSerializerprivate Function<T,CompoundTag>PalettedContainer. elementSerializerprivate List<CompoundTag>ProtoChunk. entitiesprivate Map<BlockPos,CompoundTag>WorldChunk. pendingBlockEntityNbtsprivate Function<CompoundTag,T>ArrayPalette. valueDeserializer返回CompoundTag的net.minecraft.world.chunk中的方法 修饰符和类型 方法 说明 @Nullable CompoundTagChunk. getBlockEntityNbt(BlockPos pos)CompoundTagProtoChunk. getBlockEntityNbt(BlockPos pos)@Nullable CompoundTagReadOnlyChunk. getBlockEntityNbt(BlockPos pos)CompoundTagWorldChunk. getBlockEntityNbt(BlockPos pos)@Nullable CompoundTagChunk. getPackedBlockEntityNbt(BlockPos pos)@Nullable CompoundTagProtoChunk. getPackedBlockEntityNbt(BlockPos pos)@Nullable CompoundTagReadOnlyChunk. getPackedBlockEntityNbt(BlockPos pos)@Nullable CompoundTagWorldChunk. getPackedBlockEntityNbt(BlockPos pos)CompoundTagUpgradeData. toNbt()返回变量类型为CompoundTag的类型的net.minecraft.world.chunk中的方法 修饰符和类型 方法 说明 Map<BlockPos,CompoundTag>ProtoChunk. getBlockEntityNbts()List<CompoundTag>ProtoChunk. getEntities()参数类型为CompoundTag的net.minecraft.world.chunk中的方法 修饰符和类型 方法 说明 voidProtoChunk. addEntity(CompoundTag entityTag)default voidChunk. addPendingBlockEntityNbt(CompoundTag nbt)voidProtoChunk. addPendingBlockEntityNbt(CompoundTag nbt)voidReadOnlyChunk. addPendingBlockEntityNbt(CompoundTag nbt)voidWorldChunk. addPendingBlockEntityNbt(CompoundTag nbt)private @Nullable BlockEntityWorldChunk. loadBlockEntity(BlockPos pos, CompoundTag nbt)voidWorldChunk. loadFromPacket(@Nullable BiomeArray biomes, PacketByteBuf buf, CompoundTag nbt, BitSet bitSet)voidPalettedContainer. write(CompoundTag nbt, String paletteKey, String dataKey)参数类型为CompoundTag的net.minecraft.world.chunk中的构造器 构造器 说明 UpgradeData(CompoundTag nbt, HeightLimitView world)类型变量类型为CompoundTag的net.minecraft.world.chunk中的构造器参数 构造器 说明 ArrayPalette(IdList<T> idList, int integer, PaletteResizeListener<T> resizeListener, Function<CompoundTag,T> valueDeserializer)BiMapPalette(IdList<T> idList, int indexBits, PaletteResizeListener<T> resizeHandler, Function<CompoundTag,T> elementDeserializer, Function<T,CompoundTag> elementSerializer)PalettedContainer(Palette<T> palette, IdList<T> idList, Function<CompoundTag,T> elementDeserializer, Function<T,CompoundTag> elementSerializer, T defaultElement) -
net.minecraft.world.gen.feature中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.world.gen.feature中的方法 修饰符和类型 方法 说明 static @Nullable StructureStart<?>StructureFeature. readStructureStart(ServerWorld world, CompoundTag nbt, long worldSeed) -
net.minecraft.world.level中CompoundTag的使用
声明为CompoundTag的net.minecraft.world.level中的字段 修饰符和类型 字段 说明 private @Nullable CompoundTagLevelProperties. customBossEventsprivate CompoundTagLevelProperties. dragonFightprivate @Nullable CompoundTagLevelProperties. playerData返回CompoundTag的net.minecraft.world.level中的方法 修饰符和类型 方法 说明 CompoundTagLevelProperties. cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable CompoundTag playerNbt)@Nullable CompoundTagLevelProperties. getCustomBossEvents()CompoundTagLevelProperties. getDragonFight()CompoundTagLevelProperties. getPlayerData()参数类型为CompoundTag的net.minecraft.world.level中的方法 修饰符和类型 方法 说明 CompoundTagLevelProperties. cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable CompoundTag playerNbt)static LevelPropertiesLevelProperties. readProperties(com.mojang.serialization.Dynamic<Tag> dynamic, com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable CompoundTag playerData, LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle)voidLevelProperties. setCustomBossEvents(@Nullable CompoundTag nbt)voidLevelProperties. setDragonFight(CompoundTag nbt)private voidLevelProperties. updateProperties(DynamicRegistryManager registryManager, CompoundTag levelTag, @Nullable CompoundTag playerTag)参数类型为CompoundTag的net.minecraft.world.level中的构造器 构造器 说明 LevelProperties(@Nullable com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable CompoundTag playerData, boolean modded, int spawnX, int spawnY, int spawnZ, float spawnAngle, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Properties worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, @Nullable UUID wanderingTraderId, Set<String> serverBrands, Timer<MinecraftServer> scheduledEvents, @Nullable CompoundTag customBossEvents, CompoundTag dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle) -
net.minecraft.world.level.storage中CompoundTag的使用
参数类型为CompoundTag的net.minecraft.world.level.storage中的方法 修饰符和类型 方法 说明 voidLevelStorage.Session. backupLevelDataFile(DynamicRegistryManager dynamicRegistryManager, SaveProperties saveProperties, @Nullable CompoundTag compoundTag)static voidAlphaChunkIo. convertAlphaChunk(DynamicRegistryManager.Impl impl, AlphaChunkIo.AlphaChunk alphaChunk, CompoundTag nbt, BiomeSource biomeSource)static AlphaChunkIo.AlphaChunkAlphaChunkIo. readAlphaChunk(CompoundTag nbt) -
net.minecraft.world.storage中CompoundTag的使用
声明为CompoundTag的net.minecraft.world.storage中的字段 修饰符和类型 字段 说明 private @Nullable CompoundTagStorageIoWorker.Result. nbt返回CompoundTag的net.minecraft.world.storage中的方法 修饰符和类型 方法 说明 private CompoundTagEntityChunkDataAccess. fixChunkData(CompoundTag chunkTag)@Nullable CompoundTagStorageIoWorker. getNbt(ChunkPos pos)@Nullable CompoundTagVersionedChunkStorage. getNbt(ChunkPos chunkPos)@Nullable CompoundTagRegionBasedStorage. getTagAt(ChunkPos pos)private @Nullable CompoundTagSerializingRegionBasedStorage. loadNbt(ChunkPos pos)CompoundTagVersionedChunkStorage. updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, CompoundTag nbt)返回变量类型为CompoundTag的类型的net.minecraft.world.storage中的方法 修饰符和类型 方法 说明 protected CompletableFuture<CompoundTag>StorageIoWorker. readChunkData(ChunkPos pos)参数类型为CompoundTag的net.minecraft.world.storage中的方法 修饰符和类型 方法 说明 private CompoundTagEntityChunkDataAccess. fixChunkData(CompoundTag chunkTag)static intEntityChunkDataAccess. getChunkDataVersion(CompoundTag chunkTag)private static ChunkPosEntityChunkDataAccess. getChunkPos(CompoundTag chunkTag)static intVersionedChunkStorage. getDataVersion(CompoundTag nbt)private static voidEntityChunkDataAccess. putChunkPos(CompoundTag chunkTag, ChunkPos pos)voidVersionedChunkStorage. setNbt(ChunkPos chunkPos, CompoundTag nbt)CompletableFuture<Void>StorageIoWorker. setResult(ChunkPos pos, @Nullable CompoundTag nbt)CompoundTagVersionedChunkStorage. updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, CompoundTag nbt)protected voidRegionBasedStorage. write(ChunkPos pos, @Nullable CompoundTag nbt)参数类型为CompoundTag的net.minecraft.world.storage中的构造器 构造器 说明 Result(@Nullable CompoundTag nbt) -
net.minecraft.world.timer中CompoundTag的使用
返回CompoundTag的net.minecraft.world.timer中的方法 修饰符和类型 方法 说明 private CompoundTagTimer. serialize(Timer.Event<T> event)<T extends TimerCallback<C>>
CompoundTagTimerCallbackSerializer. serialize(T callback)参数类型为CompoundTag的net.minecraft.world.timer中的方法 修饰符和类型 方法 说明 private voidTimer. addEvent(CompoundTag nbt)FunctionTagTimerCallbackFunctionTagTimerCallback.Serializer. deserialize(CompoundTag compoundTag)FunctionTimerCallbackFunctionTimerCallback.Serializer. deserialize(CompoundTag compoundTag)abstract CTimerCallback.Serializer. deserialize(CompoundTag nbt)@Nullable TimerCallback<C>TimerCallbackSerializer. deserialize(CompoundTag nbt)voidFunctionTagTimerCallback.Serializer. serialize(CompoundTag compoundTag, FunctionTagTimerCallback functionTagTimerCallback)voidFunctionTimerCallback.Serializer. serialize(CompoundTag compoundTag, FunctionTimerCallback functionTimerCallback)abstract voidTimerCallback.Serializer. serialize(CompoundTag nbt, C callback)
-