dev.the_fireplace.mobrebirth.entrypoints.ModMenuEntrypoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Mob-Rebirth Show documentation
Show all versions of Mob-Rebirth Show documentation
A server-side Minecraft mod that allows mobs to be reborn in various ways.
package dev.the_fireplace.mobrebirth.entrypoints;
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
import com.terraformersmc.modmenu.api.ModMenuApi;
import dev.the_fireplace.annotateddi.api.DIContainer;
import dev.the_fireplace.mobrebirth.config.MRConfigScreenFactory;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.class_437;
@Environment(EnvType.CLIENT)
public final class ModMenuEntrypoint implements ModMenuApi {
private final MRConfigScreenFactory configScreenFactory = DIContainer.get().getInstance(MRConfigScreenFactory.class);
@Override
public ConfigScreenFactory> getModConfigScreenFactory() {
return (ConfigScreenFactory) configScreenFactory::getConfigScreen;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy