mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-09 05:46:26 +01:00
687e96135a
- Removed WIP Items from Creative Tab - Added option to disable tooltips - Moved common config values to synced serverconfig - Numbers on Scrollable Blocks are centered - Motors can be configured to rotate with negative speed - Fixed Processing Recipes Serializer (severe) - Fixed Moving constructs not rendering at a reasonable distance - Mechanical Bearing always solidifies when empty - Fixed some movement incosistencies with translation constructs - Fixed Crushing Wheel Controller not stopping when Wheels do - Fixed Crushing Wheels ejecting entities on world reload - Fixed Movement inconsistencies with Mechanical Belts - Added rotation propagation through large cogwheels connected at a 90 degree angle - Fixed Client code being called server side - Fixed Abstract Method errors regarding Extractors and FrequencyHolders - Added a unit character to Flexpeater display - Fixed additional washing outputs from flying all over the place - Schematicannon now ignores Structure Void blocks - Fixed Schematic hologram not displaying - Added little indicators to the Mechanical Bearing to visualize curent angle - Bumped version
34 lines
1 KiB
Java
34 lines
1 KiB
Java
package com.simibubi.create;
|
|
|
|
import org.apache.commons.lang3.tuple.Pair;
|
|
|
|
import net.minecraftforge.common.ForgeConfigSpec;
|
|
import net.minecraftforge.common.ForgeConfigSpec.BooleanValue;
|
|
|
|
public class CreateClientConfig {
|
|
|
|
public static final ForgeConfigSpec specification;
|
|
public static final CreateClientConfig instance;
|
|
|
|
static {
|
|
final Pair<CreateClientConfig, ForgeConfigSpec> specPair = new ForgeConfigSpec.Builder()
|
|
.configure(CreateClientConfig::new);
|
|
|
|
specification = specPair.getRight();
|
|
instance = specPair.getLeft();
|
|
}
|
|
|
|
public BooleanValue enableTooltips;
|
|
|
|
CreateClientConfig(final ForgeConfigSpec.Builder builder) {
|
|
builder.comment("Client-only settings - If you're looking for server/common settings, look inside your worlds serverconfig folder!").push("client");
|
|
String basePath = "create.config.client.";
|
|
|
|
String name = "enableTooltips";
|
|
enableTooltips = builder.comment("", "Show item descriptions on Shift and controls on Ctrl.")
|
|
.translation(basePath + name).define(name, true);
|
|
|
|
builder.pop();
|
|
}
|
|
|
|
}
|