Package at.petrak.hexcasting.forge
Class ForgeHexConfig.Server
java.lang.Object
at.petrak.hexcasting.forge.ForgeHexConfig.Server
- All Implemented Interfaces:
at.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
- Enclosing class:
- ForgeHexConfig
public static class ForgeHexConfig.Server
extends Object
implements at.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
-
Field Summary
Fields inherited from interface at.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
DEFAULT_DIM_TP_DENYLIST, DEFAULT_MAX_OP_COUNT, DEFAULT_MAX_SPELL_CIRCLE_LENGTH, DEFAULT_OP_BREAK_HARVEST_LEVEL, DEFAULT_TRUE_NAME_HAS_AMBIT, DEFAULT_VILLAGERS_DISLIKE_MIND_MURDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanTeleportInThisDimension(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension) booleanbooleanisActionAllowed(net.minecraft.resources.ResourceLocation actionID) booleanisActionAllowedInCircles(net.minecraft.resources.ResourceLocation actionID) intintintbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface at.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
opBreakHarvestLevel
-
Constructor Details
-
Server
public Server(net.minecraftforge.common.ForgeConfigSpec.Builder builder)
-
-
Method Details
-
opBreakHarvestLevelBecauseForgeThoughtItWasAGoodIdeaToImplementHarvestTiersUsingAnHonestToGodTopoSort
public int opBreakHarvestLevelBecauseForgeThoughtItWasAGoodIdeaToImplementHarvestTiersUsingAnHonestToGodTopoSort()- Specified by:
opBreakHarvestLevelBecauseForgeThoughtItWasAGoodIdeaToImplementHarvestTiersUsingAnHonestToGodTopoSortin interfaceat.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
-
maxOpCount
public int maxOpCount()- Specified by:
maxOpCountin interfaceat.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
-
maxSpellCircleLength
public int maxSpellCircleLength()- Specified by:
maxSpellCircleLengthin interfaceat.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
-
isActionAllowed
public boolean isActionAllowed(net.minecraft.resources.ResourceLocation actionID) - Specified by:
isActionAllowedin interfaceat.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
-
isActionAllowedInCircles
public boolean isActionAllowedInCircles(net.minecraft.resources.ResourceLocation actionID) - Specified by:
isActionAllowedInCirclesin interfaceat.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
-
doVillagersTakeOffenseAtMindMurder
public boolean doVillagersTakeOffenseAtMindMurder()- Specified by:
doVillagersTakeOffenseAtMindMurderin interfaceat.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
-
canTeleportInThisDimension
public boolean canTeleportInThisDimension(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension) - Specified by:
canTeleportInThisDimensionin interfaceat.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
-
trueNameHasAmbit
public boolean trueNameHasAmbit()- Specified by:
trueNameHasAmbitin interfaceat.petrak.hexcasting.api.mod.HexConfig.ServerConfigAccess
-