Record Class NamespaceResourceManager.class_7082

java.lang.Object
java.lang.Record
net.minecraft.resource.NamespaceResourceManager.class_7082
Record Components:
name -
resources -
filter -
Enclosing class:
NamespaceResourceManager

private static record NamespaceResourceManager.class_7082(String name, @Nullable ResourcePack resources, @Nullable Predicate<Identifier> filter) extends Record
Mappings:
Namespace Name
official agb$c
intermediary net/minecraft/class_3294$class_7082
named net/minecraft/resource/NamespaceResourceManager$class_7082
official a
intermediary comp_529
named name
official b
intermediary comp_530
named resources
official c
intermediary comp_531
named filter
  • Field Details

  • Constructor Details

  • Method Details

    • method_41268

      public void method_41268(Collection<Identifier> collection)
      Mappings:
      Namespace Name Mixin selector
      official a Lagb$c;a(Ljava/util/Collection;)V
      intermediary method_41268 Lnet/minecraft/class_3294$class_7082;method_41268(Ljava/util/Collection;)V
      named method_41268 Lnet/minecraft/resource/NamespaceResourceManager$class_7082;method_41268(Ljava/util/Collection;)V
    • method_41269

      public boolean method_41269(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lagb$c;a(Lza;)Z
      intermediary method_41269 Lnet/minecraft/class_3294$class_7082;method_41269(Lnet/minecraft/class_2960;)Z
      named method_41269 Lnet/minecraft/resource/NamespaceResourceManager$class_7082;method_41269(Lnet/minecraft/util/Identifier;)Z
    • method_41267

      boolean method_41267(ResourceType resourceType, Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lagb$c;a(Lafj;Lza;)Z
      intermediary method_41267 Lnet/minecraft/class_3294$class_7082;method_41267(Lnet/minecraft/class_3264;Lnet/minecraft/class_2960;)Z
      named method_41267 Lnet/minecraft/resource/NamespaceResourceManager$class_7082;method_41267(Lnet/minecraft/resource/ResourceType;Lnet/minecraft/util/Identifier;)Z
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • resources

      @Nullable public @Nullable ResourcePack resources()
      Returns the value of the resources record component.
      Returns:
      the value of the resources record component
    • filter

      Returns the value of the filter record component.
      Returns:
      the value of the filter record component