Skip to content

Commit 5b1dedf

Browse files
committed
feature/13: Added disabled items config
1 parent 8a0115b commit 5b1dedf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/blukzen/createlab/CreateLabConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public class CreateLabConfig {
99
public static final ForgeConfigSpec COMMON_SPEC;
1010

1111
public static ForgeConfigSpec.ConfigValue<List<? extends String>> labPortalFrameBlocks;
12+
public static ForgeConfigSpec.ConfigValue<List<? extends String>> disabledItems;
1213
public static ForgeConfigSpec.IntValue tpCommandPermissionLevel;
1314
public static ForgeConfigSpec.IntValue debugCommandPermissionLevel;
1415
public static ForgeConfigSpec.IntValue saveCommandPermissionLevel;
@@ -21,6 +22,7 @@ public class CreateLabConfig {
2122

2223
private static void setupConfig(ForgeConfigSpec.Builder builder) {
2324
labPortalFrameBlocks = builder.comment("Blocks that can be used as a lab portal frame").defineList("lab_portal_frame_blocks", Arrays.asList("minecraft:smooth_quartz", "minecraft:quartz_block"), entry -> true);
25+
disabledItems = builder.comment("Blocks and items that are disabled in the laboratory dimension").defineList("disabled_items", Arrays.asList("minecraft:ender_chest"), entry -> true);
2426

2527
builder.push("Command Permission Levels");
2628
{

0 commit comments

Comments
 (0)