Uses of Class
cn.nukkit.nbt.tag.CompoundTag
Packages that use CompoundTag
Package
Description
与方块实现相关的类,基类
Block
与方块实体(例如TNT方块爆炸时的实体)相关的类
与发射器行为相关的类
与实体相关的类,包含友好生物,敌对生物等.
与物品相关的类.
与世界相关的类.
与NBT格式相关的类.
各种工具类.
-
Uses of CompoundTag in cn.nukkit
Methods in cn.nukkit that return CompoundTagModifier and TypeMethodDescriptionServer.getOfflinePlayerData
(String name) Deprecated.Server.getOfflinePlayerData
(String name, boolean create) Deprecated.Server.getOfflinePlayerData
(UUID uuid) create为falseServer.getOfflinePlayerData
(UUID uuid, boolean create) 获得UUID指定的玩家的NBT数据Methods in cn.nukkit with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
AdventureSettings.init
(CompoundTag nbt) void
AdventureSettings.readNBT
(CompoundTag nbt) 从nbt读取权限数据void
Server.saveOfflinePlayerData
(String name, CompoundTag tag) void
Server.saveOfflinePlayerData
(String name, CompoundTag tag, boolean async) 保存玩家数据,玩家在线离线都行.void
Server.saveOfflinePlayerData
(UUID uuid, CompoundTag tag) void
Server.saveOfflinePlayerData
(UUID uuid, CompoundTag tag, boolean async) Constructors in cn.nukkit with parameters of type CompoundTag -
Uses of CompoundTag in cn.nukkit.block
Methods in cn.nukkit.block that return CompoundTagModifier and TypeMethodDescriptiondefault CompoundTag
BlockFlowerPot.FlowerPotBlock.getPlantBlockTag()
获取方块在花盆NBT中的标签Methods in cn.nukkit.block with parameters of type CompoundTagModifier and TypeMethodDescriptiondefault E
BlockEntityHolder.createBlockEntity
(CompoundTag initialData, Object... args) protected EntityFallingBlock
BlockFallable.createFallingEntity
(CompoundTag customNbt) protected EntityFallingBlock
BlockScaffolding.createFallingEntity
(CompoundTag customNbt) protected EntityFallingBlock
BlockSuspiciousGravel.createFallingEntity
(CompoundTag customNbt) protected EntityFallingBlock
BlockSuspiciousSand.createFallingEntity
(CompoundTag customNbt) void
BlockFallable.drop
(CompoundTag customNbt) static <E extends BlockEntity,
H extends BlockEntityHolder<E>>
EBlockEntityHolder.setBlockAndCreateEntity
(H holder, boolean direct, boolean update, CompoundTag initialData, Object... args) -
Uses of CompoundTag in cn.nukkit.block.customblock
Fields in cn.nukkit.block.customblock declared as CompoundTagMethods in cn.nukkit.block.customblock that return CompoundTagModifier and TypeMethodDescriptionCustomBlockDefinition.nbt()
Returns the value of thenbt
record component.Method parameters in cn.nukkit.block.customblock with type arguments of type CompoundTagModifier and TypeMethodDescriptionCustomBlockDefinition.Builder.customBuild
(Consumer<CompoundTag> nbt) 对要发送给客户端的方块ComponentNBT进行自定义处理,这里包含了所有对自定义方块的定义。在符合条件的情况下,你可以任意修改。Constructors in cn.nukkit.block.customblock with parameters of type CompoundTagModifierConstructorDescriptionCustomBlockDefinition
(String identifier, CompoundTag nbt) Creates an instance of aCustomBlockDefinition
record class. -
Uses of CompoundTag in cn.nukkit.block.customblock.data
Methods in cn.nukkit.block.customblock.data that return CompoundTagModifier and TypeMethodDescriptionComponent.getResult()
CollisionBox.toCompoundTag()
Component.toCompoundTag()
CraftingTable.toCompoundTag()
Geometry.toCompoundTag()
Materials.toCompoundTag()
NBTData.toCompoundTag()
Permutation.toCompoundTag()
SelectionBox.toCompoundTag()
Transformation.toCompoundTag()
-
Uses of CompoundTag in cn.nukkit.block.fake
Methods in cn.nukkit.block.fake that return CompoundTagModifier and TypeMethodDescriptionprotected CompoundTag
DoubleFakeBlock.getBlockEntityDataAt
(Vector3 position, String title) protected CompoundTag
SingleFakeBlock.getBlockEntityDataAt
(Vector3 position, String title) -
Uses of CompoundTag in cn.nukkit.blockentity
Fields in cn.nukkit.blockentity declared as CompoundTagMethods in cn.nukkit.blockentity that return CompoundTagModifier and TypeMethodDescriptionBlockEntityMovingBlock.getBlockEntity()
Deprecated.BlockEntity.getCleanedNBT()
BlockEntityChest.getCleanedNBT()
static CompoundTag
BlockEntity.getDefaultCompound
(Vector3 pos, String id) BlockEntityMovingBlock.getMovingBlockEntityCompound()
BlockEntityBeehive.Occupant.getSaveData()
BlockEntityBanner.getSpawnCompound()
BlockEntityBarrel.getSpawnCompound()
BlockEntityBeacon.getSpawnCompound()
BlockEntityBed.getSpawnCompound()
BlockEntityBell.getSpawnCompound()
BlockEntityBrewingStand.getSpawnCompound()
BlockEntityCampfire.getSpawnCompound()
BlockEntityCauldron.getSpawnCompound()
BlockEntityChest.getSpawnCompound()
BlockEntityChiseledBookshelf.getSpawnCompound()
BlockEntityCommandBlock.getSpawnCompound()
BlockEntityConduit.getSpawnCompound()
BlockEntityEjectable.getSpawnCompound()
BlockEntityEnchantTable.getSpawnCompound()
BlockEntityEnderChest.getSpawnCompound()
BlockEntityFlowerPot.getSpawnCompound()
BlockEntityFurnace.getSpawnCompound()
BlockEntityGlowItemFrame.getSpawnCompound()
BlockEntityHangingSign.getSpawnCompound()
BlockEntityHopper.getSpawnCompound()
BlockEntityItemFrame.getSpawnCompound()
BlockEntityJukebox.getSpawnCompound()
BlockEntityLectern.getSpawnCompound()
BlockEntityNetherReactor.getSpawnCompound()
BlockEntityPistonArm.getSpawnCompound()
BlockEntityShulkerBox.getSpawnCompound()
BlockEntitySign.getSpawnCompound()
BlockEntitySkull.getSpawnCompound()
BlockEntitySpawnable.getSpawnCompound()
BlockEntityStructBlock.getSpawnCompound()
BlockEntityBeehive.Occupant.saveNBT()
Methods in cn.nukkit.blockentity with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic BlockEntity
BlockEntity.createBlockEntity
(String type, FullChunk chunk, CompoundTag nbt, Object... args) static BlockEntity
BlockEntity.createBlockEntity
(String type, Position pos, CompoundTag nbt, Object... args) BlockEntitySpawnable.getSpawnPacket
(CompoundTag nbt) void
BlockEntityBeehive.Occupant.setSaveData
(CompoundTag saveData) boolean
BlockEntityBeacon.updateCompoundTag
(CompoundTag nbt, Player player) boolean
BlockEntitySign.updateCompoundTag
(CompoundTag nbt, Player player) boolean
BlockEntitySpawnable.updateCompoundTag
(CompoundTag nbt, Player player) Called when a player updates a block entity's NBT data for example when writing on a sign.Constructors in cn.nukkit.blockentity with parameters of type CompoundTagModifierConstructorDescriptionBlockEntity
(FullChunk chunk, CompoundTag nbt) BlockEntityBanner
(FullChunk chunk, CompoundTag nbt) BlockEntityBarrel
(FullChunk chunk, CompoundTag nbt) BlockEntityBeacon
(FullChunk chunk, CompoundTag nbt) BlockEntityBed
(FullChunk chunk, CompoundTag nbt) BlockEntityBeehive
(FullChunk chunk, CompoundTag nbt) BlockEntityBell
(FullChunk chunk, CompoundTag nbt) BlockEntityBlastFurnace
(FullChunk chunk, CompoundTag nbt) BlockEntityBrewingStand
(FullChunk chunk, CompoundTag nbt) BlockEntityCampfire
(FullChunk chunk, CompoundTag nbt) BlockEntityCauldron
(FullChunk chunk, CompoundTag nbt) BlockEntityChest
(FullChunk chunk, CompoundTag nbt) BlockEntityChiseledBookshelf
(FullChunk chunk, CompoundTag nbt) BlockEntityCommandBlock
(FullChunk chunk, CompoundTag nbt) BlockEntityComparator
(FullChunk chunk, CompoundTag nbt) BlockEntityConduit
(FullChunk chunk, CompoundTag nbt) BlockEntityDaylightDetector
(FullChunk chunk, CompoundTag nbt) BlockEntityDispenser
(FullChunk chunk, CompoundTag nbt) BlockEntityDropper
(FullChunk chunk, CompoundTag nbt) BlockEntityEjectable
(FullChunk chunk, CompoundTag nbt) BlockEntityEnchantTable
(FullChunk chunk, CompoundTag nbt) BlockEntityEnderChest
(FullChunk chunk, CompoundTag nbt) BlockEntityEndGateway
(FullChunk chunk, CompoundTag nbt) BlockEntityEndPortal
(FullChunk chunk, CompoundTag nbt) BlockEntityFlowerPot
(FullChunk chunk, CompoundTag nbt) BlockEntityFurnace
(FullChunk chunk, CompoundTag nbt) BlockEntityGlowItemFrame
(FullChunk chunk, CompoundTag nbt) BlockEntityHangingSign
(FullChunk chunk, CompoundTag nbt) BlockEntityHopper
(FullChunk chunk, CompoundTag nbt) BlockEntityItemFrame
(FullChunk chunk, CompoundTag nbt) BlockEntityJukebox
(FullChunk chunk, CompoundTag nbt) BlockEntityLectern
(FullChunk chunk, CompoundTag nbt) BlockEntityLodestone
(FullChunk chunk, CompoundTag nbt) BlockEntityMovingBlock
(FullChunk chunk, CompoundTag nbt) BlockEntityMusic
(FullChunk chunk, CompoundTag nbt) BlockEntityNetherReactor
(FullChunk chunk, CompoundTag nbt) BlockEntityPistonArm
(FullChunk chunk, CompoundTag nbt) BlockEntitySculkCatalyst
(FullChunk chunk, CompoundTag nbt) BlockEntitySculkSensor
(FullChunk chunk, CompoundTag nbt) BlockEntitySculkShrieker
(FullChunk chunk, CompoundTag nbt) BlockEntityShulkerBox
(FullChunk chunk, CompoundTag nbt) BlockEntitySign
(FullChunk chunk, CompoundTag nbt) BlockEntitySkull
(FullChunk chunk, CompoundTag nbt) BlockEntitySmoker
(FullChunk chunk, CompoundTag nbt) BlockEntitySpawnable
(FullChunk chunk, CompoundTag nbt) BlockEntitySpawnableContainer
(FullChunk chunk, CompoundTag nbt) BlockEntityStructBlock
(FullChunk chunk, CompoundTag nbt) BlockEntityTarget
(FullChunk chunk, CompoundTag nbt) Occupant
(int ticksLeftToStay, String actorIdentifier, CompoundTag saveData) -
Uses of CompoundTag in cn.nukkit.camera.data
Methods in cn.nukkit.camera.data that return CompoundTag -
Uses of CompoundTag in cn.nukkit.dispenser
Methods in cn.nukkit.dispenser with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
ProjectileDispenseBehavior.correctNBT
(CompoundTag nbt) you can add extra data of projectile here -
Uses of CompoundTag in cn.nukkit.entity
Fields in cn.nukkit.entity declared as CompoundTagMethods in cn.nukkit.entity that return CompoundTagModifier and TypeMethodDescriptionEntity.getDataPropertyNBT
(int id) static CompoundTag
Entity.getDefaultNBT
(Vector3 pos) static CompoundTag
Entity.getDefaultNBT
(Vector3 pos, Vector3 motion) static CompoundTag
Entity.getDefaultNBT
(Vector3 pos, Vector3 motion, float yaw, float pitch) 获得该实体的默认NBT,带有位置,motion,yaw pitch等信息static CompoundTag
将这个Attribute转换成NBTMethods in cn.nukkit.entity with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic Entity
Entity.createEntity
(int type, FullChunk chunk, CompoundTag nbt, Object... args) 创建一个实体从网络idstatic Entity
Entity.createEntity
(String name, FullChunk chunk, CompoundTag nbt, Object... args) static Attribute
Attribute.fromNBT
(CompoundTag NBT) 从NBT获取Attributeprotected final void
Entity.init
(FullChunk chunk, CompoundTag nbt) Constructors in cn.nukkit.entity with parameters of type CompoundTagModifierConstructorDescriptionEntity
(FullChunk chunk, CompoundTag nbt) EntityCreature
(FullChunk chunk, CompoundTag nbt) EntityHanging
(FullChunk chunk, CompoundTag nbt) EntityHuman
(FullChunk chunk, CompoundTag nbt) EntityHumanType
(FullChunk chunk, CompoundTag nbt) EntityIntelligent
(FullChunk chunk, CompoundTag nbt) EntityIntelligentHuman
(FullChunk chunk, CompoundTag nbt) EntityLiving
(FullChunk chunk, CompoundTag nbt) EntityPhysical
(FullChunk chunk, CompoundTag nbt) -
Uses of CompoundTag in cn.nukkit.entity.ai.executor
Methods in cn.nukkit.entity.ai.executor that return CompoundTagModifier and TypeMethodDescriptionprotected CompoundTag
WardenRangedAttackExecutor.createVec3fTag
(Vector3f vec3f) -
Uses of CompoundTag in cn.nukkit.entity.ai.memory.codec
Methods in cn.nukkit.entity.ai.memory.codec that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionIMemoryCodec.getDecoder()
获取记忆解码器,用于从CompoundTag读取持久化数据写入到实体记忆中MemoryCodec.getDecoder()
IMemoryCodec.getEncoder()
获取记忆编码器,将实体记忆中的数据持久化进实体CompoundTagMemoryCodec.getEncoder()
Methods in cn.nukkit.entity.ai.memory.codec with parameters of type CompoundTagModifier and TypeMethodDescriptiondefault Data
IMemoryCodec.decode
(CompoundTag tag) default void
IMemoryCodec.encode
(Data data, CompoundTag tag) Constructor parameters in cn.nukkit.entity.ai.memory.codec with type arguments of type CompoundTagModifierConstructorDescriptionMemoryCodec
(Function<CompoundTag, Data> decoder, BiConsumer<Data, CompoundTag> encoder) MemoryCodec
(Function<CompoundTag, Data> decoder, BiConsumer<Data, CompoundTag> encoder) -
Uses of CompoundTag in cn.nukkit.entity.custom
Methods in cn.nukkit.entity.custom that return CompoundTagModifier and TypeMethodDescriptionCustomEntityDefinition.nbt()
Returns the value of thenbt
record component.Constructors in cn.nukkit.entity.custom with parameters of type CompoundTagModifierConstructorDescriptionCreates an instance of aCustomEntityDefinition
record class. -
Uses of CompoundTag in cn.nukkit.entity.data
Fields in cn.nukkit.entity.data declared as CompoundTagMethods in cn.nukkit.entity.data that return CompoundTagMethods in cn.nukkit.entity.data with parameters of type CompoundTagModifier and TypeMethodDescriptionEntityMetadata.putNBT
(int id, CompoundTag tag) void
NBTEntityData.setData
(CompoundTag tag) Constructors in cn.nukkit.entity.data with parameters of type CompoundTag -
Uses of CompoundTag in cn.nukkit.entity.data.property
Methods in cn.nukkit.entity.data.property that return CompoundTagMethods in cn.nukkit.entity.data.property with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
BooleanEntityProperty.populateTag
(CompoundTag tag) abstract void
EntityProperty.populateTag
(CompoundTag tag) void
EnumEntityProperty.populateTag
(CompoundTag tag) void
FloatEntityProperty.populateTag
(CompoundTag tag) void
IntEntityProperty.populateTag
(CompoundTag tag) -
Uses of CompoundTag in cn.nukkit.entity.item
Constructors in cn.nukkit.entity.item with parameters of type CompoundTagModifierConstructorDescriptionEntityAreaEffectCloud
(FullChunk chunk, CompoundTag nbt) EntityArmorStand
(FullChunk chunk, CompoundTag nbt) EntityBoat
(FullChunk chunk, CompoundTag nbt) EntityChestBoat
(FullChunk chunk, CompoundTag nbt) EntityCrossbowFirework
(FullChunk chunk, CompoundTag nbt) EntityElytraFirework
(FullChunk chunk, CompoundTag nbt, Player player) EntityEndCrystal
(FullChunk chunk, CompoundTag nbt) EntityExpBottle
(FullChunk chunk, CompoundTag nbt) EntityExpBottle
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity) EntityFallingBlock
(FullChunk chunk, CompoundTag nbt) EntityFirework
(FullChunk chunk, CompoundTag nbt) EntityFishingHook
(FullChunk chunk, CompoundTag nbt) EntityFishingHook
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity) EntityItem
(FullChunk chunk, CompoundTag nbt) EntityMinecartAbstract
(FullChunk chunk, CompoundTag nbt) EntityMinecartChest
(FullChunk chunk, CompoundTag nbt) EntityMinecartEmpty
(FullChunk chunk, CompoundTag nbt) EntityMinecartHopper
(FullChunk chunk, CompoundTag nbt) EntityMinecartTNT
(FullChunk chunk, CompoundTag nbt) EntityPainting
(FullChunk chunk, CompoundTag nbt) EntityPotion
(FullChunk chunk, CompoundTag nbt) EntityPotion
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity) EntityPotionLingering
(FullChunk chunk, CompoundTag nbt) EntityPotionLingering
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity) EntityPrimedTNT
(FullChunk chunk, CompoundTag nbt) EntityPrimedTNT
(FullChunk chunk, CompoundTag nbt, Entity source) EntityVehicle
(FullChunk chunk, CompoundTag nbt) EntityXPOrb
(FullChunk chunk, CompoundTag nbt) -
Uses of CompoundTag in cn.nukkit.entity.mob
Constructors in cn.nukkit.entity.mob with parameters of type CompoundTagModifierConstructorDescriptionEntityBlaze
(FullChunk chunk, CompoundTag nbt) EntityCaveSpider
(FullChunk chunk, CompoundTag nbt) EntityCreeper
(FullChunk chunk, CompoundTag nbt) EntityDrowned
(FullChunk chunk, CompoundTag nbt) EntityElderGuardian
(FullChunk chunk, CompoundTag nbt) EntityEnderDragon
(FullChunk chunk, CompoundTag nbt) EntityEnderman
(FullChunk chunk, CompoundTag nbt) EntityEndermite
(FullChunk chunk, CompoundTag nbt) EntityEvoker
(FullChunk chunk, CompoundTag nbt) EntityGhast
(FullChunk chunk, CompoundTag nbt) EntityGuardian
(FullChunk chunk, CompoundTag nbt) EntityHoglin
(FullChunk chunk, CompoundTag nbt) EntityHusk
(FullChunk chunk, CompoundTag nbt) EntityIronGolem
(FullChunk chunk, CompoundTag nbt) EntityMagmaCube
(FullChunk chunk, CompoundTag nbt) EntityMob
(FullChunk chunk, CompoundTag nbt) EntityPhantom
(FullChunk chunk, CompoundTag nbt) EntityPiglin
(FullChunk chunk, CompoundTag nbt) EntityPiglinBrute
(FullChunk chunk, CompoundTag nbt) EntityPillager
(FullChunk chunk, CompoundTag nbt) EntityRavager
(FullChunk chunk, CompoundTag nbt) EntityShulker
(FullChunk chunk, CompoundTag nbt) EntitySilverfish
(FullChunk chunk, CompoundTag nbt) EntitySkeleton
(FullChunk chunk, CompoundTag nbt) EntitySlime
(FullChunk chunk, CompoundTag nbt) EntitySnowGolem
(FullChunk chunk, CompoundTag nbt) EntitySpider
(FullChunk chunk, CompoundTag nbt) EntityStray
(FullChunk chunk, CompoundTag nbt) EntityVex
(FullChunk chunk, CompoundTag nbt) EntityVindicator
(FullChunk chunk, CompoundTag nbt) EntityWarden
(FullChunk chunk, CompoundTag nbt) EntityWitch
(FullChunk chunk, CompoundTag nbt) EntityWither
(FullChunk chunk, CompoundTag nbt) EntityWitherSkeleton
(FullChunk chunk, CompoundTag nbt) EntityZoglin
(FullChunk chunk, CompoundTag nbt) EntityZombie
(FullChunk chunk, CompoundTag nbt) EntityZombiePigman
(FullChunk chunk, CompoundTag nbt) EntityZombieVillager
(FullChunk chunk, CompoundTag nbt) EntityZombieVillagerV1
(FullChunk chunk, CompoundTag nbt) -
Uses of CompoundTag in cn.nukkit.entity.passive
Constructors in cn.nukkit.entity.passive with parameters of type CompoundTagModifierConstructorDescriptionEntityAllay
(FullChunk chunk, CompoundTag nbt) EntityAnimal
(FullChunk chunk, CompoundTag nbt) EntityAxolotl
(FullChunk chunk, CompoundTag nbt) EntityBat
(FullChunk chunk, CompoundTag nbt) EntityBee
(FullChunk chunk, CompoundTag nbt) EntityCamel
(FullChunk chunk, CompoundTag nbt) EntityCat
(FullChunk chunk, CompoundTag nbt) EntityChicken
(FullChunk chunk, CompoundTag nbt) EntityCod
(FullChunk chunk, CompoundTag nbt) EntityCow
(FullChunk chunk, CompoundTag nbt) EntityDolphin
(FullChunk chunk, CompoundTag nbt) EntityDonkey
(FullChunk chunk, CompoundTag nbt) EntityFish
(FullChunk chunk, CompoundTag nbt) EntityFox
(FullChunk chunk, CompoundTag nbt) EntityFrog
(FullChunk chunk, CompoundTag nbt) EntityGlowSquid
(FullChunk chunk, CompoundTag nbt) EntityGoat
(FullChunk chunk, CompoundTag nbt) EntityHorse
(FullChunk chunk, CompoundTag nbt) EntityLlama
(FullChunk chunk, CompoundTag nbt) EntityMooshroom
(FullChunk chunk, CompoundTag nbt) EntityMule
(FullChunk chunk, CompoundTag nbt) EntityNPCEntity
(FullChunk chunk, CompoundTag nbt) EntityOcelot
(FullChunk chunk, CompoundTag nbt) EntityPanda
(FullChunk chunk, CompoundTag nbt) EntityParrot
(FullChunk chunk, CompoundTag nbt) EntityPig
(FullChunk chunk, CompoundTag nbt) EntityPolarBear
(FullChunk chunk, CompoundTag nbt) EntityPufferfish
(FullChunk chunk, CompoundTag nbt) EntityRabbit
(FullChunk chunk, CompoundTag nbt) EntitySalmon
(FullChunk chunk, CompoundTag nbt) EntitySheep
(FullChunk chunk, CompoundTag nbt) EntitySkeletonHorse
(FullChunk chunk, CompoundTag nbt) EntitySquid
(FullChunk chunk, CompoundTag nbt) EntityStrider
(FullChunk chunk, CompoundTag nbt) EntityTadpole
(FullChunk chunk, CompoundTag nbt) EntityTameable
(FullChunk chunk, CompoundTag nbt) Deprecated.EntityTropicalFish
(FullChunk chunk, CompoundTag nbt) EntityTurtle
(FullChunk chunk, CompoundTag nbt) EntityVillager
(FullChunk chunk, CompoundTag nbt) EntityVillagerV1
(FullChunk chunk, CompoundTag nbt) EntityWanderingTrader
(FullChunk chunk, CompoundTag nbt) EntityWolf
(FullChunk chunk, CompoundTag nbt) EntityZombieHorse
(FullChunk chunk, CompoundTag nbt) -
Uses of CompoundTag in cn.nukkit.entity.projectile
Constructors in cn.nukkit.entity.projectile with parameters of type CompoundTagModifierConstructorDescriptionEntityArrow
(FullChunk chunk, CompoundTag nbt) EntityArrow
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity) EntityArrow
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity, boolean critical) EntityEgg
(FullChunk chunk, CompoundTag nbt) EntityEgg
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity) EntityEnderPearl
(FullChunk chunk, CompoundTag nbt) EntityEnderPearl
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity) EntityProjectile
(FullChunk chunk, CompoundTag nbt) EntityProjectile
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity) EntitySmallFireBall
(FullChunk chunk, CompoundTag nbt) EntitySnowball
(FullChunk chunk, CompoundTag nbt) EntitySnowball
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity) EntityThrownTrident
(FullChunk chunk, CompoundTag nbt) EntityThrownTrident
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity) EntityThrownTrident
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity, boolean critical) Deprecated.SlenderProjectile
(FullChunk chunk, CompoundTag nbt) SlenderProjectile
(FullChunk chunk, CompoundTag nbt, Entity shootingEntity) -
Uses of CompoundTag in cn.nukkit.entity.provider
Methods in cn.nukkit.entity.provider with parameters of type CompoundTagModifier and TypeMethodDescriptionClassEntityProvider.provideEntity
(FullChunk chunk, CompoundTag nbt, Object... args) CustomClassEntityProvider.provideEntity
(FullChunk chunk, CompoundTag nbt, Object... args) CustomEntityProvider.provideEntity
(FullChunk chunk, CompoundTag nbt, Object... args) EntityProvider.provideEntity
(FullChunk chunk, CompoundTag nbt, Object... args) -
Uses of CompoundTag in cn.nukkit.entity.weather
Constructors in cn.nukkit.entity.weather with parameters of type CompoundTag -
Uses of CompoundTag in cn.nukkit.event.entity
Methods in cn.nukkit.event.entity that return CompoundTagConstructors in cn.nukkit.event.entity with parameters of type CompoundTagModifierConstructorDescriptionCreatureSpawnEvent
(int networkId, Position position, CompoundTag nbt, CreatureSpawnEvent.SpawnReason reason) -
Uses of CompoundTag in cn.nukkit.item
Methods in cn.nukkit.item that return CompoundTagModifier and TypeMethodDescriptionprotected static CompoundTag
ItemBookWritable.createPageTag()
protected static CompoundTag
ItemBookWritable.createPageTag
(String pageText) Item.getCustomBlockData()
Item.getNamedTag()
Item.getOrCreateNamedTag()
static CompoundTag
Item.parseCompoundTag
(byte[] tag) Methods in cn.nukkit.item with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
ItemPotionLingering.correctNBT
(CompoundTag nbt) protected void
ItemPotionSplash.correctNBT
(CompoundTag nbt) protected void
ProjectileItem.correctNBT
(CompoundTag nbt) Item.setCompoundTag
(CompoundTag tag) Item.setCustomBlockData
(CompoundTag compoundTag) Item.setNamedTag
(CompoundTag tag) byte[]
Item.writeCompoundTag
(CompoundTag tag) Method parameters in cn.nukkit.item with type arguments of type CompoundTag -
Uses of CompoundTag in cn.nukkit.item.customitem
Fields in cn.nukkit.item.customitem declared as CompoundTagModifier and TypeFieldDescriptionprotected final CompoundTag
CustomItemDefinition.SimpleBuilder.nbt
Methods in cn.nukkit.item.customitem that return CompoundTagModifier and TypeMethodDescriptionCustomItemDefinition.nbt()
Returns the value of thenbt
record component.Method parameters in cn.nukkit.item.customitem with type arguments of type CompoundTagModifier and TypeMethodDescriptionCustomItemDefinition.SimpleBuilder.customBuild
(Consumer<CompoundTag> nbt) 对要发送给客户端的物品ComponentNBT进行自定义处理,这里包含了所有对自定义物品的定义。在符合条件的情况下,你可以任意修改。Constructors in cn.nukkit.item.customitem with parameters of type CompoundTagModifierConstructorDescriptionCustomItemDefinition
(String identifier, CompoundTag nbt) Creates an instance of aCustomItemDefinition
record class. -
Uses of CompoundTag in cn.nukkit.item.customitem.data
Fields in cn.nukkit.item.customitem.data declared as CompoundTagMethods in cn.nukkit.item.customitem.data that return CompoundTagMethods in cn.nukkit.item.customitem.data with parameters of type CompoundTagConstructors in cn.nukkit.item.customitem.data with parameters of type CompoundTag -
Uses of CompoundTag in cn.nukkit.level
Methods in cn.nukkit.level that return CompoundTagMethods in cn.nukkit.level with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
Level.addLevelEvent
(Vector3 pos, int event, CompoundTag data) void
GameRules.readNBT
(CompoundTag nbt) -
Uses of CompoundTag in cn.nukkit.level.format
Methods in cn.nukkit.level.format that return CompoundTag -
Uses of CompoundTag in cn.nukkit.level.format.anvil
Methods in cn.nukkit.level.format.anvil that return CompoundTagConstructors in cn.nukkit.level.format.anvil with parameters of type CompoundTagModifierConstructorDescriptionChunk
(LevelProvider level, CompoundTag nbt) Chunk
(LevelProvider level, CompoundTag nbt, DimensionData dimensionData) Chunk
(Class<? extends LevelProvider> providerClass, CompoundTag nbt) Chunk
(Class<? extends LevelProvider> providerClass, CompoundTag nbt, DimensionData dimensionData) ChunkSection
(CompoundTag nbt) ChunkSection
(CompoundTag nbt, byte[] default2DBiomeId) -
Uses of CompoundTag in cn.nukkit.level.format.generic
Fields in cn.nukkit.level.format.generic declared as CompoundTagFields in cn.nukkit.level.format.generic with type parameters of type CompoundTagModifier and TypeFieldDescriptionprotected List<CompoundTag>
BaseFullChunk.NBTentities
protected List<CompoundTag>
BaseFullChunk.NBTtiles
Methods in cn.nukkit.level.format.generic that return CompoundTagConstructors in cn.nukkit.level.format.generic with parameters of type CompoundTagModifierConstructorDescriptionBaseLevelProvider
(Level level, String path, CompoundTag levelData, Vector3 spawn) -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.igloo
Methods in cn.nukkit.level.generator.populator.impl.structure.igloo that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionprotected static Consumer<CompoundTag>
PopulatorIgloo.getBlockActorProcessor
(FullChunk chunk, NukkitRandom random) -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.mineshaft.structure
Methods in cn.nukkit.level.generator.populator.impl.structure.mineshaft.structure with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
MineshaftPieces.MineshaftCorridor.addAdditionalSaveData
(CompoundTag tag) protected void
MineshaftPieces.MineshaftCrossing.addAdditionalSaveData
(CompoundTag tag) protected void
MineshaftPieces.MineshaftRoom.addAdditionalSaveData
(CompoundTag tag) Constructors in cn.nukkit.level.generator.populator.impl.structure.mineshaft.structure with parameters of type CompoundTag -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.netherfortress.structure
Methods in cn.nukkit.level.generator.populator.impl.structure.netherfortress.structure with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
NetherBridgePieces.BridgeEndFiller.addAdditionalSaveData
(CompoundTag tag) protected void
NetherBridgePieces.CastleSmallCorridorLeftTurnPiece.addAdditionalSaveData
(CompoundTag tag) protected void
NetherBridgePieces.CastleSmallCorridorRightTurnPiece.addAdditionalSaveData
(CompoundTag tag) protected void
NetherBridgePieces.MonsterThrone.addAdditionalSaveData
(CompoundTag tag) Constructors in cn.nukkit.level.generator.populator.impl.structure.netherfortress.structure with parameters of type CompoundTagModifierConstructorDescriptionMonsterThrone
(CompoundTag tag) RoomCrossing
(CompoundTag tag) StairsRoom
(CompoundTag tag) StartPiece
(CompoundTag tag) -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure
Methods in cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
OceanMonumentPieces.OceanMonumentPiece.addAdditionalSaveData
(CompoundTag tag) Constructors in cn.nukkit.level.generator.populator.impl.structure.oceanmonument.structure with parameters of type CompoundTagModifierConstructorDescription -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.oceanruin
Methods in cn.nukkit.level.generator.populator.impl.structure.oceanruin that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionprotected static Consumer<CompoundTag>
PopulatorOceanRuin.getBigRuinProcessor
(FullChunk chunk, NukkitRandom random) protected static Consumer<CompoundTag>
PopulatorOceanRuin.getSmallRuinProcessor
(FullChunk chunk, NukkitRandom random) -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.pillageroutpost
Methods in cn.nukkit.level.generator.populator.impl.structure.pillageroutpost that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionprotected static Consumer<CompoundTag>
PopulatorPillagerOutpost.getBlockActorProcessor
(FullChunk chunk, NukkitRandom random) -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.shipwreck
Methods in cn.nukkit.level.generator.populator.impl.structure.shipwreck that return types with arguments of type CompoundTagModifier and TypeMethodDescriptionprotected static Consumer<CompoundTag>
PopulatorShipwreck.getBlockActorProcessor
(FullChunk chunk, NukkitRandom random) -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.stronghold.structure
Methods in cn.nukkit.level.generator.populator.impl.structure.stronghold.structure with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
StrongholdPieces.ChestCorridor.addAdditionalSaveData
(CompoundTag tag) protected void
StrongholdPieces.FillerCorridor.addAdditionalSaveData
(CompoundTag tag) protected void
StrongholdPieces.FiveCrossing.addAdditionalSaveData
(CompoundTag tag) protected void
StrongholdPieces.Library.addAdditionalSaveData
(CompoundTag tag) protected void
StrongholdPieces.PortalRoom.addAdditionalSaveData
(CompoundTag tag) protected void
StrongholdPieces.RoomCrossing.addAdditionalSaveData
(CompoundTag tag) protected void
StrongholdPieces.StairsDown.addAdditionalSaveData
(CompoundTag tag) protected void
StrongholdPieces.Straight.addAdditionalSaveData
(CompoundTag tag) Constructors in cn.nukkit.level.generator.populator.impl.structure.stronghold.structure with parameters of type CompoundTagModifierConstructorDescriptionChestCorridor
(CompoundTag tag) FiveCrossing
(CompoundTag tag) LeftTurn
(CompoundTag tag) Library
(CompoundTag tag) PortalRoom
(CompoundTag tag) PrisonHall
(CompoundTag tag) RightTurn
(CompoundTag tag) RoomCrossing
(CompoundTag tag) StairsDown
(CompoundTag tag) Straight
(CompoundTag tag) Turn
(CompoundTag tag) -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.utils.loot
Method parameters in cn.nukkit.level.generator.populator.impl.structure.utils.loot with type arguments of type CompoundTagModifier and TypeMethodDescriptionvoid
RandomizableContainer.create
(ListTag<CompoundTag> list, NukkitRandom random) -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.utils.structure
Methods in cn.nukkit.level.generator.populator.impl.structure.utils.structure that return CompoundTagModifier and TypeMethodDescriptionfinal CompoundTag
StructurePiece.createTag()
final CompoundTag
StructureStart.createTag()
Methods in cn.nukkit.level.generator.populator.impl.structure.utils.structure with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected abstract void
StructurePiece.addAdditionalSaveData
(CompoundTag tag) void
ScatteredStructureBuilder.setTile
(BlockVector3 pos, String id, CompoundTag data) Sets the block entity at a given point.Constructors in cn.nukkit.level.generator.populator.impl.structure.utils.structure with parameters of type CompoundTag -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.utils.template
Fields in cn.nukkit.level.generator.populator.impl.structure.utils.template declared as CompoundTagModifier and TypeFieldDescriptionfinal CompoundTag
AbstractLegacyStructureTemplate.StructureBlockInfo.nbt
final CompoundTag
AbstractLegacyStructureTemplate.StructureEntityInfo.nbt
Methods in cn.nukkit.level.generator.populator.impl.structure.utils.template that return types with arguments of type CompoundTagMethods in cn.nukkit.level.generator.populator.impl.structure.utils.template with parameters of type CompoundTagModifier and TypeMethodDescriptionReadableStructureTemplate.load
(CompoundTag root) ReadOnlyLegacyStructureTemplate.load
(CompoundTag root) Method parameters in cn.nukkit.level.generator.populator.impl.structure.utils.template with type arguments of type CompoundTagModifier and TypeMethodDescriptionboolean
ReadableStructureTemplate.placeInChunk
(FullChunk chunk, NukkitRandom random, BlockVector3 position, int integrity, Consumer<CompoundTag> blockActorProcessor) boolean
ReadOnlyLegacyStructureTemplate.placeInChunk
(FullChunk chunk, NukkitRandom random, BlockVector3 position, int integrity, Consumer<CompoundTag> blockActorProcessor) boolean
ReadableStructureTemplate.placeInLevel
(ChunkManager level, NukkitRandom random, BlockVector3 position, int integrity, Consumer<CompoundTag> blockActorProcessor) boolean
ReadOnlyLegacyStructureTemplate.placeInLevel
(ChunkManager level, NukkitRandom random, BlockVector3 position, int integrity, Consumer<CompoundTag> blockActorProcessor) StructurePlaceSettings.setBlockActorProcessor
(Consumer<CompoundTag> blockActorProcessor) Constructors in cn.nukkit.level.generator.populator.impl.structure.utils.template with parameters of type CompoundTagModifierConstructorDescriptionStructureBlockInfo
(BlockVector3 pos, BlockEntry state, CompoundTag nbt) StructureEntityInfo
(Vector3 pos, BlockVector3 blockPos, CompoundTag nbt) -
Uses of CompoundTag in cn.nukkit.level.generator.populator.impl.structure.village.structure
Methods in cn.nukkit.level.generator.populator.impl.structure.village.structure with parameters of type CompoundTagModifier and TypeMethodDescriptionprotected void
VillagePieces.DoubleFarmland.addAdditionalSaveData
(CompoundTag tag) protected void
VillagePieces.Farmland.addAdditionalSaveData
(CompoundTag tag) protected void
VillagePieces.SimpleHouse.addAdditionalSaveData
(CompoundTag tag) protected void
VillagePieces.SmallHut.addAdditionalSaveData
(CompoundTag tag) protected void
VillagePieces.Smithy.addAdditionalSaveData
(CompoundTag tag) protected void
VillagePieces.StraightRoad.addAdditionalSaveData
(CompoundTag tag) Constructors in cn.nukkit.level.generator.populator.impl.structure.village.structure with parameters of type CompoundTagModifierConstructorDescriptionBookHouse
(CompoundTag tag) Farmland
(CompoundTag tag) LightPost
(CompoundTag tag) PigHouse
(CompoundTag tag) protected
Road
(CompoundTag tag) SimpleHouse
(CompoundTag tag) SmallHut
(CompoundTag tag) SmallTemple
(CompoundTag tag) Smithy
(CompoundTag tag) StartPiece
(CompoundTag tag) StraightRoad
(CompoundTag tag) TwoRoomHouse
(CompoundTag tag) Well
(CompoundTag tag) -
Uses of CompoundTag in cn.nukkit.level.generator.task
Fields in cn.nukkit.level.generator.task declared as CompoundTagConstructors in cn.nukkit.level.generator.task with parameters of type CompoundTagModifierConstructorDescriptionActorSpawnTask
(Level level, CompoundTag nbt) BlockActorSpawnTask
(Level level, CompoundTag nbt) TileSyncTask
(String type, FullChunk chunk, CompoundTag nbt) Constructor parameters in cn.nukkit.level.generator.task with type arguments of type CompoundTagModifierConstructorDescriptionLootSpawnTask
(Level level, BlockVector3 pos, ListTag<CompoundTag> list) -
Uses of CompoundTag in cn.nukkit.level.vibration
Methods in cn.nukkit.level.vibration that return CompoundTagModifier and TypeMethodDescriptionprotected CompoundTag
SimpleVibrationManager.createEntityTargetTag
(Entity entity) protected CompoundTag
SimpleVibrationManager.createVec3fTag
(Vector3f vec3f) -
Uses of CompoundTag in cn.nukkit.nbt
Methods in cn.nukkit.nbt that return CompoundTagModifier and TypeMethodDescriptionstatic CompoundTag
static CompoundTag
NBTIO.putBlockHelper
(Block block) static CompoundTag
NBTIO.putBlockHelper
(Block block, String nbtName) static CompoundTag
NBTIO.putItemHelper
(Item item) static CompoundTag
NBTIO.putItemHelper
(Item item, Integer slot) static CompoundTag
NBTIO.read
(byte[] data) static CompoundTag
static CompoundTag
static CompoundTag
static CompoundTag
static CompoundTag
NBTIO.read
(InputStream inputStream) static CompoundTag
NBTIO.read
(InputStream inputStream, ByteOrder endianness) static CompoundTag
NBTIO.read
(InputStream inputStream, ByteOrder endianness, boolean network) static CompoundTag
NBTIO.readCompoundValue
(InputStream inputStream, ByteOrder endianness, boolean network) static CompoundTag
NBTIO.readCompressed
(byte[] data) static CompoundTag
NBTIO.readCompressed
(byte[] data, ByteOrder endianness) static CompoundTag
NBTIO.readCompressed
(InputStream inputStream) static CompoundTag
NBTIO.readCompressed
(InputStream inputStream, ByteOrder endianness) static CompoundTag
NBTIO.readNetworkCompressed
(byte[] data) static CompoundTag
NBTIO.readNetworkCompressed
(byte[] data, ByteOrder endianness) static CompoundTag
NBTIO.readNetworkCompressed
(InputStream inputStream) static CompoundTag
NBTIO.readNetworkCompressed
(InputStream inputStream, ByteOrder endianness) Methods in cn.nukkit.nbt with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic Block
NBTIO.getBlockHelper
(CompoundTag block) static Item
NBTIO.getItemHelper
(CompoundTag tag) static void
NBTIO.safeWrite
(CompoundTag tag, File file) static byte[]
NBTIO.write
(CompoundTag tag) static void
NBTIO.write
(CompoundTag tag, File file) static void
NBTIO.write
(CompoundTag tag, File file, ByteOrder endianness) static void
NBTIO.write
(CompoundTag tag, OutputStream outputStream) static void
NBTIO.write
(CompoundTag tag, OutputStream outputStream, ByteOrder endianness) static void
NBTIO.write
(CompoundTag tag, OutputStream outputStream, ByteOrder endianness, boolean network) static byte[]
NBTIO.write
(CompoundTag tag, ByteOrder endianness) static byte[]
NBTIO.write
(CompoundTag tag, ByteOrder endianness, boolean network) static byte[]
NBTIO.writeGZIPCompressed
(CompoundTag tag) static void
NBTIO.writeGZIPCompressed
(CompoundTag tag, OutputStream outputStream) static void
NBTIO.writeGZIPCompressed
(CompoundTag tag, OutputStream outputStream, ByteOrder endianness) static byte[]
NBTIO.writeGZIPCompressed
(CompoundTag tag, ByteOrder endianness) static byte[]
NBTIO.writeNetworkGZIPCompressed
(CompoundTag tag) static void
NBTIO.writeNetworkGZIPCompressed
(CompoundTag tag, OutputStream outputStream) static void
NBTIO.writeNetworkGZIPCompressed
(CompoundTag tag, OutputStream outputStream, ByteOrder endianness) static byte[]
NBTIO.writeNetworkGZIPCompressed
(CompoundTag tag, ByteOrder endianness) static byte[]
NBTIO.writeValue
(CompoundTag tag) The following methods only used for LevelEventGenericPacket which do not write/read tag id and namestatic byte[]
NBTIO.writeValue
(CompoundTag tag, ByteOrder endianness) static byte[]
NBTIO.writeValue
(CompoundTag tag, ByteOrder endianness, boolean network) static void
NBTIO.writeZLIBCompressed
(CompoundTag tag, OutputStream outputStream) static void
NBTIO.writeZLIBCompressed
(CompoundTag tag, OutputStream outputStream, int level) static void
NBTIO.writeZLIBCompressed
(CompoundTag tag, OutputStream outputStream, int level, ByteOrder endianness) static void
NBTIO.writeZLIBCompressed
(CompoundTag tag, OutputStream outputStream, ByteOrder endianness) Method parameters in cn.nukkit.nbt with type arguments of type CompoundTagModifier and TypeMethodDescriptionstatic byte[]
NBTIO.write
(Collection<CompoundTag> tags) static byte[]
NBTIO.write
(Collection<CompoundTag> tags, ByteOrder endianness) static byte[]
NBTIO.write
(Collection<CompoundTag> tags, ByteOrder endianness, boolean network) -
Uses of CompoundTag in cn.nukkit.nbt.tag
Subclasses of CompoundTag in cn.nukkit.nbt.tagMethods in cn.nukkit.nbt.tag that return CompoundTagModifier and TypeMethodDescriptionCompoundTag.clone()
CompoundTag.copy()
CompoundTag.getCompound
(String name) CompoundTag.putBoolean
(String string, boolean val) CompoundTag.putByteArray
(String name, byte[] value) CompoundTag.putCompound
(CompoundTag value) CompoundTag.putCompound
(String name, CompoundTag value) CompoundTag.putIntArray
(String name, int[] value) static CompoundTag
Tag.readCompoundValue
(NBTInputStream dis) Only used for LevelEventGenericPacket Which do not read tag id and name (It only can be a compound tag)Methods in cn.nukkit.nbt.tag with parameters of type CompoundTagModifier and TypeMethodDescriptionCompoundTag.putCompound
(CompoundTag value) CompoundTag.putCompound
(String name, CompoundTag value) -
Uses of CompoundTag in cn.nukkit.network.protocol
Fields in cn.nukkit.network.protocol declared as CompoundTagModifier and TypeFieldDescriptionUpdateTradePacket.offers
StartGamePacket.playerPropertyData
LevelEventGenericPacket.tag
Methods in cn.nukkit.network.protocol that return CompoundTagModifier and TypeMethodDescriptionAddVolumeEntityPacket.getData()
ItemComponentPacket.Entry.getData()
SyncEntityPropertyPacket.getData()
CompressedBiomeDefinitionListPacket.getDefinitions()
Methods in cn.nukkit.network.protocol with parameters of type CompoundTagModifier and TypeMethodDescriptionvoid
AddVolumeEntityPacket.setData
(CompoundTag data) void
SyncEntityPropertyPacket.setData
(CompoundTag data) void
CompressedBiomeDefinitionListPacket.setDefinitions
(CompoundTag definitions) Constructors in cn.nukkit.network.protocol with parameters of type CompoundTag -
Uses of CompoundTag in cn.nukkit.utils
Methods in cn.nukkit.utils that return CompoundTagMethods in cn.nukkit.utils with parameters of type CompoundTagModifier and TypeMethodDescriptionstatic BannerPattern
BannerPattern.fromCompoundTag
(CompoundTag compoundTag) void
BinaryStream.putTag
(CompoundTag tag) Constructors in cn.nukkit.utils with parameters of type CompoundTag