29 lines
1.1 KiB
Java
29 lines
1.1 KiB
Java
package com.thebrokenrail.slightlyvanilla;
|
|
|
|
import me.sargunvohra.mcmods.autoconfig1u.ConfigData;
|
|
import me.sargunvohra.mcmods.autoconfig1u.annotation.Config;
|
|
import me.sargunvohra.mcmods.autoconfig1u.annotation.ConfigEntry;
|
|
|
|
@Config(name = SlightlyVanilla.NAMESPACE)
|
|
public class ModConfig implements ConfigData {
|
|
public boolean useRespawnAnchorInAnyDimension = true;
|
|
public boolean instantKillInCreative = true;
|
|
@ConfigEntry.Gui.CollapsibleObject(startExpanded = true)
|
|
public ThrowableOption throwableSlimeballs = new ThrowableOption(true, true);
|
|
@ConfigEntry.Gui.CollapsibleObject(startExpanded = true)
|
|
public ThrowableOption throwableSpawnEggs = new ThrowableOption(true, false);
|
|
public boolean openLootChestsInSpectatorMode = true;
|
|
public boolean cryingObsidianNetherPortal = true;
|
|
public boolean allowLeashingVillagers = true;
|
|
|
|
public static class ThrowableOption {
|
|
public boolean player;
|
|
public boolean dispenser;
|
|
|
|
private ThrowableOption(boolean player, boolean dispenser) {
|
|
this.player = player;
|
|
this.dispenser = dispenser;
|
|
}
|
|
}
|
|
}
|