Class BlockPosDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<T>
com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
adris.altoclef.util.serialization.AbstractVectorDeserializer<net.minecraft.util.math.BlockPos,Integer>
adris.altoclef.util.serialization.BlockPosDeserializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
,Serializable
public class BlockPosDeserializer
extends AbstractVectorDeserializer<net.minecraft.util.math.BlockPos,Integer>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
com.fasterxml.jackson.databind.JsonDeserializer.None
-
Field Summary
Fields inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.util.math.BlockPos
deserializeFromUnits
(List<Integer> units) protected String[]
protected String
protected boolean
isUnitTokenValid
(com.fasterxml.jackson.core.JsonToken token) protected Integer
Methods inherited from class adris.altoclef.util.serialization.AbstractVectorDeserializer
deserialize
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_byteOverflow, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeWrappedValue, _failDoubleToIntCoercion, _findNullProvider, _hasTextualNull, _intOverflow, _isEmptyOrTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _neitherNull, _nonNullNumber, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseIntPrimitive, _parseIntPrimitive, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, deserializeWithType, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
BlockPosDeserializer
public BlockPosDeserializer()
-
-
Method Details
-
getTypeName
- Specified by:
getTypeName
in classAbstractVectorDeserializer<net.minecraft.util.math.BlockPos,
Integer>
-
getComponents
- Specified by:
getComponents
in classAbstractVectorDeserializer<net.minecraft.util.math.BlockPos,
Integer>
-
parseUnit
- Specified by:
parseUnit
in classAbstractVectorDeserializer<net.minecraft.util.math.BlockPos,
Integer> - Throws:
Exception
-
deserializeFromUnits
- Specified by:
deserializeFromUnits
in classAbstractVectorDeserializer<net.minecraft.util.math.BlockPos,
Integer>
-
isUnitTokenValid
protected boolean isUnitTokenValid(com.fasterxml.jackson.core.JsonToken token) - Specified by:
isUnitTokenValid
in classAbstractVectorDeserializer<net.minecraft.util.math.BlockPos,
Integer>
-