mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-19 17:02:13 +02:00
Make more setting descriptions translatable
This commit is contained in:
parent
2cc0aa8b47
commit
211ba7ffd9
@ -38,21 +38,20 @@ public final class AimAssistHack extends Hack
|
||||
new SliderSetting("Rotation Speed", 600, 10, 3600, 10,
|
||||
ValueDisplay.DEGREES.withSuffix("/s"));
|
||||
|
||||
private final SliderSetting fov = new SliderSetting("FOV",
|
||||
"Field Of View - how far away from your crosshair an entity can be before it's ignored.\n"
|
||||
+ "360\u00b0 = aims at entities all around you.",
|
||||
120, 30, 360, 10, ValueDisplay.DEGREES);
|
||||
private final SliderSetting fov =
|
||||
new SliderSetting("FOV", "description.wurst.setting.aimassist.fov", 120,
|
||||
30, 360, 10, ValueDisplay.DEGREES);
|
||||
|
||||
private final AimAtSetting aimAt = new AimAtSetting(
|
||||
"What point in the target's hitbox AimAssist should aim at.");
|
||||
|
||||
private final CheckboxSetting checkLOS = new CheckboxSetting(
|
||||
"Check line of sight", "Won't aim at entities behind blocks.", true);
|
||||
private final CheckboxSetting checkLOS =
|
||||
new CheckboxSetting("Check line of sight",
|
||||
"description.wurst.setting.aimassist.check_line_of_sight", true);
|
||||
|
||||
private final CheckboxSetting aimWhileBlocking = new CheckboxSetting(
|
||||
"Aim while blocking", "Keeps aiming at entities while you're blocking"
|
||||
+ " with a shield or using items.",
|
||||
false);
|
||||
private final CheckboxSetting aimWhileBlocking =
|
||||
new CheckboxSetting("Aim while blocking",
|
||||
"description.wurst.setting.aimassist.aim_while_blocking", false);
|
||||
|
||||
private final EntityFilterList entityFilters =
|
||||
new EntityFilterList(FilterPlayersSetting.genericCombat(false),
|
||||
|
@ -48,37 +48,31 @@ import net.wurstclient.util.RotationUtils;
|
||||
@SearchTags({"anchor aura", "CrystalAura", "crystal aura"})
|
||||
public final class AnchorAuraHack extends Hack implements UpdateListener
|
||||
{
|
||||
private final SliderSetting range = new SliderSetting("Range",
|
||||
"Determines how far AnchorAura will reach to place, charge and detonate anchors.",
|
||||
6, 1, 6, 0.05, ValueDisplay.DECIMAL);
|
||||
private final SliderSetting range =
|
||||
new SliderSetting("Range", "description.wurst.setting.anchoraura.range",
|
||||
6, 1, 6, 0.05, ValueDisplay.DECIMAL);
|
||||
|
||||
private final CheckboxSetting autoPlace = new CheckboxSetting(
|
||||
"Auto-place anchors",
|
||||
"When enabled, AnchorAura will automatically place anchors near valid entities.\n"
|
||||
+ "When disabled, AnchorAura will only charge and detonate manually placed anchors.",
|
||||
true);
|
||||
private final CheckboxSetting autoPlace =
|
||||
new CheckboxSetting("Auto-place anchors",
|
||||
"description.wurst.setting.anchoraura.auto-place_anchors", true);
|
||||
|
||||
private final FacingSetting faceBlocks =
|
||||
FacingSetting.withPacketSpam("Face anchors",
|
||||
"Whether or not AnchorAura should face the correct direction when"
|
||||
+ " placing and right-clicking respawn anchors.\n\n"
|
||||
+ "Slower but can help with anti-cheat plugins.",
|
||||
Facing.OFF);
|
||||
"description.wurst.setting.anchoraura.face_anchors", Facing.OFF);
|
||||
|
||||
private final CheckboxSetting checkLOS = new CheckboxSetting(
|
||||
"Check line of sight",
|
||||
"Ensures that you don't reach through blocks when placing or right-clicking respawn anchors.\n\n"
|
||||
+ "Slower but can help with anti-cheat plugins.",
|
||||
false);
|
||||
private final CheckboxSetting checkLOS =
|
||||
new CheckboxSetting("Check line of sight",
|
||||
"description.wurst.setting.anchoraura.check_line_of_sight", false);
|
||||
|
||||
private final SwingHandSetting swingHand = new SwingHandSetting(
|
||||
"How AnchorAura should swing your hand when placing, charging and"
|
||||
+ " detonating respawn anchors.",
|
||||
SwingHand.CLIENT);
|
||||
|
||||
private final EnumSetting<TakeItemsFrom> takeItemsFrom = new EnumSetting<>(
|
||||
"Take items from", "Where to look for respawn anchors and glowstone.",
|
||||
TakeItemsFrom.values(), TakeItemsFrom.INVENTORY);
|
||||
private final EnumSetting<TakeItemsFrom> takeItemsFrom =
|
||||
new EnumSetting<>("Take items from",
|
||||
"description.wurst.setting.anchoraura.take_items_from",
|
||||
TakeItemsFrom.values(), TakeItemsFrom.INVENTORY);
|
||||
|
||||
private final EntityFilterList entityFilters =
|
||||
AnchorAuraFilterList.create();
|
||||
|
@ -36,34 +36,28 @@ public final class AntiAfkHack extends Hack
|
||||
implements UpdateListener, RenderListener
|
||||
{
|
||||
private final CheckboxSetting useAi = new CheckboxSetting("Use AI",
|
||||
"Uses a pathfinding AI to move around naturally and avoid hazards.\n"
|
||||
+ "Can sometimes get stuck.",
|
||||
true);
|
||||
"description.wurst.setting.antiafk.use_ai", true);
|
||||
|
||||
private final SliderSetting aiRange = new SliderSetting("AI range",
|
||||
"The area in which AntiAFK can move when Use AI is turned on.", 16, 1,
|
||||
64, 1, ValueDisplay.AREA_FROM_RADIUS);
|
||||
"description.wurst.setting.antiafk.ai_range", 16, 1, 64, 1,
|
||||
ValueDisplay.AREA_FROM_RADIUS);
|
||||
|
||||
private final SliderSetting nonAiRange = new SliderSetting("Non-AI range",
|
||||
"The area in which AntiAFK can move when Use AI is turned off.\n\n"
|
||||
+ "\u00a7c\u00a7lWARNING:\u00a7r This area must be completely"
|
||||
+ " unobstructed and free of hazards.",
|
||||
1, 1, 64, 1, ValueDisplay.AREA_FROM_RADIUS);
|
||||
"description.wurst.setting.antiafk.non-ai_range", 1, 1, 64, 1,
|
||||
ValueDisplay.AREA_FROM_RADIUS);
|
||||
|
||||
private final SliderSetting waitTime =
|
||||
new SliderSetting("Wait time", "Time between movements in seconds.",
|
||||
2.5, 0, 60, 0.05, ValueDisplay.DECIMAL.withSuffix("s"));
|
||||
private final SliderSetting waitTime = new SliderSetting("Wait time",
|
||||
"description.wurst.setting.antiafk.wait_time", 2.5, 0, 60, 0.05,
|
||||
ValueDisplay.DECIMAL.withSuffix("s"));
|
||||
|
||||
private final SliderSetting waitTimeRand =
|
||||
new SliderSetting("Wait time randomization",
|
||||
"How much time can be randomly added or subtracted from the wait"
|
||||
+ " time, in seconds.",
|
||||
0.5, 0, 60, 0.05,
|
||||
ValueDisplay.DECIMAL.withPrefix("\u00b1").withSuffix("s"));
|
||||
private final SliderSetting waitTimeRand = new SliderSetting(
|
||||
"Wait time randomization",
|
||||
"description.wurst.setting.antiafk.wait_time_randomization", 0.5, 0, 60,
|
||||
0.05, ValueDisplay.DECIMAL.withPrefix("\u00b1").withSuffix("s"));
|
||||
|
||||
private final CheckboxSetting showWaitTime =
|
||||
new CheckboxSetting("Show wait time",
|
||||
"Displays the remaining wait time in the HackList.", true);
|
||||
"description.wurst.setting.antiafk.show_wait_time", true);
|
||||
|
||||
private int timer;
|
||||
private Random random = Random.createLocal();
|
||||
|
@ -1,10 +1,24 @@
|
||||
{
|
||||
"description.wurst.hack.aimassist": "Helps you aim at nearby entities.",
|
||||
"description.wurst.setting.aimassist.fov": "Field Of View - how far away from your crosshair an entity can be before it's ignored.\n360° = aims at entities all around you.",
|
||||
"description.wurst.setting.aimassist.check_line_of_sight": "Won't aim at entities behind blocks.",
|
||||
"description.wurst.setting.aimassist.aim_while_blocking": "Keeps aiming at entities while you're blocking with a shield or using items.",
|
||||
"description.wurst.hack.airplace": "Allows you to place blocks in mid-air.",
|
||||
"description.wurst.setting.airplace.guide": "Shows a guide for where blocks will be placed.",
|
||||
"description.wurst.setting.airplace.guide_color": "Color of the block placing guide, if enabled.",
|
||||
"description.wurst.hack.anchoraura": "Automatically places (optional), charges, and detonates respawn anchors to kill entities around you.",
|
||||
"description.wurst.setting.anchoraura.range": "Determines how far AnchorAura will reach to place, charge and detonate anchors.",
|
||||
"description.wurst.setting.anchoraura.auto-place_anchors": "When enabled, AnchorAura will automatically place anchors near valid entities.\nWhen disabled, AnchorAura will only charge and detonate manually placed anchors.",
|
||||
"description.wurst.setting.anchoraura.face_anchors": "Whether or not AnchorAura should face the correct direction when placing and right-clicking respawn anchors.\n\nSlower but can help with anti-cheat plugins.",
|
||||
"description.wurst.setting.anchoraura.check_line_of_sight": "Ensures that you don't reach through blocks when placing or right-clicking respawn anchors.\n\nSlower but can help with anti-cheat plugins.",
|
||||
"description.wurst.setting.anchoraura.take_items_from": "Where to look for respawn anchors and glowstone.",
|
||||
"description.wurst.hack.antiafk": "Walks around randomly to hide you from AFK detectors.",
|
||||
"description.wurst.setting.antiafk.use_ai": "Uses a pathfinding AI to move around naturally and avoid hazards.\nCan sometimes get stuck.",
|
||||
"description.wurst.setting.antiafk.ai_range": "The area in which AntiAFK can move when Use AI is turned on.",
|
||||
"description.wurst.setting.antiafk.non-ai_range": "The area in which AntiAFK can move when Use AI is turned off.\n\n§c§lWARNING:§r This area must be completely unobstructed and free of hazards.",
|
||||
"description.wurst.setting.antiafk.wait_time": "Time between movements in seconds.",
|
||||
"description.wurst.setting.antiafk.wait_time_randomization": "How much time can be randomly added or subtracted from the wait time, in seconds.",
|
||||
"description.wurst.setting.antiafk.show_wait_time": "Displays the remaining wait time in the HackList.",
|
||||
"description.wurst.hack.antiblind": "Prevents blindness and darkness effects.\nIncompatible with OptiFine.",
|
||||
"description.wurst.hack.anticactus": "Protects you from cactus damage.",
|
||||
"description.wurst.hack.antientitypush": "Prevents you from getting pushed by players and mobs.",
|
||||
|
Loading…
Reference in New Issue
Block a user