net.minecraft.util.dynamic

public class HashCodeOps

implements com.mojang.serialization.DynamicOps<com.google.common.hash.HashCode>

net.minecraft.util.HashOps
net.minecraft.util.HashOps
net.minecraft.class_10923
net.minecraft.util.dynamic.HashCodeOps

Field summary

Modifier and TypeField
private static final byte
TAG_EMPTY
TAG_EMPTY
field_58094
field_58094
private static final byte
TAG_MAP_START
TAG_MAP_START
field_58095
field_58095
private static final byte
TAG_MAP_END
TAG_MAP_END
field_58096
field_58096
private static final byte
TAG_LIST_START
TAG_LIST_START
field_58097
field_58097
private static final byte
TAG_LIST_END
TAG_LIST_END
field_58098
field_58098
private static final byte
TAG_BYTE
TAG_BYTE
field_58099
field_58099
private static final byte
TAG_SHORT
TAG_SHORT
field_58100
field_58100
private static final byte
TAG_INT
TAG_INT
field_58101
field_58101
private static final byte
TAG_LONG
TAG_LONG
field_58102
field_58102
private static final byte
TAG_FLOAT
TAG_FLOAT
field_58103
field_58103
private static final byte
TAG_DOUBLE
TAG_DOUBLE
field_58104
field_58104
private static final byte
TAG_STRING
TAG_STRING
field_58105
field_58105
private static final byte
TAG_BOOLEAN
TAG_BOOLEAN
field_58106
field_58106
private static final byte
TAG_BYTE_ARRAY_START
TAG_BYTE_ARRAY_START
field_58107
field_58107
private static final byte
TAG_BYTE_ARRAY_END
TAG_BYTE_ARRAY_END
field_58108
field_58108
private static final byte
TAG_INT_ARRAY_START
TAG_INT_ARRAY_START
field_58109
field_58109
private static final byte
TAG_INT_ARRAY_END
TAG_INT_ARRAY_END
field_58110
field_58110
private static final byte
TAG_LONG_ARRAY_START
TAG_LONG_ARRAY_START
field_58111
field_58111
private static final byte
TAG_LONG_ARRAY_END
TAG_LONG_ARRAY_END
field_58112
field_58112
private static final byte[]
EMPTY_PAYLOAD
EMPTY_PAYLOAD
field_58113
emptyByteArray
private static final byte[]
FALSE_PAYLOAD
FALSE_PAYLOAD
field_58114
falseByteArray
private static final byte[]
TRUE_PAYLOAD
TRUE_PAYLOAD
field_58115
trueByteArray
public static final byte[]
EMPTY_MAP_PAYLOAD
EMPTY_MAP_PAYLOAD
field_58091
emptyMapByteArray
public static final byte[]
EMPTY_LIST_PAYLOAD
EMPTY_LIST_PAYLOAD
field_58092
emptyListByteArray
private static final com.mojang.serialization.DataResult<Object>
UNSUPPORTED_OPERATION_ERROR
UNSUPPORTED_OPERATION_ERROR
field_58116
ERROR
private static final Comparator<com.google.common.hash.HashCode>
HASH_COMPARATOR
HASH_COMPARATOR
field_58082
HASH_CODE_COMPARATOR
private static final Comparator<Map$Entry<com.google.common.hash.HashCode, com.google.common.hash.HashCode>>
MAP_ENTRY_ORDER
MAP_ENTRY_ORDER
field_58083
ENTRY_COMPARATOR
private static final Comparator<com.mojang.datafixers.util.Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>>
MAPLIKE_ENTRY_ORDER
MAPLIKE_ENTRY_ORDER
field_58084
PAIR_COMPARATOR
public static final HashCodeOps
CRC32C_INSTANCE
CRC32C_INSTANCE
field_58093
INSTANCE
private final com.google.common.hash.HashFunction
hashFunction
hashFunction
field_58085
function
private final com.google.common.hash.HashCode
empty
empty
field_58086
empty
private final com.google.common.hash.HashCode
emptyMap
emptyMap
field_58087
emptyMap
private final com.google.common.hash.HashCode
emptyList
emptyList
field_58088
emptyList
private final com.google.common.hash.HashCode
trueHash
trueHash
field_58089
hashTrue
private final com.google.common.hash.HashCode
falseHash
falseHash
field_58090
hashFalse

Constructor summary

ModifierConstructor
public (com.google.common.hash.HashFunction function)

Method summary

