net.minecraft.util.dynamic

public class HashCodeOps

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

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

Field summary

Modifier and TypeField
private static final byte
TAG_EMPTY
field_58094
field_58094
private static final byte
TAG_MAP_START
field_58095
field_58095
private static final byte
TAG_MAP_END
field_58096
field_58096
private static final byte
TAG_LIST_START
field_58097
field_58097
private static final byte
TAG_LIST_END
field_58098
field_58098
private static final byte
TAG_BYTE
field_58099
field_58099
private static final byte
TAG_SHORT
field_58100
field_58100
private static final byte
TAG_INT
field_58101
field_58101
private static final byte
TAG_LONG
field_58102
field_58102
private static final byte
TAG_FLOAT
field_58103
field_58103
private static final byte
TAG_DOUBLE
field_58104
field_58104
private static final byte
TAG_STRING
field_58105
field_58105
private static final byte
TAG_BOOLEAN
field_58106
field_58106
private static final byte
TAG_BYTE_ARRAY_START
field_58107
field_58107
private static final byte
TAG_BYTE_ARRAY_END
field_58108
field_58108
private static final byte
TAG_INT_ARRAY_START
field_58109
field_58109
private static final byte
TAG_INT_ARRAY_END
field_58110
field_58110
private static final byte
TAG_LONG_ARRAY_START
field_58111
field_58111
private static final byte
TAG_LONG_ARRAY_END
field_58112
field_58112
private static final byte[]
EMPTY_PAYLOAD
field_58113
emptyByteArray
private static final byte[]
FALSE_PAYLOAD
field_58114
falseByteArray
private static final byte[]
TRUE_PAYLOAD
field_58115
trueByteArray
public static final byte[]
EMPTY_MAP_PAYLOAD
field_58091
emptyMapByteArray
public static final byte[]
EMPTY_LIST_PAYLOAD
field_58092
emptyListByteArray
private static final com.mojang.serialization.DataResult<Object>
UNSUPPORTED_OPERATION_ERROR
field_58116
ERROR
private static final Comparator<com.google.common.hash.HashCode>
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
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
field_58084
PAIR_COMPARATOR
public static final HashCodeOps
CRC32C_INSTANCE
field_58093
INSTANCE
private final com.google.common.hash.HashFunction
hashFunction
field_58085
function
private final com.google.common.hash.HashCode
empty
field_58086
empty
private final com.google.common.hash.HashCode
emptyMap
field_58087
emptyMap
private final com.google.common.hash.HashCode
emptyList
field_58088
emptyList
private final com.google.common.hash.HashCode
trueHash
field_58089
hashTrue
private final com.google.common.hash.HashCode
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()
method_68746()
empty()
public com.google.common.hash.HashCode
emptyMap()
method_68778()
emptyMap()
public com.google.common.hash.HashCode
emptyList()
method_68783()
emptyList()
public com.google.common.hash.HashCode
createNumeric(Number value)
method_68769(Number arg0)
createNumeric(Number arg0)
public com.google.common.hash.HashCode
createByte(byte value)
method_68747(byte arg0)
createByte(byte arg0)
public com.google.common.hash.HashCode
createShort(short value)
method_68776(short arg0)
createShort(short arg0)
public com.google.common.hash.HashCode
createInt(int value)
method_68750(int arg0)
createInt(int arg0)
public com.google.common.hash.HashCode
createLong(long value)
method_68751(long arg0)
createLong(long arg0)
public com.google.common.hash.HashCode
createFloat(float value)
method_68749(float arg0)
createFloat(float arg0)
public com.google.common.hash.HashCode
createDouble(double value)
method_68748(double arg0)
createDouble(double arg0)
public com.google.common.hash.HashCode
createString(String value)
method_68770(String arg0)
createString(String arg0)
public com.google.common.hash.HashCode
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)
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)
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)
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)
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)
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)
method_68771(ByteBuffer arg0)
createByteList(ByteBuffer arg0)
public com.google.common.hash.HashCode
createIntList(IntStream input)
method_68773(IntStream arg0)
createIntList(IntStream arg0)
public com.google.common.hash.HashCode
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)
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()
public com.mojang.serialization.ListBuilder<com.google.common.hash.HashCode>
listBuilder()
public <U> U
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)
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)
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)
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)
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()
method_68785()
error()
public com.mojang.serialization.DataResult<com.google.common.hash.HashCode>
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)
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)
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)
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)
method_68784(com.google.common.hash.HashCode arg0)
getStringValue(com.google.common.hash.HashCode arg0)
private boolean
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
method_68794(com.google.common.hash.HashCode arg0)
getLongStream(com.google.common.hash.HashCode arg0)
public Object
updateGeneric(Object input, Object key, Function function)
public Object
update(Object input, String key, Function function)
public Object
set(Object input, String key, Object value)
public com.mojang.serialization.DataResult
getGeneric(Object input, Object key)
public com.mojang.serialization.DataResult
get(Object input, String key)
public Object
remove(Object input, String key)
public Object
createLongList(LongStream input)
public com.mojang.serialization.DataResult
getLongStream(Object input)
public Object
createIntList(IntStream input)
public com.mojang.serialization.DataResult
getIntStream(Object input)
public Object
createByteList(ByteBuffer input)
public com.mojang.serialization.DataResult
getByteBuffer(Object input)
public Object
createList(Stream input)
public com.mojang.serialization.DataResult
getList(Object input)
public com.mojang.serialization.DataResult
getStream(Object input)
public Object
createMap(Map map)
public com.mojang.serialization.DataResult
getMap(Object input)
public Object
createMap(Stream map)
public com.mojang.serialization.DataResult
getMapEntries(Object input)
public com.mojang.serialization.DataResult
getMapValues(Object input)
public com.mojang.serialization.DataResult
mergeToMap(Object prefix, com.mojang.serialization.MapLike values)
public com.mojang.serialization.DataResult
mergeToMap(Object prefix, Map values)
public com.mojang.serialization.DataResult
mergeToMap(Object prefix, Object key, Object value)
public com.mojang.serialization.DataResult
mergeToList(Object prefix, List values)
public com.mojang.serialization.DataResult
mergeToList(Object prefix, Object value)
public Object
createString(String value)
public com.mojang.serialization.DataResult
getStringValue(Object input)
public Object
createBoolean(boolean value)
public com.mojang.serialization.DataResult
getBooleanValue(Object input)
public Object
createDouble(double value)
public Object
createFloat(float value)
public Object
createLong(long value)
public Object
createInt(int value)
public Object
createShort(short value)
public Object
createByte(byte value)
public Object
createNumeric(Number value)
public Number
getNumberValue(Object input, Number defaultValue)
public com.mojang.serialization.DataResult
getNumberValue(Object input)
public Object
convertTo(com.mojang.serialization.DynamicOps outOps, Object input)
public Object
emptyList()
public Object
emptyMap()
public Object
empty()
private static void
lambda$createList$3(com.google.common.hash.Hasher arg0, com.google.common.hash.HashCode arg1)
method_68763(com.google.common.hash.Hasher arg0, com.google.common.hash.HashCode arg1)
method_68763(com.google.common.hash.Hasher arg0, com.google.common.hash.HashCode arg1)
private static void
lambda$hashMap$2(com.google.common.hash.Hasher arg0, com.mojang.datafixers.util.Pair arg1)
method_68764(com.google.common.hash.Hasher arg0, com.mojang.datafixers.util.Pair arg1)
method_68764(com.google.common.hash.Hasher arg0, com.mojang.datafixers.util.Pair pair)
private static void
lambda$hashMap$1(com.google.common.hash.Hasher arg0, Map$Entry arg1)
method_68765(com.google.common.hash.Hasher arg0, Map$Entry arg1)
method_68765(com.google.common.hash.Hasher arg0, Map$Entry entry)
private static String
lambda$static$0()
method_68787()
method_68787()