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_329036_, @Nullable T p_328259_)
    • get

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

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

      public <T> T getOrDefault(Atom<T> p_335515_, T p_333340_)
    • getAny

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

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

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

      public void putAll(Scope p_334073_)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object