Modifier and TypeMethod
public com.google.common.hash.HashCode
empty()
empty()
method_68746()
empty()
public com.google.common.hash.HashCode
emptyMap()
emptyMap()
method_68778()
emptyMap()
public com.google.common.hash.HashCode
emptyList()
emptyList()
method_68783()
emptyList()
public com.google.common.hash.HashCode
createNumeric(Number value)
createNumeric(Number value)
method_68769(Number arg0)
createNumeric(Number arg0)
public com.google.common.hash.HashCode
createByte(byte value)
createByte(byte value)
method_68747(byte arg0)
createByte(byte arg0)
public com.google.common.hash.HashCode
createShort(short value)
createShort(short value)
method_68776(short arg0)
createShort(short arg0)
public com.google.common.hash.HashCode
createInt(int value)
createInt(int value)
method_68750(int arg0)
createInt(int arg0)
public com.google.common.hash.HashCode
createLong(long value)
createLong(long value)
method_68751(long arg0)
createLong(long arg0)
public com.google.common.hash.HashCode
createFloat(float value)
createFloat(float value)
method_68749(float arg0)
createFloat(float arg0)
public com.google.common.hash.HashCode
createDouble(double value)
createDouble(double value)
method_68748(double arg0)
createDouble(double arg0)
public com.google.common.hash.HashCode
createString(String value)
createString(String value)
method_68770(String arg0)
createString(String arg0)
public com.google.common.hash.HashCode
createBoolean(boolean value)
createBoolean(boolean value)
method_68777(boolean arg0)
createBoolean(boolean arg0)
private static com.google.common.hash.Hasher
hashMap(com.google.common.hash.Hasher hasher, Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> map)
hashMap(com.google.common.hash.Hasher hasher, Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> map)
method_68766(com.google.common.hash.Hasher arg0, Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> arg1)
hash(com.google.common.hash.Hasher hasher, Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> map)
private static com.google.common.hash.Hasher
hashMap(com.google.common.hash.Hasher hasher, Stream<com.mojang.datafixers.util.Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> map)
hashMap(com.google.common.hash.Hasher hasher, Stream<com.mojang.datafixers.util.Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> map)
method_68767(com.google.common.hash.Hasher arg0, Stream<com.mojang.datafixers.util.Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> arg1)
hash(com.google.common.hash.Hasher hasher, Stream<com.mojang.datafixers.util.Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> pairs)
public com.google.common.hash.HashCode
createMap(Stream<com.mojang.datafixers.util.Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> map)
createMap(Stream<com.mojang.datafixers.util.Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> map)
method_68775(Stream<com.mojang.datafixers.util.Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> arg0)
createMap(Stream<com.mojang.datafixers.util.Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> arg0)
public com.google.common.hash.HashCode
createMap(Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> map)
createMap(Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> map)
method_68772(Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> arg0)
createMap(Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> arg0)
public com.google.common.hash.HashCode
createList(Stream<com.google.common.hash.HashCode> input)
createList(Stream<com.google.common.hash.HashCode> input)
method_68782(Stream<com.google.common.hash.HashCode> arg0)
createList(Stream<com.google.common.hash.HashCode> arg0)
public com.google.common.hash.HashCode
createByteList(ByteBuffer input)
createByteList(ByteBuffer input)
method_68771(ByteBuffer arg0)
createByteList(ByteBuffer arg0)
public com.google.common.hash.HashCode
createIntList(IntStream input)
createIntList(IntStream input)
method_68773(IntStream arg0)
createIntList(IntStream arg0)
public com.google.common.hash.HashCode
createLongList(LongStream input)
createLongList(LongStream input)
method_68774(LongStream arg0)
createLongList(LongStream arg0)
public com.google.common.hash.HashCode
remove(com.google.common.hash.HashCode input, String key)
remove(com.google.common.hash.HashCode input, String key)
method_68758(com.google.common.hash.HashCode arg0, String arg1)
remove(com.google.common.hash.HashCode arg0, String arg1)
public com.mojang.serialization.RecordBuilder<com.google.common.hash.HashCode>
mapBuilder()
mapBuilder()
public com.mojang.serialization.ListBuilder<com.google.common.hash.HashCode>
listBuilder()
listBuilder()
public <U> U
convertTo(com.mojang.serialization.DynamicOps<U> outOps, com.google.common.hash.HashCode input)
convertTo(com.mojang.serialization.DynamicOps<U> outOps, com.google.common.hash.HashCode input)
method_68768(com.mojang.serialization.DynamicOps<U> arg0, com.google.common.hash.HashCode arg1)
convertTo(com.mojang.serialization.DynamicOps<U> arg0, com.google.common.hash.HashCode arg1)
public Number
getNumberValue(com.google.common.hash.HashCode input, Number defaultValue)
getNumberValue(com.google.common.hash.HashCode input, Number defaultValue)
method_68757(com.google.common.hash.HashCode arg0, Number arg1)
getNumberValue(com.google.common.hash.HashCode arg0, Number arg1)
public com.google.common.hash.HashCode
set(com.google.common.hash.HashCode input, String key, com.google.common.hash.HashCode value)
set(com.google.common.hash.HashCode input, String key, com.google.common.hash.HashCode value)
method_68759(com.google.common.hash.HashCode arg0, String arg1, com.google.common.hash.HashCode arg2)
set(com.google.common.hash.HashCode arg0, String arg1, com.google.common.hash.HashCode arg2)
public com.google.common.hash.HashCode
update(com.google.common.hash.HashCode input, String key, Function<com.google.common.hash.HashCode, com.google.common.hash.HashCode> function)
update(com.google.common.hash.HashCode input, String key, Function<com.google.common.hash.HashCode, com.google.common.hash.HashCode> function)
method_68760(com.google.common.hash.HashCode arg0, String arg1, Function<com.google.common.hash.HashCode, com.google.common.hash.HashCode> arg2)
update(com.google.common.hash.HashCode arg0, String arg1, Function<com.google.common.hash.HashCode, com.google.common.hash.HashCode> arg2)
public com.google.common.hash.HashCode
updateGeneric(com.google.common.hash.HashCode input, com.google.common.hash.HashCode key, Function<com.google.common.hash.HashCode, com.google.common.hash.HashCode> function)
updateGeneric(com.google.common.hash.HashCode input, com.google.common.hash.HashCode key, Function<com.google.common.hash.HashCode, com.google.common.hash.HashCode> function)
method_68755(com.google.common.hash.HashCode arg0, com.google.common.hash.HashCode arg1, Function<com.google.common.hash.HashCode, com.google.common.hash.HashCode> arg2)
updateGeneric(com.google.common.hash.HashCode arg0, com.google.common.hash.HashCode arg1, Function<com.google.common.hash.HashCode, com.google.common.hash.HashCode> arg2)
private static <T> com.mojang.serialization.DataResult<T>
unsupported()
unsupported()
method_68785()
error()
public com.mojang.serialization.DataResult<com.google.common.hash.HashCode>
get(com.google.common.hash.HashCode input, String key)
get(com.google.common.hash.HashCode input, String key)
method_68781(com.google.common.hash.HashCode arg0, String arg1)
get(com.google.common.hash.HashCode arg0, String arg1)
public com.mojang.serialization.DataResult<com.google.common.hash.HashCode>
getGeneric(com.google.common.hash.HashCode input, com.google.common.hash.HashCode key)
getGeneric(com.google.common.hash.HashCode input, com.google.common.hash.HashCode key)
method_68753(com.google.common.hash.HashCode arg0, com.google.common.hash.HashCode arg1)
getGeneric(com.google.common.hash.HashCode arg0, com.google.common.hash.HashCode arg1)
public com.mojang.serialization.DataResult<Number>
getNumberValue(com.google.common.hash.HashCode input)
getNumberValue(com.google.common.hash.HashCode input)
method_68752(com.google.common.hash.HashCode arg0)
getNumberValue(com.google.common.hash.HashCode arg0)
public com.mojang.serialization.DataResult<Boolean>
getBooleanValue(com.google.common.hash.HashCode input)
getBooleanValue(com.google.common.hash.HashCode input)
method_68779(com.google.common.hash.HashCode arg0)
getBooleanValue(com.google.common.hash.HashCode arg0)
public com.mojang.serialization.DataResult<String>
getStringValue(com.google.common.hash.HashCode input)
getStringValue(com.google.common.hash.HashCode input)
method_68784(com.google.common.hash.HashCode arg0)
getStringValue(com.google.common.hash.HashCode arg0)
private boolean
isEmpty(com.google.common.hash.HashCode value)
isEmpty(com.google.common.hash.HashCode value)
method_76578(com.google.common.hash.HashCode arg0)
isEmpty(com.google.common.hash.HashCode hashCode)
public com.mojang.serialization.DataResult<com.google.common.hash.HashCode>
mergeToList(com.google.common.hash.HashCode prefix, com.google.common.hash.HashCode value)
mergeToList(com.google.common.hash.HashCode prefix, com.google.common.hash.HashCode value)
method_68780(com.google.common.hash.HashCode arg0, com.google.common.hash.HashCode arg1)
mergeToList(com.google.common.hash.HashCode arg0, com.google.common.hash.HashCode arg1)
public com.mojang.serialization.DataResult<com.google.common.hash.HashCode>
mergeToList(com.google.common.hash.HashCode prefix, List<com.google.common.hash.HashCode> values)
mergeToList(com.google.common.hash.HashCode prefix, List<com.google.common.hash.HashCode> values)
method_68761(com.google.common.hash.HashCode arg0, List<com.google.common.hash.HashCode> arg1)
mergeToList(com.google.common.hash.HashCode arg0, List<com.google.common.hash.HashCode> arg1)
public com.mojang.serialization.DataResult<com.google.common.hash.HashCode>
mergeToMap(com.google.common.hash.HashCode prefix, com.google.common.hash.HashCode key, com.google.common.hash.HashCode value)
mergeToMap(com.google.common.hash.HashCode prefix, com.google.common.hash.HashCode key, com.google.common.hash.HashCode value)
method_68754(com.google.common.hash.HashCode arg0, com.google.common.hash.HashCode arg1, com.google.common.hash.HashCode arg2)
mergeToMap(com.google.common.hash.HashCode arg0, com.google.common.hash.HashCode arg1, com.google.common.hash.HashCode arg2)
public com.mojang.serialization.DataResult<com.google.common.hash.HashCode>
mergeToMap(com.google.common.hash.HashCode prefix, Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> values)
mergeToMap(com.google.common.hash.HashCode prefix, Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> values)
method_68762(com.google.common.hash.HashCode arg0, Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> arg1)
mergeToMap(com.google.common.hash.HashCode arg0, Map<com.google.common.hash.HashCode, com.google.common.hash.HashCode> arg1)
public com.mojang.serialization.DataResult<com.google.common.hash.HashCode>
mergeToMap(com.google.common.hash.HashCode prefix, com.mojang.serialization.MapLike<com.google.common.hash.HashCode> values)
mergeToMap(com.google.common.hash.HashCode prefix, com.mojang.serialization.MapLike<com.google.common.hash.HashCode> values)
method_68756(com.google.common.hash.HashCode arg0, com.mojang.serialization.MapLike<com.google.common.hash.HashCode> arg1)
mergeToMap(com.google.common.hash.HashCode arg0, com.mojang.serialization.MapLike<com.google.common.hash.HashCode> arg1)
public com.mojang.serialization.DataResult<Stream<com.mojang.datafixers.util.Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>>>
getMapValues(com.google.common.hash.HashCode input)
getMapValues(com.google.common.hash.HashCode input)
method_68786(com.google.common.hash.HashCode arg0)
getMapValues(com.google.common.hash.HashCode arg0)
public com.mojang.serialization.DataResult<Consumer<BiConsumer<com.google.common.hash.HashCode, com.google.common.hash.HashCode>>>
getMapEntries(com.google.common.hash.HashCode input)
getMapEntries(com.google.common.hash.HashCode input)
method_68788(com.google.common.hash.HashCode arg0)
getMapEntries(com.google.common.hash.HashCode arg0)
public com.mojang.serialization.DataResult<Stream<com.google.common.hash.HashCode>>
getStream(com.google.common.hash.HashCode input)
getStream(com.google.common.hash.HashCode input)
method_68789(com.google.common.hash.HashCode arg0)
getStream(com.google.common.hash.HashCode arg0)
public com.mojang.serialization.DataResult<Consumer<Consumer<com.google.common.hash.HashCode>>>
getList(com.google.common.hash.HashCode input)
getList(com.google.common.hash.HashCode input)
method_68790(com.google.common.hash.HashCode arg0)
getList(com.google.common.hash.HashCode arg0)
public com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<com.google.common.hash.HashCode>>
getMap(com.google.common.hash.HashCode input)
getMap(com.google.common.hash.HashCode input)
method_68791(com.google.common.hash.HashCode arg0)
getMap(com.google.common.hash.HashCode arg0)
public com.mojang.serialization.DataResult<ByteBuffer>
getByteBuffer(com.google.common.hash.HashCode input)
getByteBuffer(com.google.common.hash.HashCode input)
method_68792(com.google.common.hash.HashCode arg0)
getByteBuffer(com.google.common.hash.HashCode arg0)
public com.mojang.serialization.DataResult<IntStream>
getIntStream(com.google.common.hash.HashCode input)
getIntStream(com.google.common.hash.HashCode input)
method_68793(com.google.common.hash.HashCode arg0)
getIntStream(com.google.common.hash.HashCode arg0)
public com.mojang.serialization.DataResult<LongStream>
getLongStream(com.google.common.hash.HashCode input)
getLongStream(com.google.common.hash.HashCode input)
method_68794(com.google.common.hash.HashCode arg0)
getLongStream(com.google.common.hash.HashCode arg0)