Class EmptyPackResources.EmptyResourcesSupplier

java.lang.Object
net.neoforged.neoforge.resource.EmptyPackResources.EmptyResourcesSupplier
All Implemented Interfaces:
net.minecraft.server.packs.repository.Pack.ResourcesSupplier
Enclosing class:
EmptyPackResources

public static class EmptyPackResources.EmptyResourcesSupplier extends Object implements net.minecraft.server.packs.repository.Pack.ResourcesSupplier
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final net.minecraft.server.packs.metadata.pack.PackMetadataSection
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EmptyResourcesSupplier(net.minecraft.server.packs.metadata.pack.PackMetadataSection packMeta)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.server.packs.PackResources
    openFull(net.minecraft.server.packs.PackLocationInfo id, net.minecraft.server.packs.repository.Pack.Metadata info)
     
    net.minecraft.server.packs.PackResources
    openPrimary(net.minecraft.server.packs.PackLocationInfo id)
     

    Methods inherited from class java.lang.Object

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

    • packMeta

      private final net.minecraft.server.packs.metadata.pack.PackMetadataSection packMeta
  • Constructor Details

    • EmptyResourcesSupplier

      public EmptyResourcesSupplier(net.minecraft.server.packs.metadata.pack.PackMetadataSection packMeta)
  • Method Details

    • openPrimary

      public net.minecraft.server.packs.PackResources openPrimary(net.minecraft.server.packs.PackLocationInfo id)
      Specified by:
      openPrimary in interface net.minecraft.server.packs.repository.Pack.ResourcesSupplier
    • openFull

      public net.minecraft.server.packs.PackResources openFull(net.minecraft.server.packs.PackLocationInfo id, net.minecraft.server.packs.repository.Pack.Metadata info)
      Specified by:
      openFull in interface net.minecraft.server.packs.repository.Pack.ResourcesSupplier