Interface NbtWrapper<TType>
- Type Parameters:
TType- - type of the value that is stored.
- All Superinterfaces:
ClonableWrapper,NbtBase<TType>
Indicates that this NBT wraps an underlying net.minecraft.server instance.
Use NbtFactory to load or create instances.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the underlying net.minecraft.server instance.voidwrite(DataOutput destination) Write the current NBT tag to an output stream.
-
Method Details
-
getHandle
Object getHandle()Retrieve the underlying net.minecraft.server instance.- Specified by:
getHandlein interfaceClonableWrapper- Specified by:
getHandlein interfaceNbtBase<TType>- Returns:
- The NMS instance.
-
write
Write the current NBT tag to an output stream.- Parameters:
destination- - the destination stream.
-