Package net.minheur.mhm_bitsnbobs.config
Class ModServerConfig
java.lang.Object
net.minheur.mhm_bitsnbobs.config.ModServerConfig
Adds config file for our mod.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraftforge.common.ForgeConfigSpec.BuilderThe builder for configstatic final net.minecraftforge.common.ForgeConfigSpecThe builderstatic final net.minecraftforge.common.ForgeConfigSpec.BooleanValueThis controls if the/spawncomment is usablestatic final net.minecraftforge.common.ForgeConfigSpec.IntValueThis is the X coordinate of the spawnstatic final net.minecraftforge.common.ForgeConfigSpec.IntValueThis is the Y coordinate of the spawnstatic final net.minecraftforge.common.ForgeConfigSpec.IntValueThis is the Z coordinate of the spawn -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic net.minecraft.core.BlockPosstatic voidsetSpawnEnabled(boolean enabled) static voidsetSpawnPos(net.minecraft.core.BlockPos pPos)
-
Field Details
-
BUILDER
public static final net.minecraftforge.common.ForgeConfigSpec.Builder BUILDERThe builder for config -
CONFIG
public static final net.minecraftforge.common.ForgeConfigSpec CONFIGThe builder -
SPAWN_ENABLED
public static final net.minecraftforge.common.ForgeConfigSpec.BooleanValue SPAWN_ENABLEDThis controls if the/spawncomment is usable -
SPAWN_X
public static final net.minecraftforge.common.ForgeConfigSpec.IntValue SPAWN_XThis is the X coordinate of the spawn -
SPAWN_Y
public static final net.minecraftforge.common.ForgeConfigSpec.IntValue SPAWN_YThis is the Y coordinate of the spawn -
SPAWN_Z
public static final net.minecraftforge.common.ForgeConfigSpec.IntValue SPAWN_ZThis is the Z coordinate of the spawn
-
-
Constructor Details
-
ModServerConfig
public ModServerConfig()
-
-
Method Details
-
getSpawnEnabled
public static boolean getSpawnEnabled() -
setSpawnEnabled
public static void setSpawnEnabled(boolean enabled) -
getSpawnPos
public static net.minecraft.core.BlockPos getSpawnPos() -
setSpawnPos
public static void setSpawnPos(net.minecraft.core.BlockPos pPos)
-