com.yungnickyoung.minecraft.yungsapi.module.CriteriaModuleNeoForge Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of YungsApi Show documentation
Show all versions of YungsApi Show documentation
A common API for YUNG's Minecraft mods
The newest version!
package com.yungnickyoung.minecraft.yungsapi.module;
import com.yungnickyoung.minecraft.yungsapi.YungsApiNeoForge;
import com.yungnickyoung.minecraft.yungsapi.autoregister.AutoRegistrationManager;
import net.minecraft.core.registries.Registries;
/**
* Registration of custom criteria triggers for advancements.
*/
public class CriteriaModuleNeoForge {
public static void processEntries() {
YungsApiNeoForge.loadingContextEventBus.addListener(YungsApiNeoForge.buildSimpleRegistrar(Registries.TRIGGER_TYPE, AutoRegistrationManager.CRITERION_TRIGGERS));
}
}