Class NeoForgeDevDistCleaner

java.lang.Object
net.neoforged.fml.loading.moddiscovery.locators.NeoForgeDevDistCleaner
All Implemented Interfaces:
ClassProcessor

@Internal public class NeoForgeDevDistCleaner extends Object implements ClassProcessor
Masks classes from the Minecraft jar that are for the wrong distribution in a development environment, throwing an informative exception.
  • Field Details

    • NAME_DISTS

      private static final Attributes.Name NAME_DISTS
    • NAME_DIST

      private static final Attributes.Name NAME_DIST
    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • DISTXFORM

      private static final org.slf4j.Marker DISTXFORM
    • dist

      private final net.neoforged.api.distmarker.Dist dist
    • maskedClasses

      private final Set<String> maskedClasses
  • Constructor Details

    • NeoForgeDevDistCleaner

      public NeoForgeDevDistCleaner(JarContents minecraftModFile, net.neoforged.api.distmarker.Dist requestedDist)
  • Method Details