java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryAPI<V>
mods.thecomputerizer.theimpossiblelibrary.shared.v19.m4.registry.Registry1_19_4<V>
mods.thecomputerizer.theimpossiblelibrary.shared.v19.m4.registry.RegistryVanilla1_19_4<V>

public class RegistryVanilla1_19_4<V> extends Registry1_19_4<V>
  • Field Summary

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryAPI

    backend, registryKey, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    RegistryVanilla1_19_4(net.minecraft.core.Registry<V> registry, mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> registryKey, Class<?> type)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.core.Registry<V>
     
    mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?>
    getKey(V value)
     
    Collection<mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?>>
     
    getValue(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> key)
     
     
    boolean
    hasKey(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> key)
     
    boolean
    hasValue(V value)
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryAPI

    getKeyNullable, getRegistryKey, getType, getValueNullable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegistryVanilla1_19_4

      public RegistryVanilla1_19_4(net.minecraft.core.Registry<V> registry, mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> registryKey, Class<?> type)
  • Method Details

    • getBackend

      public net.minecraft.core.Registry<V> getBackend()
      Overrides:
      getBackend in class mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryAPI<V>
    • getKey

      public mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> getKey(V value)
      Specified by:
      getKey in class mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryAPI<V>
    • getKeys

      public Collection<mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?>> getKeys()
      Specified by:
      getKeys in class mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryAPI<V>
    • getValue

      public V getValue(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> key)
      Specified by:
      getValue in class mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryAPI<V>
    • getValues

      public Collection<V> getValues()
      Specified by:
      getValues in class mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryAPI<V>
    • hasKey

      public boolean hasKey(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> key)
      Specified by:
      hasKey in class mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryAPI<V>
    • hasValue

      public boolean hasValue(V value)
      Specified by:
      hasValue in class mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryAPI<V>