public static interface PacketConstructor.Unwrapper
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
unwrapItem(java.lang.Object wrappedObject)
Convert the given wrapped object to the equivalent net.minecraft.server object.
|
java.lang.Object unwrapItem(java.lang.Object wrappedObject)
Note that we may pass in a class instead of object - in that case, the unwrapper should return the equivalent NMS class.
wrappedObject
- - wrapped object or class.