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