Class Scope

java.lang.Object
net.minecraft.util.parsing.packrat.Scope

public final class Scope extends Object
  • Field Details

    • values

      private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<Atom<?>,Object> values
  • Constructor Details

    • Scope

      public Scope()
  • Method Details

    • put

      public <T> void put(Atom<T> p_335874_, @Nullable T p_335802_)
    • get

      @Nullable public <T> T get(Atom<T> p_335532_)
    • getOrThrow

      public <T> T getOrThrow(Atom<T> p_335438_)
    • getOrDefault

      public <T> T getOrDefault(Atom<T> p_336076_, T p_336135_)
    • getAny

      @Nullable @SafeVarargs public final <T> T getAny(Atom<T>... p_335905_)
    • getAnyOrThrow

      @SafeVarargs public final <T> T getAnyOrThrow(Atom<T>... p_336028_)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • putAll

      public void putAll(Scope p_335805_)
    • equals

      public boolean equals(Object p_335524_)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object