public static interface PacketConstructor.Unwrapper
| Modifier and Type | Method and Description |
|---|---|
Object |
unwrapItem(Object wrappedObject)
Convert the given wrapped object to the equivalent net.minecraft.server object.
|
Object unwrapItem(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.Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.