-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Fixed an issue where tiny solid blocks and redstone lamps were passi…
…ng signals between each other under certain edge conditions. -Added server config to enable Tiny Redstone Torch light output: disabled by default. When disabled, torches will still glow when lit, but will not output light to the surrounding area.
- Loading branch information
Showing
5 changed files
with
44 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.dannyandson.tinyredstone; | ||
|
||
import net.minecraftforge.common.ForgeConfigSpec; | ||
import net.minecraftforge.fml.common.Mod; | ||
|
||
@Mod.EventBusSubscriber | ||
public class Config { | ||
public static ForgeConfigSpec SERVER_CONFIG; | ||
public static final String CATEGORY_PERFORMANCE = "performance"; | ||
public static ForgeConfigSpec.BooleanValue TORCH_LIGHT; | ||
|
||
static { | ||
|
||
ForgeConfigSpec.Builder SERVER_BUILDER = new ForgeConfigSpec.Builder(); | ||
|
||
|
||
SERVER_BUILDER.comment("Performance Settings").push(CATEGORY_PERFORMANCE); | ||
|
||
TORCH_LIGHT = SERVER_BUILDER.comment("Should redstone torches output light to the surrounding area? (default:false)") | ||
.define("torch_light",false); | ||
|
||
SERVER_BUILDER.pop(); | ||
|
||
SERVER_CONFIG = SERVER_BUILDER.build(); | ||
|
||
|
||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters