Interface Decodable<T,U>
- Type Parameters:
T- the family this decoder producesU- the Minecraft type this decoder reads
- All Known Implementing Classes:
DecoderRegistry
Builds a wrapper from the Minecraft object it wraps, the inverse of
Wrapper.toMinecraft().- Since:
- 3.3.0
-
Method Summary
Modifier and TypeMethodDescriptionDecodes a Minecraft value into the Wyck type owned by this decoder.default Set<ResourceKey> types()The type keys this decoder claims within aDecoderRegistry, empty when its family has a single implementation and is not dispatched.
-
Method Details
-
decode
-
types
The type keys this decoder claims within aDecoderRegistry, empty when its family has a single implementation and is not dispatched.- Returns:
- the type keys this decoder claims
- Since:
- 3.3.0
-