Package com.comphenix.protocol.wrappers
Class WrappedDataValue
java.lang.Object
com.comphenix.protocol.wrappers.AbstractWrapper
com.comphenix.protocol.wrappers.WrappedDataValue
Represents a DataValue in 1.19.3+.
-
Field Summary
Fields inherited from class com.comphenix.protocol.wrappers.AbstractWrapper
handle, handleType -
Constructor Summary
ConstructorsConstructorDescriptionWrappedDataValue(int index, WrappedDataWatcher.Serializer serializer, Object value) WrappedDataValue(Object handle) Construct a new NMS wrapper. -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()getValue()voidsetIndex(int index) voidsetRawValue(Object value) voidsetSerializer(WrappedDataWatcher.Serializer serializer) voidMethods inherited from class com.comphenix.protocol.wrappers.AbstractWrapper
equals, getHandle, getHandleType, hashCode, setHandle, toString
-
Constructor Details
-
WrappedDataValue
Construct a new NMS wrapper.- Parameters:
handle- the wrapped data value.
-
WrappedDataValue
-
-
Method Details
-
getIndex
public int getIndex() -
setIndex
public void setIndex(int index) -
getSerializer
-
setSerializer
-
getValue
-
setValue
-
getRawValue
-
setRawValue
-