Class RefOps<O,V>

java.lang.Object
net.minecraft.resources.DelegatingOps<O>
net.minecraft.resources.RegistryOps<O>
net.neoforged.neoforge.common.conditions.ConditionalOps<O>
dev.latvian.mods.klib.registry.RefOps<O,V>
All Implemented Interfaces:
com.mojang.serialization.DynamicOps<O>

public class RefOps<O,V> extends net.neoforged.neoforge.common.conditions.ConditionalOps<O>
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.resources.RegistryOps

    net.minecraft.resources.RegistryOps.HolderLookupAdapter, net.minecraft.resources.RegistryOps.RegistryInfo<T>, net.minecraft.resources.RegistryOps.RegistryInfoLookup

    Nested classes/interfaces inherited from class net.minecraft.resources.DelegatingOps

    net.minecraft.resources.DelegatingOps.DelegateListBuilder, net.minecraft.resources.DelegatingOps.DelegateRecordBuilder
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final Ref<V>
     

    Fields inherited from class net.neoforged.neoforge.common.conditions.ConditionalOps

    CONDITIONAL_VALUE_KEY, DEFAULT_CONDITIONS_KEY

    Fields inherited from class net.minecraft.resources.RegistryOps

    lookupProvider

    Fields inherited from class net.minecraft.resources.DelegatingOps

    delegate
  • Constructor Summary

    Constructors
    Constructor
    Description
    RefOps(net.neoforged.neoforge.common.conditions.ConditionalOps<O> parent, Ref<V> ref)
     
  • Method Summary

    Methods inherited from class net.neoforged.neoforge.common.conditions.ConditionalOps

    createConditionalCodec, createConditionalCodec, createConditionalCodecWithConditions, createConditionalCodecWithConditions, decodeListWithElementConditions, retrieveContext

    Methods inherited from class net.minecraft.resources.RegistryOps

    create, create, equals, getter, hashCode, injectRegistryContext, owner, retrieveElement, retrieveGetter, retrieveRegistryLookup, withParent

    Methods inherited from class net.minecraft.resources.DelegatingOps

    compressMaps, convertTo, createBoolean, createByte, createByteList, createDouble, createFloat, createInt, createIntList, createList, createLong, createLongList, createMap, createMap, createNumeric, createShort, createString, empty, emptyList, emptyMap, getBooleanValue, getByteBuffer, getIntStream, getList, getLongStream, getMap, getMapEntries, getMapValues, getNumberValue, getStream, getStringValue, listBuilder, mapBuilder, mergeToList, mergeToList, mergeToMap, mergeToMap, mergeToMap, mergeToPrimitive, remove

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.mojang.serialization.DynamicOps

    convertList, convertMap, get, getGeneric, getNumberValue, set, update, updateGeneric, withDecoder, withEncoder, withParser
  • Field Details

    • ref

      public final Ref<V> ref
  • Constructor Details

    • RefOps

      public RefOps(net.neoforged.neoforge.common.conditions.ConditionalOps<O> parent, Ref<V> ref)