Skip to content

Commit

Permalink
config tooltip descriptions
Browse files Browse the repository at this point in the history
and hidden config entries
  • Loading branch information
Goby56 committed Dec 28, 2024
1 parent 028d0ae commit a2f90e9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 80 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/goby56/wakes/config/WakesConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public class WakesConfig extends MidnightConfig {
@Entry(category = APPEARANCE) public static float maxSplashPlaneVelocity = 0.5f;
@Entry(category = APPEARANCE) public static float splashPlaneScale = 0.8f;

@Entry(category = APPEARANCE) public static List<Float> wakeColorIntervals = Lists.newArrayList(0.1f, 0.4f, 0.6f, 0.8f);
@Entry(selectionMode = 1, category = APPEARANCE, isColor = true) public static List<String> wakeColors = Lists.newArrayList(
@Hidden @Entry(category = APPEARANCE) public static List<Float> wakeColorIntervals = Lists.newArrayList(0.1f, 0.4f, 0.6f, 0.8f);
@Hidden @Entry(selectionMode = 1, category = APPEARANCE, isColor = true) public static List<String> wakeColors = Lists.newArrayList(
"#ffff00ff",
"#ffff00ff",
"#ffff00ff",
Expand Down
91 changes: 13 additions & 78 deletions src/main/resources/assets/wakes/lang/en_us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ wakes:

spawnParticles: Wake particles
firstPersonSplashPlane: First person splash plane
firstPersonSplashPlane.tooltip: Should the player's splash plane be seen while in first person?
wakeOpacity: Wake opacity
wakeResolution: Wake resolution
wakeResolution.tooltip: The pixel resolution of the wakes. Good for adjusting the wakes to better visually fit some resource packs.
shaderLightPassthrough: Shader light passthrough
shaderLightPassthrough.tooltip: Used to fine tune the appearance of wakes when using shaders. A higher value yields brighter wakes.
splashPlaneWidth: Width
splashPlaneHeight: Height
splashPlaneDepth: Depth
Expand All @@ -22,20 +25,25 @@ wakes:

disableMod: Disable mod
pickBoat: Pick boat
pickBoat.tooltip: Enables you to quickly grab a boat when middle clicking water. (Just like pick block)
boatSpawning: Boats
boatSpawning.tooltip: What effect should be visible when a boat moves in water?
playerSpawning: Player
playerSpawning.tooltip: What effect should be visible when you move in water?
otherPlayersSpawning: Other players
otherPlayersSpawning.tooltip: What effect should be visible when other players moves in water?
mobSpawning: Mobs
mobSpawning.tooltip: What effect should be visible when mobs moves in water?
itemSpawning: Items
itemSpawning.tooltip: What effect should be visible when an item moves in water?
wavePropagationFactor: Wave propagation factor
wavePropagationFactor.tooltip: The impact a pixels has on its neighboring pixels inside the wakes
waveDecayFactor: Wave decay factor
waveDecayFactor.tooltip: Specifies how much of a pixels value is left after each tick. (Logarithmic scale)
initialStrength: Initial wave strength
initialStrength.tooltip: The strength a source starts with to produce a wake.
paddleStrength: Paddle strength
splashStrength: Splash strength
wakeColorIntervals: Wake color intervals
wakeColorIntervals.tooltip: Not meant to be edited directly. Use the wake color editor instead.
wakeColors: Wake colors
wakeColors.tooltip: Not meant to be edited directly. Use the wake color editor instead.

debugColors: Render wakes with debug colors
drawDebugBoxes: Draw debug boxes
Expand All @@ -57,77 +65,4 @@ wakes:

splashPlaneDivider: Splash Plane
spawningRuleDivider: Effect Spawning Rules
wakeBehaviourDivider: Wake Behaviour


config:
title: Wakes config
category:
basic: Basic settings
advanced: Advanced settings
debug: Debug
group:
wake_appearance: Wake appearance
wake_behaviour: Wake behaviour
effect_spawning: Effect spawning
splash_plane: Splash plane
initial_wave_strengths: Initial wave strengths
option:
wake_resolution: Wake resolution
wake_opacity: Wake opacity
shader_light_passthrough: Shader light pass through
first_person_splash_plane: First person splash plane
splash_plane:
scale: Scale
offset: Offset
width: Width
height: Height
depth: Depth
gap: Gap
cap_velocity: Velocity cap
interval:
lower: Lower
upper: Upper
color: Color
effect_spawning_rules:
source:
boat: Boat
player: Player
other_players: Other players
mobs: Mobs
items: Items
effect:
simulation_and_planes: Simulation & planes
only_simulation: Only simulation
only_planes: Only planes
disabled: Disabled
spawn_particles: Spawn particles
wave_propagation_factor: Wave propagation factor
wave_decay_factor: Wave decay factor
initial_wave_strength:
wake: Wake strength
paddle: Paddle strength
splash: Splash strength
render_type: Shader program
flood_fill_distance: Flood fill distance
ticks_before_fill: Ticks before flood fill
draw_debug_boxes: Draw debug boxes
show_debug_info: Show debug info
pick_boat: Enable picking boats from water
disable_mod: Disable mod
description:
first_person_splash_plane: >
Should the player's splash plane be seen while in first person?
wave_propagation_factor: >
The impact a pixels has on its neighboring pixels inside the wakes
wave_decay_factor: >
Specifies how much of a pixels value is left after each tick. (Logarithmic scale)
initial_wave_strengths: >
The strength a source starts with to produce a wake.
splash_plane.cap_velocity: >
The velocity at which the maximum size of the splash plane is reached
effect_spawning_rules: "Specifies which effect(s) a source (player, mob, etc) can produce. \n\nSimulation refers to the simulated waves on the water that acts as wakes. \n\nPlanes refers to the splashes that shoot out on either side."
wake_resolution: >
The pixel resolution of the wakes. Good for adjusting the wakes to better visually fit some resource packs.
shader_light_passthrough: >
Used to fine tune the appearance of wakes when using shaders. A higher value yields brighter wakes.
wakeBehaviourDivider: Wake Behaviour

0 comments on commit a2f90e9

Please sign in to comment.