Interface INBTSerializable<T extends INBT>

All Known Subinterfaces:
ICapabilitySerializable<T>, IForgeEntity, IForgeItemStack, IForgeTileEntity
All Known Implementing Classes:
AbstractArrowEntity, AbstractChestedHorseEntity, AbstractClientPlayerEntity, AbstractFireballEntity, AbstractFishEntity, AbstractFurnaceTileEntity, AbstractGroupFishEntity, AbstractHorseEntity, AbstractIllagerEntity, AbstractMinecartEntity, AbstractPiglinEntity, AbstractRaiderEntity, AbstractSkeletonEntity, AbstractVillagerEntity, AgeableEntity, AmbientEntity, AnimalEntity, AreaEffectCloudEntity, ArmorStandEntity, ArrowEntity, BannerTileEntity, BarrelTileEntity, BatEntity, BeaconTileEntity, BedTileEntity, BeeEntity, BeehiveTileEntity, BellTileEntity, BlastFurnaceTileEntity, BlazeEntity, BoatEntity, BrewingStandTileEntity, CampfireTileEntity, CapabilityDispatcher, CatEntity, CaveSpiderEntity, ChestMinecartEntity, ChestTileEntity, ChickenEntity, ClientPlayerEntity, CodEntity, CommandBlockMinecartEntity, CommandBlockTileEntity, CommandStorage.Container, ComparatorTileEntity, ConduitTileEntity, ContainerMinecartEntity, CowEntity, CreatureEntity, CreeperEntity, CustomSignsTest.CustomSignTileEntity, DamagingProjectileEntity, DaylightDetectorTileEntity, DispenserTileEntity, DolphinEntity, DonkeyEntity, DragonFireballEntity, DropperTileEntity, DrownedEntity, DummyWorldSaveData, EggEntity, ElderGuardianEntity, EnchantingTableTileEntity, EnderChestTileEntity, EnderCrystalEntity, EnderDragonEntity, EnderDragonPartEntity, EndermanEntity, EndermiteEntity, EnderPearlEntity, EndGatewayTileEntity, EndPortalTileEntity, Entity, EvokerEntity, EvokerFangsEntity, ExperienceBottleEntity, ExperienceOrbEntity, EyeOfEnderEntity, FakePlayer, FallingBlockEntity, FireballEntity, FireworkRocketEntity, FishingBobberEntity, FlyingEntity, ForcedChunksSaveData, FoxEntity, FullPotsAccessorDemo.DioriteFlowerPotTileEntity, FurnaceMinecartEntity, FurnaceTileEntity, GhastEntity, GiantEntity, GolemEntity, GuardianEntity, HangingEntity, HoglinEntity, HopperMinecartEntity, HopperTileEntity, HorseEntity, HuskEntity, IllusionerEntity, IronGolemEntity, ItemEntity, ItemFrameEntity, ItemStack, ItemStackHandler, JigsawTileEntity, JukeboxTileEntity, LeashKnotEntity, LecternTileEntity, LightningBoltEntity, LivingEntity, LlamaEntity, LlamaSpitEntity, LockableLootTileEntity, LockableTileEntity, MagmaCubeEntity, MapData, MapIdTracker, MinecartEntity, MobEntity, MobSpawnerTileEntity, MonsterEntity, MooshroomEntity, MuleEntity, OcelotEntity, PaintingEntity, PandaEntity, ParrotEntity, PartEntity, PatrollerEntity, PhantomEntity, PigEntity, PiglinBruteEntity, PiglinEntity, PillagerEntity, PistonTileEntity, PlayerEntity, PolarBearEntity, PotionEntity, ProjectileEntity, ProjectileItemEntity, PufferfishEntity, RabbitEntity, RaidManager, RavagerEntity, RemoteClientPlayerEntity, SalmonEntity, ScoreboardSaveData, ServerPlayerEntity, SheepEntity, ShoulderRidingEntity, ShulkerBoxTileEntity, ShulkerBulletEntity, ShulkerEntity, SignTileEntity, SilverfishEntity, SkeletonEntity, SkeletonHorseEntity, SkullTileEntity, SlimeEntity, SmallFireballEntity, SmokerTileEntity, SnowballEntity, SnowGolemEntity, SpawnerMinecartEntity, SpectralArrowEntity, SpellcastingIllagerEntity, SpiderEntity, SquidEntity, StrayEntity, StriderEntity, StructureBlockTileEntity, StructureIndexesSavedData, TameableEntity, ThrowableEntity, TileEntity, TileFluidHandler, TNTEntity, TNTMinecartEntity, TraderLlamaEntity, TrappedChestTileEntity, TridentEntity, TropicalFishEntity, TurtleEntity, VexEntity, VillagerEntity, VindicatorEntity, WanderingTraderEntity, WaterMobEntity, WitchEntity, WitherEntity, WitherSkeletonEntity, WitherSkullEntity, WolfEntity, WorldCapabilityData, WorldSavedData, ZoglinEntity, ZombieEntity, ZombieHorseEntity, ZombieVillagerEntity, ZombifiedPiglinEntity

public interface INBTSerializable<T extends INBT>
An interface designed to unify various things in the Minecraft code base that can be serialized to and from a NBT tag.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
  • Method Details

    • serializeNBT

      T serializeNBT()
    • deserializeNBT

      void deserializeNBT(T nbt)