MetadataSectionType .java
net.minecraft.server.packs.metadata.MetadataSectionType (record, 17 lines): members: WithValue, withValue, name, codec. imports: Codec.
File
API Surface (2)
MetadataSectionType.WithValue<T> withValue(final T value)<U> Optional<U> unwrapToType(final MetadataSectionType<U> type)Same Package (1)
Full Source
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
Decompiled Minecraft 26.3 source of MetadataSectionType (net/minecraft/server/packs/metadata/MetadataSectionType.java) with Mojang official mappings, stored verbatim on the site.