Package com.comphenix.protocol.wrappers
Class WrappedVillagerData
java.lang.Object
com.comphenix.protocol.wrappers.AbstractWrapper
com.comphenix.protocol.wrappers.WrappedVillagerData
- All Implemented Interfaces:
ClonableWrapper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
Fields inherited from class com.comphenix.protocol.wrappers.AbstractWrapper
handle, handleType -
Method Summary
Modifier and TypeMethodDescriptionstatic WrappedVillagerDatafromHandle(Object handle) static WrappedVillagerDatafromValues(WrappedVillagerData.Type type, WrappedVillagerData.Profession profession, int level) intgetLevel()static Class<?> getType()Methods inherited from class com.comphenix.protocol.wrappers.AbstractWrapper
equals, getHandle, getHandleType, hashCode, setHandle, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.comphenix.protocol.wrappers.ClonableWrapper
getHandle
-
Method Details
-
fromHandle
-
fromValues
public static WrappedVillagerData fromValues(WrappedVillagerData.Type type, WrappedVillagerData.Profession profession, int level) -
getNmsClass
-
getLevel
public int getLevel() -
getType
-
getProfession
-
deepClone
- Specified by:
deepClonein interfaceClonableWrapper
-