Skip to content
Minified
GitHubDiscord
  • Getting Started
  • Events
    • Introduction
    • Connection
      • CheckConnectionEvent
      • OfflineEvent
    • Auth
      • CreateMasterKeyEvent
      • LoadEncryptedSessionEvent
      • SaveEncryptedSessionEvent
    • Java
      • EnsureJavaVersionEvent
      • ExtractArchiveEvent
      • JavaArchiveDownloadEvent
    • Launch
      • ConfigureX11EnvironmentEvent
      • DownloadAssetsEvent
      • DownloadClientJarEvent
      • DownloadLibrariesEvent
      • GameOutputEvent
      • GameProcessStartedEvent
      • GameStartEvent
      • GameStoppedEvent
      • InstallForgeEvent
      • InstallNeoforgeEvent
  • Modules
    • Auth
    • Java
    • Launch
      • Basics
      • Configuration
      • Modding
      • Versions
    • Utils
      • JSON
      • HTTP
      • Network
      • Downloads & Hashing
      • Exceptions
      • API Endpoints
    • Modrinth
      • Modrinth
      • Loaders
      • Projects
        • Project
        • Projects Client
      • Tags
      • Teams
      • Users
      • Versions
      • Exceptions
    • Worlds
      • Introduction
      • Opening a World
      • Dimensions and Chunks
      • Entities and Points of Interest
  • API Reference
    • Overview
    • minified-auth
      • Overview
      • auth
      • auth.encryption
      • auth.events
      • auth.events.encryption
      • auth.exceptions
      • auth.skin
      • auth.user
    • minified-events
      • Overview
      • events
      • events.type.connection
    • minified-java
      • Overview
      • java
      • java.events
      • java.events.download
      • java.events.extract
    • minified-launch
      • Overview
      • launch.arguments
      • launch.download
      • launch.download.assets
      • launch.download.libraries
      • launch.events.download.assets
      • launch.events.download.client
      • launch.events.download.libraries
      • launch.events.environment
      • launch.events.launch
      • launch.events.loader
      • launch.exceptions.cache
      • launch.exceptions.download
      • launch.exceptions.libraries
      • launch.exceptions.loader
      • launch.exceptions.loader.forge
      • launch.exceptions.loader.neoforge
      • launch.exceptions.profile
      • launch.exceptions.version
      • launch.launch
      • launch.launch.internal
      • launch.launch.modding
      • launch.launch.modding.custom
      • launch.launch.modding.fabric
      • launch.launch.modding.forge
      • launch.launch.modding.forge.api
      • launch.launch.modding.forge.installer
      • launch.launch.modding.neoforge
      • launch.launch.modding.neoforge.api
      • launch.launch.modding.neoforge.installer
      • launch.launch.modding.quilt
      • launch.launch.modding.vanilla
      • launch.profile
      • launch.utils
    • minified-modrinth
      • Overview
      • modrinth
      • modrinth.exceptions
      • modrinth.internal
      • modrinth.loaders
      • modrinth.projects
      • modrinth.tags
      • modrinth.teams
      • modrinth.users
      • modrinth.versions
    • minified-utils
      • Overview
      • utils
      • utils.cli
      • utils.download
      • utils.exceptions
      • utils.http
      • utils.json
      • utils.nbt
      • utils.nbt.tag
        • Overview
        • NbtBoolean
        • NbtByte
        • NbtByteArray
        • NbtCompound
        • NbtDouble
        • NbtEnd
        • NbtFloat
        • NbtInt
        • NbtIntArray
        • NbtList
        • NbtLong
        • NbtLongArray
        • NbtShort
        • NbtString
        • NbtTag
      • utils.network
      • utils.os
      • utils.sha
      • utils.shortcut
      • utils.shortcut.writer
      • utils.version
    • minified-worlds
      • Overview
      • worlds.block
      • worlds.chunk
      • worlds.dimension
      • worlds.dimension.data
      • worlds.dimension.region
      • worlds.entity
      • worlds.poi
      • worlds.save
      • worlds.save.data
      • worlds.save.level
      • worlds.save.playerdata

On this page

  • Overview
  • Methods
  • copy()
  • id()
  • Used by

minified-utils/com.dervarex.minified.utils.nbt.tag

NbtTag

interfaceSource
public sealed interface NbtTag
    permits NbtCompound, NbtList, NbtString, NbtByte, NbtBoolean, NbtShort, NbtInt, NbtLong, NbtFloat, NbtDouble, NbtByteArray, NbtIntArray, NbtLongArray, NbtEnd
Known implementations
NbtBoolean, NbtByte, NbtByteArray, NbtCompound, NbtDouble, NbtEnd, NbtFloat, NbtInt, NbtIntArray, NbtList, NbtLong, NbtLongArray, NbtShort, NbtString

Methods

NbtTag copy()Deep copy, tags that can't change anyway just return themselvesbyte id()

copy()

defaultSource
default NbtTag copy()
Deep copy, tags that can't change anyway just return themselves
Returns
NbtTag

id()

Source
byte id()
Returns
byte

Used by

Methods of other types that accept or return NbtTag.

  • BlockState.fromNbt()
  • BlockStateFormat.toNbt()
  • NbtCompound.asMap()
  • NbtCompound.get()
  • NbtCompound.put()
  • NbtCompound.remove()
  • NbtEquals.deepEquals()
  • NbtList.add()
  • NbtList.elements()

Minified is not affiliated with, endorsed by, or sponsored by Mojang Studios or Microsoft. Minecraft is a trademark of Microsoft.

    ↑↓ to navigate · Enter to open · Esc to close