Updated default configs

This commit is contained in:
Tschipp 2020-10-13 22:23:33 +02:00
parent bea813023c
commit 1ece990eb0
2 changed files with 32 additions and 37 deletions

View File

@ -1,7 +1,7 @@
# Sets default memory used for gradle commands. Can be overridden by user or command line properties. # Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process. # This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G org.gradle.jvmargs=-Xmx3G
version=1.15.0 version=1.15.1
minecraft_version=1.16.3 minecraft_version=1.16.3
mcp_mappings=20200916-1.16.2 mcp_mappings=20200916-1.16.2
forge_version=34.1.10 forge_version=34.1.10

View File

@ -122,101 +122,104 @@ public class Configs {
c.comment("Settings"); c.comment("Settings");
s.comment("Settings"); s.comment("Settings");
s.push("settings");
c.push("settings");
maxDistance = s maxDistance = s
.comment("Maximum distance from where Blocks and Entities can be picked up") .comment("Maximum distance from where Blocks and Entities can be picked up")
.defineInRange("settings.maxDistance", 2.5, 0, Double.MAX_VALUE); .defineInRange("maxDistance", 2.5, 0, Double.MAX_VALUE);
maxEntityWidth = s maxEntityWidth = s
.comment("Max width of entities that can be picked up in survival mode") .comment("Max width of entities that can be picked up in survival mode")
.defineInRange("settings.maxEntityWidth", 1.5, 0, 10); .defineInRange("maxEntityWidth", 1.5, 0, 10);
maxEntityHeight = s maxEntityHeight = s
.comment("Max height of entities that can be picked up in survival mode") .comment("Max height of entities that can be picked up in survival mode")
.defineInRange("settings.maxEntityHeight", 1.5, 0, 10); .defineInRange("maxEntityHeight", 1.5, 0, 10);
maxEntityWidth = s maxEntityWidth = s
.comment("Max width of entities that can be picked up in survival mode") .comment("Max width of entities that can be picked up in survival mode")
.defineInRange("settings.maxEntityWidth", 1.5, 0, 10); .defineInRange("maxEntityWidth", 1.5, 0, 10);
blockSlownessMultiplier = s blockSlownessMultiplier = s
.comment("Slowness multiplier for blocks") .comment("Slowness multiplier for blocks")
.defineInRange("settings.blockSlownessMultiplier", 1, 0, Double.MAX_VALUE); .defineInRange("blockSlownessMultiplier", 1, 0, Double.MAX_VALUE);
entitySlownessMultiplier = s entitySlownessMultiplier = s
.comment("Slowness multiplier for entities") .comment("Slowness multiplier for entities")
.defineInRange("settings.entitySlownessMultiplier", 1, 0, Double.MAX_VALUE); .defineInRange("entitySlownessMultiplier", 1, 0, Double.MAX_VALUE);
maxEntityStackLimit = s maxEntityStackLimit = s
.comment("Maximum stack limit for entities") .comment("Maximum stack limit for entities")
.defineInRange("settings.maxEntityStackLimit", 10, 1, Integer.MAX_VALUE); .defineInRange("maxEntityStackLimit", 10, 1, Integer.MAX_VALUE);
facePlayer = c facePlayer = c
.comment("If the front of the Tile Entities should face the player or should face outward") .comment("If the front of the Tile Entities should face the player or should face outward")
.define("settings.facePlayer", false); .define("facePlayer", false);
heavyTiles = s heavyTiles = s
.comment("More complex Tile Entities slow down the player more") .comment("More complex Tile Entities slow down the player more")
.define("settings.heavyTiles", true); .define("heavyTiles", true);
pickupAllBlocks = s pickupAllBlocks = s
.comment("Allow all blocks to be picked up, not just Tile Entites") .comment("Allow all blocks to be picked up, not just Tile Entites")
.define("settings.pickupAllBlocks", false); .define("pickupAllBlocks", false);
slownessInCreative = s slownessInCreative = s
.comment("Whether Blocks and Entities slow the creative player down when carried") .comment("Whether Blocks and Entities slow the creative player down when carried")
.define("settings.slownessInCreative", true); .define("slownessInCreative", true);
pickupHostileMobs = s pickupHostileMobs = s
.comment("Whether hostile mobs should be able to picked up in survival mode") .comment("Whether hostile mobs should be able to picked up in survival mode")
.define("settings.pickupHostileMobs", false); .define("pickupHostileMobs", false);
heavyEntities = s heavyEntities = s
.comment("Larger Entities slow down the player more") .comment("Larger Entities slow down the player more")
.define("settings.heavyEntities", true); .define("heavyEntities", true);
renderArms = c renderArms = c
.comment("Arms should render on sides when carrying") .comment("Arms should render on sides when carrying")
.define("settings.renderArms", true); .define("renderArms", true);
allowBabies = s allowBabies = s
.comment("Allow babies to be carried even when adult mob is blacklisted (or not whitelisted)") .comment("Allow babies to be carried even when adult mob is blacklisted (or not whitelisted)")
.define("settings.allowBabies", false); .define("allowBabies", false);
useWhitelistBlocks = s useWhitelistBlocks = s
.comment("Use Whitelist instead of Blacklist for Blocks") .comment("Use Whitelist instead of Blacklist for Blocks")
.define("settings.useWhitelistBlocks", false); .define("useWhitelistBlocks", false);
useWhitelistEntities = s useWhitelistEntities = s
.comment("Use Whitelist instead of Blacklist for Entities") .comment("Use Whitelist instead of Blacklist for Entities")
.define("settings.useWhitelistEntities", false); .define("useWhitelistEntities", false);
useWhitelistStacking = s useWhitelistStacking = s
.comment("Use Whitelist instead of Blacklist for Stacking") .comment("Use Whitelist instead of Blacklist for Stacking")
.define("settings.useWhitelistStacking", false); .define("useWhitelistStacking", false);
hitWhileCarrying = s hitWhileCarrying = s
.comment("Whether the player can hit blocks and entities while carrying or not") .comment("Whether the player can hit blocks and entities while carrying or not")
.define("settings.hitWhileCarrying", false); .define("hitWhileCarrying", false);
dropCarriedWhenHit = s dropCarriedWhenHit = s
.comment("Whether the player drops the carried object when hit or not") .comment("Whether the player drops the carried object when hit or not")
.define("settings.dropCarriedWhenHit", false); .define("dropCarriedWhenHit", false);
useScripts = s useScripts = s
.comment("Use custom Pickup Scripts. Having this set to false, will not allow you to run scripts, but will increase your performance") .comment("Use custom Pickup Scripts. Having this set to false, will not allow you to run scripts, but will increase your performance")
.worldRestart() .worldRestart()
.define("settings.useScripts", false); .define("useScripts", false);
stackableEntities = s stackableEntities = s
.comment("Allows entities to be stacked using Carry On") .comment("Allows entities to be stacked using Carry On")
.define("settings.stackableEntities", true); .define("stackableEntities", true);
entitySizeMattersStacking = s entitySizeMattersStacking = s
.comment("Whether entities' size matters when stacking or not") .comment("Whether entities' size matters when stacking or not")
.define("settings.stackableEntities", true); .define("stackableEntities", true);
s.pop();
c.pop();
} }
@ -347,6 +350,7 @@ public class Configs {
"wearablebackpacks:*", "wearablebackpacks:*",
"rftools:screen", "rftools:screen",
"rftools:creative_screen", "rftools:creative_screen",
"create:*"
}), (obj) -> obj instanceof String ? true : false); }), (obj) -> obj instanceof String ? true : false);
@ -397,22 +401,13 @@ public class Configs {
.comment("Model Overrides based on NBT or on Meta. Advanced Users Only!") .comment("Model Overrides based on NBT or on Meta. Advanced Users Only!")
.defineList("modeloverrides.overrides", Arrays.asList(new String[] .defineList("modeloverrides.overrides", Arrays.asList(new String[]
{ {
"minecraft:lit_furnace->minecraft:furnace",
"minecraft:hopper->(block)minecraft:hopper", "minecraft:hopper->(block)minecraft:hopper",
"minecraft:unpowered_comparator->(block)minecraft:unpowered_comparator", "minecraft:comparator->(block)minecraft:comparator",
"minecraft:unpowered_repeater->(block)minecraft:unpowered_repeater", "minecraft:repeater->(block)minecraft:repeater",
"minecraft:powered_comparator->(block)minecraft:powered_comparator",
"minecraft:powered_repeater->(block)minecraft:powered_repeater",
"minecraft:cauldron->(block)minecraft:cauldron", "minecraft:cauldron->(block)minecraft:cauldron",
"minecraft:brewing_stand->(item)minecraft:brewing_stand", "minecraft:brewing_stand->(item)minecraft:brewing_stand",
"minecraft:tallgrass;1->(item)minecraft:tallgrass;1",
"minecraft:tallgrass;2->(item)minecraft:tallgrass;2",
"minecraft:flower_pot->(block)minecraft:flower_pot", "minecraft:flower_pot->(block)minecraft:flower_pot",
"minecraft:leaves2->(item)minecraft:leaves2", "minecraft:sugar_cane->(block)minecraft:sugar_cane",
"minecraft:reeds->(block)minecraft:reeds",
"minecraft:daylight_detector_inverted->minecraft:daylight_detector",
"minecraft:standing_sign->(item)minecraft:sign",
"minecraft:wall_sign->(item)minecraft:sign",
"minecraft:redstone_wire->(item)minecraft:redstone", "minecraft:redstone_wire->(item)minecraft:redstone",
"quark:custom_chest{type:\"spruce\"}->quark:custom_chest;0", "quark:custom_chest{type:\"spruce\"}->quark:custom_chest;0",
"quark:custom_chest{type:\"birch\"}->quark:custom_chest;1", "quark:custom_chest{type:\"birch\"}->quark:custom_chest;1",