Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac7de7a07a | ||
|
|
0bd31971a0 | ||
|
|
3010b164ab | ||
|
|
6cb4656365 |
No files matched your search
@@ -1,16 +1,16 @@
|
|||||||
# jenny's mod 2 100% real
|
# jenny's mod 2 100% real
|
||||||
|
|
||||||
mod para Minecraft Fabric 26.1.2 que añade algunas cosas QOL, mayormente relacionadas a la cámara.
|
mod para Minecraft Fabric 26.2 que añade algunas cosas QOL, mayormente relacionadas a la cámara.
|
||||||
|
|
||||||
## instalación
|
## instalación
|
||||||
|
|
||||||
### para gente normal:
|
### para gente normal:
|
||||||
1. ir a [lanzamientos](https://github.com/retuci0/sputnik/releases)
|
1. ir a [lanzamientos](https://codeberg.org/retucio/sputnik/releases)
|
||||||
2. selecionar la versión más reciente
|
2. selecionar la versión más reciente
|
||||||
3. descargar el .jar
|
3. descargar el .jar
|
||||||
4. moverlo a tu directorio de mods (probablemente `%appdata%/.minecraft/mods`)
|
4. moverlo a tu directorio de mods (probablemente `%appdata%/.minecraft/mods`)
|
||||||
|
|
||||||
asegúrate de tener una version de Minecraft y Fabric compatibles con el mod (MC `26.1.2`; Fabric `0.19.2`)
|
asegúrate de tener una version de Minecraft y Fabric compatibles con el mod (MC `26.2`; Fabric `0.19.3`)
|
||||||
es posible que haya problemas al usarlo junto a otros mods, especialmente junto a otros clientes, pues pueden conflictar entre ellos.
|
es posible que haya problemas al usarlo junto a otros mods, especialmente junto a otros clientes, pues pueden conflictar entre ellos.
|
||||||
|
|
||||||
### para frikis de 200 de iq
|
### para frikis de 200 de iq
|
||||||
@@ -56,7 +56,7 @@ algunos módulos tienen teclas asignadas por defecto, asígnales `ESC` para desa
|
|||||||
<img src="screenshots/hudeditor.png" alt="editor de HUD">
|
<img src="screenshots/hudeditor.png" alt="editor de HUD">
|
||||||
<img src="screenshots/colorpicker.png" alt="selector de colores">
|
<img src="screenshots/colorpicker.png" alt="selector de colores">
|
||||||
|
|
||||||
## contibuciones
|
## contribuciones
|
||||||
|
|
||||||
sí por favor
|
sí por favor
|
||||||
|
|
||||||
|
|||||||
+7
-16
@@ -1,31 +1,22 @@
|
|||||||
# v5.7
|
# v6.1
|
||||||
|
|
||||||
## novedades
|
## novedades
|
||||||
|
|
||||||
actualización a gradle 9.7.0
|
|
||||||
|
|
||||||
interfaz reorganizada en pestañas: módulos, hud, perfiles y macros
|
|
||||||
|
|
||||||
perfiles de configuración: guarda varias configs con nombre y cambia entre ellas sin reiniciar
|
|
||||||
|
|
||||||
macros: asigna una tecla a una lista de comandos o mensajes
|
|
||||||
|
|
||||||
### adiciones
|
### adiciones
|
||||||
|
|
||||||
#### módulos nuevos:
|
#### módulos nuevos:
|
||||||
|
|
||||||
- cancelador de paquetes: evita que se envíen o reciban ciertos paquetes
|
- físicas de items: aplica físicas "realistas" a los items del suelo
|
||||||
|
|
||||||
#### comandos nuevos:
|
#### elementos del HUD nuevos:
|
||||||
|
|
||||||
- `$?`: muestra los comandos disponibles y los describe
|
- velocidad: velocidad del jugador
|
||||||
- `$perfil`: gestiona los perfiles de configuración
|
|
||||||
- `$macro`: gestiona las macros
|
|
||||||
|
|
||||||
### arreglos / mejoras
|
### arreglos / mejoras
|
||||||
|
|
||||||
- las rotaciones de los módulos se reparten por prioridad en vez de pisarse entre ellas
|
- killaura ya no te echa por exceder el límite de paquetes
|
||||||
- el editor del hud ya es una pestaña más de la interfaz, además de su propia pantalla
|
- el mj bridge de andamios ya funciona correctamente al no usarse en el aire
|
||||||
|
- ahora no hace falta volver a clicar cada vez que quieras cambiar de herramienta en `auto herramienta`, con el modo `cada tick`
|
||||||
|
|
||||||
## problemas reconocidos
|
## problemas reconocidos
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -10,6 +10,6 @@ discord_rpc_version=1.0.3
|
|||||||
neutrino_version=1.1.0
|
neutrino_version=1.1.0
|
||||||
jdk_version=25
|
jdk_version=25
|
||||||
|
|
||||||
mod_version=5.7
|
mod_version=6.1
|
||||||
maven_group=me.retucio
|
maven_group=me.retucio
|
||||||
archives_base_name=sputnik
|
archives_base_name=sputnik
|
||||||
@@ -26,6 +26,7 @@ import me.retucio.sputnik.ui.hud.HudEditorScreen;
|
|||||||
import me.retucio.sputnik.ui.screen.UpdateScreen;
|
import me.retucio.sputnik.ui.screen.UpdateScreen;
|
||||||
import me.retucio.sputnik.ui.widgets.buttons.settings.BindButton;
|
import me.retucio.sputnik.ui.widgets.buttons.settings.BindButton;
|
||||||
import me.retucio.sputnik.ui.widgets.buttons.SettingButton;
|
import me.retucio.sputnik.ui.widgets.buttons.SettingButton;
|
||||||
|
import me.retucio.sputnik.ui.widgets.buttons.settings.FileButton;
|
||||||
import me.retucio.sputnik.ui.widgets.buttons.settings.TextButton;
|
import me.retucio.sputnik.ui.widgets.buttons.settings.TextButton;
|
||||||
import me.retucio.sputnik.ui.widgets.panels.settings.ClientSettingsPanel;
|
import me.retucio.sputnik.ui.widgets.panels.settings.ClientSettingsPanel;
|
||||||
import me.retucio.sputnik.ui.widgets.panels.SettingsPanel;
|
import me.retucio.sputnik.ui.widgets.panels.SettingsPanel;
|
||||||
@@ -181,10 +182,15 @@ public class Sputnik implements ClientModInitializer {
|
|||||||
|
|
||||||
// verifica si algún botón de ajustes está escuchando
|
// verifica si algún botón de ajustes está escuchando
|
||||||
private boolean isAnySettingButtonFocused() {
|
private boolean isAnySettingButtonFocused() {
|
||||||
|
if (ClickGui.INSTANCE == null) return false;
|
||||||
for (SettingsPanel sf : ClickGui.INSTANCE.getSettingsPanels())
|
for (SettingsPanel sf : ClickGui.INSTANCE.getSettingsPanels())
|
||||||
for (Button sb : sf.getButtons())
|
for (Button sb : sf.getButtons())
|
||||||
if ((sb instanceof BindButton b && b.isFocused()) || (sb instanceof TextButton t && t.isFocused()))
|
if ((sb instanceof BindButton b && b.isFocused())
|
||||||
|
|| (sb instanceof TextButton t && t.isFocused())
|
||||||
|
|| (sb instanceof FileButton f && f.isFocused())
|
||||||
|
) {
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -208,6 +214,7 @@ public class Sputnik implements ClientModInitializer {
|
|||||||
for (SettingsPanel sf : ClickGui.INSTANCE.getSettingsPanels()) {
|
for (SettingsPanel sf : ClickGui.INSTANCE.getSettingsPanels()) {
|
||||||
for (SettingButton<?> sb : sf.getButtons()) {
|
for (SettingButton<?> sb : sf.getButtons()) {
|
||||||
if (sb instanceof BindButton bb) bb.onKey(key, action);
|
if (sb instanceof BindButton bb) bb.onKey(key, action);
|
||||||
|
if (sb instanceof FileButton fb) fb.onKey(key, action);
|
||||||
if (sb instanceof TextButton tb) tb.onKey(key, action);
|
if (sb instanceof TextButton tb) tb.onKey(key, action);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,12 +3,11 @@ package me.retucio.sputnik.command.commands;
|
|||||||
import com.mojang.brigadier.arguments.IntegerArgumentType;
|
import com.mojang.brigadier.arguments.IntegerArgumentType;
|
||||||
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
|
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
|
||||||
import me.retucio.sputnik.command.Command;
|
import me.retucio.sputnik.command.Command;
|
||||||
import me.retucio.sputnik.util.interfaces.IChatComponent;
|
import me.retucio.sputnik.mixinterfaces.IChatComponent;
|
||||||
import net.minecraft.client.gui.components.ChatComponent;
|
import net.minecraft.client.gui.components.ChatComponent;
|
||||||
import net.minecraft.client.multiplayer.chat.GuiMessage;
|
import net.minecraft.client.multiplayer.chat.GuiMessage;
|
||||||
import net.minecraft.commands.SharedSuggestionProvider;
|
import net.minecraft.commands.SharedSuggestionProvider;
|
||||||
|
|
||||||
import java.awt.*;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class PurgeCommand extends Command {
|
public class PurgeCommand extends Command {
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ public class ClientConfig {
|
|||||||
case ListSetting l: value = l.getConfigValues(); break;
|
case ListSetting l: value = l.getConfigValues(); break;
|
||||||
case ColorSetting c: value = c.getConfigValue(); break;
|
case ColorSetting c: value = c.getConfigValue(); break;
|
||||||
case OptionSetting o: value = o.getConfigName(); break;
|
case OptionSetting o: value = o.getConfigName(); break;
|
||||||
|
case FileSetting f: value = f.getValue(); break;
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -362,6 +362,7 @@ public class ConfigManager {
|
|||||||
case ListSetting listSetting -> applyListSetting(listSetting, value);
|
case ListSetting listSetting -> applyListSetting(listSetting, value);
|
||||||
case ColorSetting colorSetting -> applyColorSetting(colorSetting, value);
|
case ColorSetting colorSetting -> applyColorSetting(colorSetting, value);
|
||||||
case OptionSetting optionSetting -> applyOptionSetting(optionSetting, value);
|
case OptionSetting optionSetting -> applyOptionSetting(optionSetting, value);
|
||||||
|
case FileSetting fileSetting -> applyFileSetting(fileSetting, value);
|
||||||
default -> Sputnik.LOGGER.warn(I18nUtil.fmt("sputnik.config.warn.unknownsetting",
|
default -> Sputnik.LOGGER.warn(I18nUtil.fmt("sputnik.config.warn.unknownsetting",
|
||||||
"watafac queseso: %s", setting.getClass().getSimpleName()));
|
"watafac queseso: %s", setting.getClass().getSimpleName()));
|
||||||
}
|
}
|
||||||
@@ -477,8 +478,8 @@ public class ConfigManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void applyStringSetting(StringSetting setting, Object value) {
|
private static void applyStringSetting(StringSetting setting, Object value) {
|
||||||
if (value instanceof String) {
|
if (value instanceof String v) {
|
||||||
setting.setValue((String) value);
|
setting.setValue(v);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -539,6 +540,12 @@ public class ConfigManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static void applyFileSetting(FileSetting setting, Object value) {
|
||||||
|
if (value instanceof String v) {
|
||||||
|
setting.setValue(v);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private static <T> void applyOptionalProperty(Map<?, ?> map, String key, Class<T> type, Consumer<T> setter) {
|
private static <T> void applyOptionalProperty(Map<?, ?> map, String key, Class<T> type, Consumer<T> setter) {
|
||||||
Object value = map.get(key);
|
Object value = map.get(key);
|
||||||
if (type.isInstance(value)) {
|
if (type.isInstance(value)) {
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
package me.retucio.sputnik.event.interact;
|
||||||
|
|
||||||
|
import com.github.retucio.neutrino.Event;
|
||||||
|
import net.minecraft.world.item.ItemStack;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
|
public class UpdateInventoryEvent extends Event {
|
||||||
|
|
||||||
|
private final List<ItemStack> prev;
|
||||||
|
|
||||||
|
public UpdateInventoryEvent(List<ItemStack> prev) {
|
||||||
|
this.prev = prev;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<ItemStack> getPrev() {
|
||||||
|
return prev;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
package me.retucio.sputnik.event.render;
|
||||||
|
|
||||||
|
import com.github.retucio.neutrino.Event;
|
||||||
|
import net.minecraft.client.resources.model.cuboid.ItemTransform;
|
||||||
|
|
||||||
|
|
||||||
|
public class ApplyTransformationEvent extends Event {
|
||||||
|
|
||||||
|
private final ItemTransform transformation;
|
||||||
|
private final boolean leftHanded;
|
||||||
|
|
||||||
|
public ApplyTransformationEvent(ItemTransform transformation, boolean leftHanded) {
|
||||||
|
this.transformation = transformation;
|
||||||
|
this.leftHanded = leftHanded;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ItemTransform getTransformation() {
|
||||||
|
return transformation;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isLeftHanded() {
|
||||||
|
return leftHanded;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
package me.retucio.sputnik.event.render;
|
||||||
|
|
||||||
|
import com.github.retucio.neutrino.Event;
|
||||||
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
import me.retucio.sputnik.mixinterfaces.IEntityRenderState;
|
||||||
|
import net.minecraft.client.renderer.SubmitNodeCollector;
|
||||||
|
import net.minecraft.client.renderer.entity.state.ItemEntityRenderState;
|
||||||
|
import net.minecraft.world.entity.item.ItemEntity;
|
||||||
|
|
||||||
|
public class RenderItemEntityEvent extends Event {
|
||||||
|
|
||||||
|
public final ItemEntity itemEntity;
|
||||||
|
public final ItemEntityRenderState renderState;
|
||||||
|
public final PoseStack matrixStack;
|
||||||
|
public final SubmitNodeCollector renderCommandQueue;
|
||||||
|
public final int light;
|
||||||
|
|
||||||
|
public RenderItemEntityEvent(ItemEntityRenderState renderState, PoseStack matrixStack, SubmitNodeCollector renderCommandQueue, int light) {
|
||||||
|
this.itemEntity = (ItemEntity) ((IEntityRenderState) renderState).sputnik$getEntity();
|
||||||
|
this.renderState = renderState;
|
||||||
|
this.matrixStack = matrixStack;
|
||||||
|
this.renderCommandQueue = renderCommandQueue;
|
||||||
|
this.light = light;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package me.retucio.sputnik.mixin.accessors;
|
||||||
|
|
||||||
|
import net.minecraft.client.renderer.item.ItemStackRenderState;
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.gen.Accessor;
|
||||||
|
|
||||||
|
|
||||||
|
@Mixin(ItemStackRenderState.class)
|
||||||
|
public interface ItemStackRenderStateAccessor {
|
||||||
|
|
||||||
|
@Accessor("activeLayerCount")
|
||||||
|
int getActiveLayerCount();
|
||||||
|
|
||||||
|
@Accessor("layers")
|
||||||
|
ItemStackRenderState.LayerRenderState[] getLayers();
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
package me.retucio.sputnik.mixin.accessors;
|
||||||
|
|
||||||
|
import net.minecraft.client.renderer.item.ItemStackRenderState;
|
||||||
|
import net.minecraft.client.resources.model.cuboid.ItemTransform;
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.gen.Accessor;
|
||||||
|
|
||||||
|
|
||||||
|
@Mixin(ItemStackRenderState.LayerRenderState.class)
|
||||||
|
public interface LayerRenderStateAccessor {
|
||||||
|
|
||||||
|
@Accessor("itemTransform")
|
||||||
|
ItemTransform sputnik$getTransform();
|
||||||
|
}
|
||||||
@@ -11,9 +11,7 @@ import me.retucio.sputnik.module.modules.misc.AntiInvis;
|
|||||||
import me.retucio.sputnik.module.modules.movement.BoatFly;
|
import me.retucio.sputnik.module.modules.movement.BoatFly;
|
||||||
import me.retucio.sputnik.module.modules.movement.Velocity;
|
import me.retucio.sputnik.module.modules.movement.Velocity;
|
||||||
import me.retucio.sputnik.module.modules.render.Nametags;
|
import me.retucio.sputnik.module.modules.render.Nametags;
|
||||||
import me.retucio.sputnik.util.interfaces.IVec3;
|
|
||||||
import net.minecraft.ChatFormatting;
|
import net.minecraft.ChatFormatting;
|
||||||
import net.minecraft.client.Minecraft;
|
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
import net.minecraft.world.entity.Entity;
|
import net.minecraft.world.entity.Entity;
|
||||||
import net.minecraft.world.entity.EntityType;
|
import net.minecraft.world.entity.EntityType;
|
||||||
@@ -25,8 +23,6 @@ import net.minecraft.world.entity.player.Player;
|
|||||||
import net.minecraft.world.entity.projectile.arrow.AbstractArrow;
|
import net.minecraft.world.entity.projectile.arrow.AbstractArrow;
|
||||||
import net.minecraft.world.entity.vehicle.boat.AbstractBoat;
|
import net.minecraft.world.entity.vehicle.boat.AbstractBoat;
|
||||||
import net.minecraft.world.phys.HitResult;
|
import net.minecraft.world.phys.HitResult;
|
||||||
import net.minecraft.world.phys.Vec3;
|
|
||||||
import org.joml.Vector3d;
|
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
import org.spongepowered.asm.mixin.Shadow;
|
import org.spongepowered.asm.mixin.Shadow;
|
||||||
import org.spongepowered.asm.mixin.Unique;
|
import org.spongepowered.asm.mixin.Unique;
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ import me.retucio.sputnik.event.network.ReceiveMessageEvent;
|
|||||||
import me.retucio.sputnik.module.ModuleManager;
|
import me.retucio.sputnik.module.ModuleManager;
|
||||||
import me.retucio.sputnik.module.modules.misc.ChatPlus;
|
import me.retucio.sputnik.module.modules.misc.ChatPlus;
|
||||||
|
|
||||||
import me.retucio.sputnik.util.interfaces.IChatComponent;
|
import me.retucio.sputnik.mixinterfaces.IChatComponent;
|
||||||
import me.retucio.sputnik.util.interfaces.IGuiMessage;
|
import me.retucio.sputnik.mixinterfaces.IGuiMessage;
|
||||||
import me.retucio.sputnik.util.interfaces.IGuiMessageLine;
|
import me.retucio.sputnik.mixinterfaces.IGuiMessageLine;
|
||||||
import me.retucio.sputnik.util.interfaces.IChatListener;
|
import me.retucio.sputnik.mixinterfaces.IChatListener;
|
||||||
|
|
||||||
import net.minecraft.client.gui.components.ChatComponent;
|
import net.minecraft.client.gui.components.ChatComponent;
|
||||||
import net.minecraft.client.multiplayer.chat.GuiMessage;
|
import net.minecraft.client.multiplayer.chat.GuiMessage;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package me.retucio.sputnik.mixin.mixins.hud;
|
package me.retucio.sputnik.mixin.mixins.hud;
|
||||||
|
|
||||||
import com.mojang.authlib.GameProfile;
|
import com.mojang.authlib.GameProfile;
|
||||||
import me.retucio.sputnik.util.interfaces.IGuiMessageLine;
|
import me.retucio.sputnik.mixinterfaces.IGuiMessageLine;
|
||||||
import net.minecraft.client.multiplayer.chat.GuiMessage;
|
import net.minecraft.client.multiplayer.chat.GuiMessage;
|
||||||
import net.minecraft.util.FormattedCharSequence;
|
import net.minecraft.util.FormattedCharSequence;
|
||||||
import org.spongepowered.asm.mixin.Final;
|
import org.spongepowered.asm.mixin.Final;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package me.retucio.sputnik.mixin.mixins.hud;
|
package me.retucio.sputnik.mixin.mixins.hud;
|
||||||
|
|
||||||
import com.mojang.authlib.GameProfile;
|
import com.mojang.authlib.GameProfile;
|
||||||
import me.retucio.sputnik.util.interfaces.IGuiMessage;
|
import me.retucio.sputnik.mixinterfaces.IGuiMessage;
|
||||||
import net.minecraft.client.multiplayer.chat.GuiMessage;
|
import net.minecraft.client.multiplayer.chat.GuiMessage;
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
import org.spongepowered.asm.mixin.Final;
|
import org.spongepowered.asm.mixin.Final;
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
package me.retucio.sputnik.mixin.mixins.item;
|
||||||
|
|
||||||
|
import me.retucio.sputnik.Sputnik;
|
||||||
|
import me.retucio.sputnik.event.render.RenderItemEntityEvent;
|
||||||
|
|
||||||
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
import net.minecraft.client.renderer.SubmitNodeCollector;
|
||||||
|
import net.minecraft.client.renderer.entity.ItemEntityRenderer;
|
||||||
|
import net.minecraft.client.renderer.entity.state.ItemEntityRenderState;
|
||||||
|
import net.minecraft.client.renderer.state.level.CameraRenderState;
|
||||||
|
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
|
import org.spongepowered.asm.mixin.injection.Inject;
|
||||||
|
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||||
|
|
||||||
|
|
||||||
|
@Mixin(ItemEntityRenderer.class)
|
||||||
|
public class ItemEntityRendererMixin {
|
||||||
|
|
||||||
|
@Inject(method = "submit(Lnet/minecraft/client/renderer/entity/state/ItemEntityRenderState;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/SubmitNodeCollector;Lnet/minecraft/client/renderer/state/level/CameraRenderState;)V", at = @At("HEAD"), cancellable = true)
|
||||||
|
private void onSubmit(ItemEntityRenderState state, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, CameraRenderState camera, CallbackInfo ci) {
|
||||||
|
RenderItemEntityEvent event = Sputnik.EVENT_BUS.post(
|
||||||
|
new RenderItemEntityEvent(
|
||||||
|
state,
|
||||||
|
poseStack,
|
||||||
|
submitNodeCollector,
|
||||||
|
state.lightCoords
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
if (event.isCancelled()) {
|
||||||
|
ci.cancel();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
package me.retucio.sputnik.mixin.mixins.item;
|
||||||
|
|
||||||
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
import me.retucio.sputnik.Sputnik;
|
||||||
|
import me.retucio.sputnik.event.render.ApplyTransformationEvent;
|
||||||
|
import net.minecraft.client.resources.model.cuboid.ItemTransform;
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
|
import org.spongepowered.asm.mixin.injection.Inject;
|
||||||
|
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||||
|
|
||||||
|
@Mixin(ItemTransform.class)
|
||||||
|
public abstract class ItemTransformMixin {
|
||||||
|
@Inject(method = "apply", at = @At("HEAD"), cancellable = true)
|
||||||
|
private void onApply(boolean applyLeftHandFix, PoseStack.Pose pose, CallbackInfo ci) {
|
||||||
|
ApplyTransformationEvent event = Sputnik.EVENT_BUS.post(new ApplyTransformationEvent((ItemTransform) (Object) this, applyLeftHandFix));
|
||||||
|
if (event.isCancelled()) {
|
||||||
|
ci.cancel();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -3,16 +3,14 @@ package me.retucio.sputnik.mixin.mixins.misc;
|
|||||||
import com.llamalad7.mixinextras.sugar.Local;
|
import com.llamalad7.mixinextras.sugar.Local;
|
||||||
import me.retucio.sputnik.Sputnik;
|
import me.retucio.sputnik.Sputnik;
|
||||||
import me.retucio.sputnik.event.network.JoinWorldEvent;
|
import me.retucio.sputnik.event.network.JoinWorldEvent;
|
||||||
import me.retucio.sputnik.event.interact.OpenScreenEvent;
|
|
||||||
import me.retucio.sputnik.event.ShutdownEvent;
|
import me.retucio.sputnik.event.ShutdownEvent;
|
||||||
import me.retucio.sputnik.event.TickEvent;
|
import me.retucio.sputnik.event.TickEvent;
|
||||||
import me.retucio.sputnik.event.interact.UseItemEvent;
|
import me.retucio.sputnik.event.interact.UseItemEvent;
|
||||||
import me.retucio.sputnik.module.ModuleManager;
|
import me.retucio.sputnik.module.ModuleManager;
|
||||||
import me.retucio.sputnik.module.modules.camera.Freecam;
|
import me.retucio.sputnik.module.modules.camera.Freecam;
|
||||||
import me.retucio.sputnik.module.modules.player.FastUse;
|
import me.retucio.sputnik.module.modules.player.FastUse;
|
||||||
import me.retucio.sputnik.util.interfaces.IVec3;
|
import me.retucio.sputnik.mixinterfaces.IVec3;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.screens.Screen;
|
|
||||||
import net.minecraft.client.multiplayer.ClientLevel;
|
import net.minecraft.client.multiplayer.ClientLevel;
|
||||||
import net.minecraft.world.InteractionHand;
|
import net.minecraft.world.InteractionHand;
|
||||||
import net.minecraft.world.entity.Entity;
|
import net.minecraft.world.entity.Entity;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package me.retucio.sputnik.mixin.mixins.misc;
|
package me.retucio.sputnik.mixin.mixins.misc;
|
||||||
|
|
||||||
import me.retucio.sputnik.util.interfaces.IVec3;
|
import me.retucio.sputnik.mixinterfaces.IVec3;
|
||||||
import net.minecraft.world.phys.Vec3;
|
import net.minecraft.world.phys.Vec3;
|
||||||
import org.spongepowered.asm.mixin.Final;
|
import org.spongepowered.asm.mixin.Final;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package me.retucio.sputnik.mixin.mixins.network;
|
package me.retucio.sputnik.mixin.mixins.network;
|
||||||
|
|
||||||
import com.mojang.authlib.GameProfile;
|
import com.mojang.authlib.GameProfile;
|
||||||
import me.retucio.sputnik.util.interfaces.IChatListener;
|
import me.retucio.sputnik.mixinterfaces.IChatListener;
|
||||||
import net.minecraft.client.multiplayer.chat.ChatListener;
|
import net.minecraft.client.multiplayer.chat.ChatListener;
|
||||||
import net.minecraft.network.chat.ChatType;
|
import net.minecraft.network.chat.ChatType;
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ import me.retucio.sputnik.mixin.accessors.PackConfirmScreenAccessor;
|
|||||||
import me.retucio.sputnik.mixin.accessors.PendingRequestAccessor;
|
import me.retucio.sputnik.mixin.accessors.PendingRequestAccessor;
|
||||||
import me.retucio.sputnik.module.ModuleManager;
|
import me.retucio.sputnik.module.ModuleManager;
|
||||||
import me.retucio.sputnik.module.modules.network.RPackBypass;
|
import me.retucio.sputnik.module.modules.network.RPackBypass;
|
||||||
import me.retucio.sputnik.util.interfaces.IConfirmScreen;
|
import me.retucio.sputnik.mixinterfaces.IConfirmScreen;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.screens.Screen;
|
import net.minecraft.client.gui.screens.Screen;
|
||||||
import net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl;
|
import net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl;
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
package me.retucio.sputnik.mixin.mixins.player;
|
||||||
|
|
||||||
|
import me.retucio.sputnik.Sputnik;
|
||||||
|
import me.retucio.sputnik.event.interact.UpdateInventoryEvent;
|
||||||
|
import net.minecraft.core.NonNullList;
|
||||||
|
import net.minecraft.world.entity.player.Inventory;
|
||||||
|
import net.minecraft.world.item.ItemStack;
|
||||||
|
|
||||||
|
import org.spongepowered.asm.mixin.Final;
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.Shadow;
|
||||||
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
|
import org.spongepowered.asm.mixin.injection.Inject;
|
||||||
|
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||||
|
|
||||||
|
|
||||||
|
@Mixin(Inventory.class)
|
||||||
|
public abstract class InventoryMixin {
|
||||||
|
|
||||||
|
@Shadow @Final
|
||||||
|
private NonNullList<ItemStack> items;
|
||||||
|
|
||||||
|
@Inject(method = "setChanged", at = @At("HEAD"))
|
||||||
|
private void onChange(CallbackInfo ci) {
|
||||||
|
Sputnik.EVENT_BUS.post(new UpdateInventoryEvent(items));
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
package me.retucio.sputnik.mixin.mixins.render;
|
||||||
|
|
||||||
|
import com.llamalad7.mixinextras.injector.ModifyExpressionValue;
|
||||||
|
import me.retucio.sputnik.mixinterfaces.IEntityRenderState;
|
||||||
|
import net.minecraft.client.renderer.entity.EntityRenderDispatcher;
|
||||||
|
import net.minecraft.client.renderer.entity.state.EntityRenderState;
|
||||||
|
import net.minecraft.world.entity.Entity;
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
|
|
||||||
|
|
||||||
|
@Mixin(EntityRenderDispatcher.class)
|
||||||
|
public abstract class EntityRenderDispatcherMixin {
|
||||||
|
@ModifyExpressionValue(
|
||||||
|
method = "extractEntity(Lnet/minecraft/world/entity/Entity;F)Lnet/minecraft/client/renderer/entity/state/EntityRenderState;",
|
||||||
|
at = @At(value = "INVOKE", target = "Lnet/minecraft/client/renderer/entity/EntityRenderer;createRenderState(Lnet/minecraft/world/entity/Entity;F)Lnet/minecraft/client/renderer/entity/state/EntityRenderState;")
|
||||||
|
)
|
||||||
|
private <E extends Entity> EntityRenderState getAndUpdateRenderState$setEntity(EntityRenderState state, E entity, float partialTicks) {
|
||||||
|
((IEntityRenderState) state).sputnik$setEntity(entity);
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
package me.retucio.sputnik.mixin.mixins.render;
|
||||||
|
|
||||||
|
import me.retucio.sputnik.mixinterfaces.IEntityRenderState;
|
||||||
|
import net.minecraft.client.renderer.entity.state.EntityRenderState;
|
||||||
|
import net.minecraft.world.entity.Entity;
|
||||||
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.Unique;
|
||||||
|
|
||||||
|
|
||||||
|
@Mixin(EntityRenderState.class)
|
||||||
|
public abstract class EntityRenderStateMixin implements IEntityRenderState {
|
||||||
|
@Unique
|
||||||
|
private Entity entity;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Nullable
|
||||||
|
public Entity sputnik$getEntity() {
|
||||||
|
return entity;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void sputnik$setEntity(Entity entity) {
|
||||||
|
this.entity = entity;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@ package me.retucio.sputnik.mixin.mixins.screen;
|
|||||||
|
|
||||||
import me.retucio.sputnik.module.ModuleManager;
|
import me.retucio.sputnik.module.ModuleManager;
|
||||||
import me.retucio.sputnik.module.modules.network.RPackBypass;
|
import me.retucio.sputnik.module.modules.network.RPackBypass;
|
||||||
import me.retucio.sputnik.util.interfaces.IConfirmScreen;
|
import me.retucio.sputnik.mixinterfaces.IConfirmScreen;
|
||||||
|
|
||||||
import net.minecraft.client.gui.components.Button;
|
import net.minecraft.client.gui.components.Button;
|
||||||
import net.minecraft.client.gui.layouts.LinearLayout;
|
import net.minecraft.client.gui.layouts.LinearLayout;
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package me.retucio.sputnik.util.interfaces;
|
package me.retucio.sputnik.mixinterfaces;
|
||||||
|
|
||||||
import net.minecraft.client.multiplayer.chat.GuiMessage;
|
import net.minecraft.client.multiplayer.chat.GuiMessage;
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package me.retucio.sputnik.util.interfaces;
|
package me.retucio.sputnik.mixinterfaces;
|
||||||
|
|
||||||
import com.mojang.authlib.GameProfile;
|
import com.mojang.authlib.GameProfile;
|
||||||
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package me.retucio.sputnik.util.interfaces;
|
package me.retucio.sputnik.mixinterfaces;
|
||||||
|
|
||||||
public interface IConfirmScreen {
|
public interface IConfirmScreen {
|
||||||
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
package me.retucio.sputnik.mixinterfaces;
|
||||||
|
|
||||||
|
import net.minecraft.world.entity.Entity;
|
||||||
|
import org.jspecify.annotations.Nullable;
|
||||||
|
|
||||||
|
|
||||||
|
public interface IEntityRenderState {
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
Entity sputnik$getEntity();
|
||||||
|
|
||||||
|
void sputnik$setEntity(Entity entity);
|
||||||
|
}
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package me.retucio.sputnik.util.interfaces;
|
package me.retucio.sputnik.mixinterfaces;
|
||||||
|
|
||||||
import com.mojang.authlib.GameProfile;
|
import com.mojang.authlib.GameProfile;
|
||||||
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package me.retucio.sputnik.util.interfaces;
|
package me.retucio.sputnik.mixinterfaces;
|
||||||
|
|
||||||
public interface IGuiMessageLine extends IGuiMessage {
|
public interface IGuiMessageLine extends IGuiMessage {
|
||||||
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package me.retucio.sputnik.util.interfaces;
|
package me.retucio.sputnik.mixinterfaces;
|
||||||
|
|
||||||
import net.minecraft.core.Vec3i;
|
import net.minecraft.core.Vec3i;
|
||||||
import org.joml.Vector3d;
|
import org.joml.Vector3d;
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/* code by meteorclient dev team */
|
/* code by meteorclient dev team */
|
||||||
|
|
||||||
package me.retucio.sputnik.util.interfaces;
|
package me.retucio.sputnik.mixinterfaces;
|
||||||
|
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
import net.minecraft.network.chat.Style;
|
import net.minecraft.network.chat.Style;
|
||||||
@@ -12,6 +12,7 @@ import me.retucio.sputnik.module.modules.inventory.*;
|
|||||||
import me.retucio.sputnik.module.modules.misc.*;
|
import me.retucio.sputnik.module.modules.misc.*;
|
||||||
import me.retucio.sputnik.module.modules.movement.*;
|
import me.retucio.sputnik.module.modules.movement.*;
|
||||||
import me.retucio.sputnik.module.modules.network.*;
|
import me.retucio.sputnik.module.modules.network.*;
|
||||||
|
import me.retucio.sputnik.module.modules.network.PacketLogger;
|
||||||
import me.retucio.sputnik.module.modules.player.*;
|
import me.retucio.sputnik.module.modules.player.*;
|
||||||
import me.retucio.sputnik.module.modules.render.*;
|
import me.retucio.sputnik.module.modules.render.*;
|
||||||
import me.retucio.sputnik.module.modules.render.CritsPlus;
|
import me.retucio.sputnik.module.modules.render.CritsPlus;
|
||||||
@@ -90,6 +91,7 @@ public class ModuleManager {
|
|||||||
add(new ChestplateSwitch());
|
add(new ChestplateSwitch());
|
||||||
add(new CrystalAura());
|
add(new CrystalAura());
|
||||||
add(new HoldAttack());
|
add(new HoldAttack());
|
||||||
|
add(new KillAura());
|
||||||
add(new MaceKill());
|
add(new MaceKill());
|
||||||
add(new ProjectileTrajectories());
|
add(new ProjectileTrajectories());
|
||||||
add(new SpearKill());
|
add(new SpearKill());
|
||||||
@@ -128,6 +130,7 @@ public class ModuleManager {
|
|||||||
add(new Headhitters());
|
add(new Headhitters());
|
||||||
add(new HitboxDesync());
|
add(new HitboxDesync());
|
||||||
add(new InfiniteElytra());
|
add(new InfiniteElytra());
|
||||||
|
add(new ItemMagnet());
|
||||||
add(new Jesus());
|
add(new Jesus());
|
||||||
add(new Parkour());
|
add(new Parkour());
|
||||||
add(new ReverseStep());
|
add(new ReverseStep());
|
||||||
@@ -144,6 +147,7 @@ public class ModuleManager {
|
|||||||
add(new LogoutSpots());
|
add(new LogoutSpots());
|
||||||
add(new PacketCanceller());
|
add(new PacketCanceller());
|
||||||
add(new PacketDelay());
|
add(new PacketDelay());
|
||||||
|
add(new PacketLogger());
|
||||||
add(new PacketMine());
|
add(new PacketMine());
|
||||||
add(new Reconnect());
|
add(new Reconnect());
|
||||||
add(new RPackBypass());
|
add(new RPackBypass());
|
||||||
@@ -152,6 +156,7 @@ public class ModuleManager {
|
|||||||
private void addPlayer() {
|
private void addPlayer() {
|
||||||
add(new AirPlace());
|
add(new AirPlace());
|
||||||
add(new AntiHunger());
|
add(new AntiHunger());
|
||||||
|
add(new AutoEat());
|
||||||
add(new AutoFish());
|
add(new AutoFish());
|
||||||
add(new Capes());
|
add(new Capes());
|
||||||
add(new FastUse());
|
add(new FastUse());
|
||||||
@@ -172,6 +177,7 @@ public class ModuleManager {
|
|||||||
add(new Fonts());
|
add(new Fonts());
|
||||||
add(new GlintPlus());
|
add(new GlintPlus());
|
||||||
add(new Hitboxes());
|
add(new Hitboxes());
|
||||||
|
add(new ItemPhysics());
|
||||||
add(new Lsd());
|
add(new Lsd());
|
||||||
add(new Nametags());
|
add(new Nametags());
|
||||||
add(new NoRender());
|
add(new NoRender());
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import me.retucio.sputnik.module.setting.settings.*;
|
|||||||
import me.retucio.sputnik.ui.hud.HudElement;
|
import me.retucio.sputnik.ui.hud.HudElement;
|
||||||
import me.retucio.sputnik.ui.hud.HudRenderer;
|
import me.retucio.sputnik.ui.hud.HudRenderer;
|
||||||
import me.retucio.sputnik.ui.hud.HudEditorScreen;
|
import me.retucio.sputnik.ui.hud.HudEditorScreen;
|
||||||
|
import me.retucio.sputnik.ui.hud.elements.CustomImageElement;
|
||||||
import me.retucio.sputnik.ui.hud.elements.DynoElement;
|
import me.retucio.sputnik.ui.hud.elements.DynoElement;
|
||||||
import org.lwjgl.glfw.GLFW;
|
import org.lwjgl.glfw.GLFW;
|
||||||
|
|
||||||
@@ -126,6 +127,12 @@ public class Hud extends Module {
|
|||||||
Dynosaurs.class, Dynosaurs.SPINOSAURUS
|
Dynosaurs.class, Dynosaurs.SPINOSAURUS
|
||||||
));
|
));
|
||||||
|
|
||||||
|
public FileSetting customImagePath = sgElements.add(new FileSetting(
|
||||||
|
"ruta de imagen",
|
||||||
|
"ruta de la imagen a renderizar en el elemento de imagen custom",
|
||||||
|
""
|
||||||
|
));
|
||||||
|
|
||||||
public Hud() {
|
public Hud() {
|
||||||
super("HUD",
|
super("HUD",
|
||||||
"superposición de la pantalla con info. adicional",
|
"superposición de la pantalla con info. adicional",
|
||||||
@@ -137,6 +144,11 @@ public class Hud extends Module {
|
|||||||
DynoElement element = (DynoElement) HudRenderer.INSTANCE.getElement(DynoElement.class);
|
DynoElement element = (DynoElement) HudRenderer.INSTANCE.getElement(DynoElement.class);
|
||||||
if (element != null) element.reloadTexture();
|
if (element != null) element.reloadTexture();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
customImagePath.onUpdate(v -> {
|
||||||
|
CustomImageElement element = (CustomImageElement) HudRenderer.INSTANCE.getElement(CustomImageElement.class);
|
||||||
|
if (element != null) element.reloadTexture();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum TimeFormat {
|
public enum TimeFormat {
|
||||||
|
|||||||
@@ -0,0 +1,133 @@
|
|||||||
|
package me.retucio.sputnik.module.modules.combat;
|
||||||
|
|
||||||
|
import me.retucio.sputnik.module.Category;
|
||||||
|
import me.retucio.sputnik.module.Module;
|
||||||
|
import me.retucio.sputnik.module.setting.SettingGroup;
|
||||||
|
import me.retucio.sputnik.module.setting.settings.BooleanSetting;
|
||||||
|
import me.retucio.sputnik.module.setting.settings.EnumSetting;
|
||||||
|
import me.retucio.sputnik.module.setting.settings.ListSetting;
|
||||||
|
import me.retucio.sputnik.module.setting.settings.NumberSetting;
|
||||||
|
import me.retucio.sputnik.util.Lists;
|
||||||
|
|
||||||
|
import net.minecraft.world.InteractionHand;
|
||||||
|
import net.minecraft.world.entity.Entity;
|
||||||
|
import net.minecraft.world.entity.EntityType;
|
||||||
|
|
||||||
|
|
||||||
|
public class KillAura extends Module {
|
||||||
|
|
||||||
|
private final SettingGroup sgEntities = addSg(new SettingGroup("entidades", true));
|
||||||
|
|
||||||
|
private final NumberSetting reach = sgGeneral.add(new NumberSetting(
|
||||||
|
"alcance", "qué tan lejos extender el brazo",
|
||||||
|
3.0f, 0.1f, 64.0f, 0.1f
|
||||||
|
));
|
||||||
|
|
||||||
|
private final EnumSetting<AttackMode> attackMode = sgGeneral.add(new EnumSetting<>(
|
||||||
|
"modo de ataque", "elige de qué manera atacar",
|
||||||
|
AttackMode.class, AttackMode.TIMED
|
||||||
|
));
|
||||||
|
|
||||||
|
private final NumberSetting cooldownPercentage = sgGeneral.add(new NumberSetting(
|
||||||
|
"porcentaje de cooldown", "cuánto esperar a que se llene la barrita de ataque",
|
||||||
|
100, 0, 100, 1
|
||||||
|
));
|
||||||
|
|
||||||
|
private final BooleanSetting swingHand = sgGeneral.add(new BooleanSetting(
|
||||||
|
"mover la mano", "mover la mano al atacar",
|
||||||
|
true
|
||||||
|
));
|
||||||
|
|
||||||
|
private final EnumSetting<ListMode> listMode = sgEntities.add(new EnumSetting<>(
|
||||||
|
"modo de lista", "cómo interpretar la lista",
|
||||||
|
ListMode.class, ListMode.WHITELIST
|
||||||
|
));
|
||||||
|
|
||||||
|
private final ListSetting<EntityType<? extends Entity>> whitelist = sgEntities.add(new ListSetting<>(
|
||||||
|
"entidades", "qué entidades atacar",
|
||||||
|
Lists.entityList, Lists.allFalse(Lists.entityList), Lists.entityNames
|
||||||
|
)).visibility(() -> listMode.is(ListMode.WHITELIST));
|
||||||
|
|
||||||
|
private final ListSetting<EntityType<? extends Entity>> blacklist = sgEntities.add(new ListSetting<>(
|
||||||
|
"entidades ", "qué entidades NO atacar",
|
||||||
|
Lists.entityList, Lists.allFalse(Lists.entityList), Lists.entityNames
|
||||||
|
)).visibility(() -> listMode.is(ListMode.BLACKLIST));
|
||||||
|
|
||||||
|
public KillAura() {
|
||||||
|
super("killaura", "si la violencia no funciona, es porque no has aplicado la suficiente", Category.COMBAT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onTick() {
|
||||||
|
if (mc.player == null || mc.level == null) return;
|
||||||
|
|
||||||
|
Entity target = findClosestTarget();
|
||||||
|
if (target != null) {
|
||||||
|
attack(target);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private Entity findClosestTarget() {
|
||||||
|
Entity closest = null;
|
||||||
|
double closestDistSq = reach.getValue() * reach.getValue();
|
||||||
|
|
||||||
|
for (Entity entity : mc.level.getEntities().getAll()) {
|
||||||
|
if (!shouldAttack(entity)) continue;
|
||||||
|
|
||||||
|
double distSq = entity.distanceToSqr(mc.player);
|
||||||
|
if (distSq > closestDistSq) continue;
|
||||||
|
|
||||||
|
closest = entity;
|
||||||
|
closestDistSq = distSq;
|
||||||
|
}
|
||||||
|
return closest;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void attack(Entity entity) {
|
||||||
|
if (mc.player.getAttackStrengthScale(0) < cooldownPercentage.getNormalizedValue()
|
||||||
|
&& attackMode.is(AttackMode.TIMED)
|
||||||
|
) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!mc.level.isTickingEntity(entity)) return;
|
||||||
|
|
||||||
|
if (swingHand.getValue()) {
|
||||||
|
mc.player.swing(InteractionHand.MAIN_HAND);
|
||||||
|
}
|
||||||
|
|
||||||
|
mc.gameMode.attack(mc.player, entity);
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean shouldAttack(Entity entity) {
|
||||||
|
if (entity.is(mc.player)) return false;
|
||||||
|
if (!entity.isAlive()) return false;
|
||||||
|
if (entity.distanceToSqr(mc.player) > reach.getValue() * reach.getValue()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return switch (listMode.getValue()) {
|
||||||
|
case WHITELIST -> whitelist.isEnabled(entity.getType());
|
||||||
|
case BLACKLIST -> !blacklist.isEnabled(entity.getType());
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum AttackMode {
|
||||||
|
TIMED("timeado"),
|
||||||
|
SPAM("spam");
|
||||||
|
|
||||||
|
private final String name;
|
||||||
|
AttackMode(String name) { this.name = name; }
|
||||||
|
@Override public String toString() { return name; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum ListMode {
|
||||||
|
WHITELIST("lista blanca (incluir)"),
|
||||||
|
BLACKLIST("lista negra (excluir)");
|
||||||
|
|
||||||
|
private final String name;
|
||||||
|
ListMode(String name) { this.name = name; }
|
||||||
|
@Override public String toString() { return name; }
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -15,9 +15,9 @@ import me.retucio.sputnik.module.setting.SettingGroup;
|
|||||||
import me.retucio.sputnik.module.setting.settings.BooleanSetting;
|
import me.retucio.sputnik.module.setting.settings.BooleanSetting;
|
||||||
import me.retucio.sputnik.module.setting.settings.NumberSetting;
|
import me.retucio.sputnik.module.setting.settings.NumberSetting;
|
||||||
import me.retucio.sputnik.util.ChatUtil;
|
import me.retucio.sputnik.util.ChatUtil;
|
||||||
import me.retucio.sputnik.util.interfaces.IGuiMessage;
|
import me.retucio.sputnik.mixinterfaces.IGuiMessage;
|
||||||
import me.retucio.sputnik.util.interfaces.IGuiMessageLine;
|
import me.retucio.sputnik.mixinterfaces.IGuiMessageLine;
|
||||||
import me.retucio.sputnik.util.interfaces.TextVisitor;
|
import me.retucio.sputnik.mixinterfaces.TextVisitor;
|
||||||
import net.minecraft.ChatFormatting;
|
import net.minecraft.ChatFormatting;
|
||||||
import net.minecraft.client.gui.GuiGraphicsExtractor;
|
import net.minecraft.client.gui.GuiGraphicsExtractor;
|
||||||
import net.minecraft.client.gui.components.PlayerFaceExtractor;
|
import net.minecraft.client.gui.components.PlayerFaceExtractor;
|
||||||
|
|||||||
@@ -0,0 +1,122 @@
|
|||||||
|
package me.retucio.sputnik.module.modules.movement;
|
||||||
|
|
||||||
|
import com.github.retucio.neutrino.EventListener;
|
||||||
|
import me.retucio.sputnik.event.interact.UpdateInventoryEvent;
|
||||||
|
import me.retucio.sputnik.module.Category;
|
||||||
|
import me.retucio.sputnik.module.Module;
|
||||||
|
import me.retucio.sputnik.module.setting.settings.NumberSetting;
|
||||||
|
import me.retucio.sputnik.util.InventoryUtil;
|
||||||
|
|
||||||
|
import net.minecraft.network.protocol.game.ServerboundMovePlayerPacket;
|
||||||
|
import net.minecraft.world.entity.Entity;
|
||||||
|
import net.minecraft.world.entity.item.ItemEntity;
|
||||||
|
import net.minecraft.world.phys.AABB;
|
||||||
|
import net.minecraft.world.phys.Vec3;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
|
public class ItemMagnet extends Module {
|
||||||
|
|
||||||
|
private final NumberSetting range = sgGeneral.add(new NumberSetting(
|
||||||
|
"rango", "rango de recogida de items",
|
||||||
|
6, 1, 32, 0.5f
|
||||||
|
));
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
private ItemEntity current = null;
|
||||||
|
|
||||||
|
private AABB box = null;
|
||||||
|
|
||||||
|
private final List<ItemEntity> cannotPickUp = new ArrayList<>();
|
||||||
|
|
||||||
|
private int cooldown = 0;
|
||||||
|
|
||||||
|
public ItemMagnet() {
|
||||||
|
super("imán de items", "recoge items distantes rápidamente mediante paquetes de movimiento", Category.MOVEMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onEnable() {
|
||||||
|
current = null;
|
||||||
|
cooldown = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onDisable() {
|
||||||
|
current = null;
|
||||||
|
cooldown = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onTick() {
|
||||||
|
if (mc.player == null || mc.level == null || mc.getConnection() == null) return;
|
||||||
|
|
||||||
|
if (current != null && !current.isAlive()) {
|
||||||
|
current = null;
|
||||||
|
cooldown = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (current != null) {
|
||||||
|
box = mc.player.getVehicle() == null
|
||||||
|
? mc.player.getBoundingBox()
|
||||||
|
: mc.player.getVehicle().getBoundingBox().minmax(mc.player.getBoundingBox()).inflate(1.0, 0, 1.0);
|
||||||
|
|
||||||
|
if (!box.intersects(current.getBoundingBox())) {
|
||||||
|
if (cooldown > 0) {
|
||||||
|
cooldown--;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Vec3 realPos = mc.player.position();
|
||||||
|
|
||||||
|
// tparse al item
|
||||||
|
mc.getConnection().send(new ServerboundMovePlayerPacket.Pos(
|
||||||
|
current.getX(), current.getY(), current.getZ(),
|
||||||
|
mc.player.onGround(),
|
||||||
|
mc.player.horizontalCollision
|
||||||
|
));
|
||||||
|
|
||||||
|
// para evitar desync
|
||||||
|
mc.getConnection().send(new ServerboundMovePlayerPacket.Pos(
|
||||||
|
realPos.x, realPos.y, realPos.z,
|
||||||
|
mc.player.onGround(),
|
||||||
|
mc.player.horizontalCollision
|
||||||
|
));
|
||||||
|
|
||||||
|
// pequeño margen antes de reintentar con el mismo ítem
|
||||||
|
cooldown = 2;
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (Entity entity : mc.level.getEntities().getAll()) {
|
||||||
|
if (entity.is(mc.player)) continue;
|
||||||
|
if (entity.distanceToSqr(mc.player) > range.getFloatValue() * range.getFloatValue()) continue;
|
||||||
|
|
||||||
|
if (entity instanceof ItemEntity item) {
|
||||||
|
if (cannotPickUp.contains(item)) continue;
|
||||||
|
|
||||||
|
if (InventoryUtil.findSlot(stack -> stack.is(item.getItem().getItem()) && stack.getCount() < stack.getMaxStackSize()) == -1
|
||||||
|
&& mc.player.getInventory().getFreeSlot() == -1
|
||||||
|
) {
|
||||||
|
cannotPickUp.add(item);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
current = item;
|
||||||
|
cooldown = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventListener
|
||||||
|
private void onInventoryChange(UpdateInventoryEvent event) {
|
||||||
|
cannotPickUp.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -228,8 +228,12 @@ public class Scaffold extends Module {
|
|||||||
|
|
||||||
// seleccionar nivel Y
|
// seleccionar nivel Y
|
||||||
double y;
|
double y;
|
||||||
if (mjBridge.getValue() && mjY != null && isMoving()) {
|
if (mjBridge.getValue()) {
|
||||||
y = mjY;
|
if (mjY == null || !isMoving()) {
|
||||||
|
// no moving (or not yet initialized): keep mjY synced to the real ground level
|
||||||
|
mjY = (int) Math.floor(pos.y - 0.5);
|
||||||
|
}
|
||||||
|
y = isMoving() ? mjY : (pos.y - 0.5);
|
||||||
} else {
|
} else {
|
||||||
y = pos.y - 0.5;
|
y = pos.y - 0.5;
|
||||||
}
|
}
|
||||||
@@ -294,14 +298,6 @@ public class Scaffold extends Module {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventListener
|
|
||||||
private void onPlaceBlock(PlaceBlockEvent event) {
|
|
||||||
// guardar último valor Y para el mj bridge
|
|
||||||
if (mjBridge.getValue()) {
|
|
||||||
mjY = event.getResult().getBlockPos().getY();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@EventListener
|
@EventListener
|
||||||
private void onSneak(SneakEvent event) {
|
private void onSneak(SneakEvent event) {
|
||||||
// no agacharse
|
// no agacharse
|
||||||
@@ -377,7 +373,7 @@ public class Scaffold extends Module {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean isMoving() {
|
private boolean isMoving() {
|
||||||
return mc.player.zza != 0
|
return mc.player.zza != 0
|
||||||
|| mc.player.xxa != 0;
|
|| mc.player.xxa != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,12 +14,12 @@ import org.jspecify.annotations.NonNull;
|
|||||||
public class PacketCanceller extends Module {
|
public class PacketCanceller extends Module {
|
||||||
|
|
||||||
private final ListSetting<PacketType<? extends @NonNull Packet<?>>> c2s = sgGeneral.add(new ListSetting(
|
private final ListSetting<PacketType<? extends @NonNull Packet<?>>> c2s = sgGeneral.add(new ListSetting(
|
||||||
"cliente > servidor", "paquetes a cancelar, dirección servidor",
|
"C2S", "paquetes a cancelar, dirección servidor",
|
||||||
Lists.c2sPacketList, Lists.allFalse(Lists.c2sPacketList), Lists.c2sPacketNames
|
Lists.c2sPacketList, Lists.allFalse(Lists.c2sPacketList), Lists.c2sPacketNames
|
||||||
));
|
));
|
||||||
|
|
||||||
private final ListSetting<PacketType<? extends @NonNull Packet<?>>> s2c = sgGeneral.add(new ListSetting(
|
private final ListSetting<PacketType<? extends @NonNull Packet<?>>> s2c = sgGeneral.add(new ListSetting(
|
||||||
"servidor > cliente", "paquetes a cancelar, dirección cliente",
|
"S2C", "paquetes a cancelar, dirección cliente",
|
||||||
Lists.s2cPacketList, Lists.allFalse(Lists.s2cPacketList), Lists.s2cPacketNames
|
Lists.s2cPacketList, Lists.allFalse(Lists.s2cPacketList), Lists.s2cPacketNames
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,212 @@
|
|||||||
|
package me.retucio.sputnik.module.modules.network;
|
||||||
|
|
||||||
|
import com.github.retucio.neutrino.EventListener;
|
||||||
|
import me.retucio.sputnik.event.network.PacketEvent;
|
||||||
|
import me.retucio.sputnik.module.Category;
|
||||||
|
import me.retucio.sputnik.module.Module;
|
||||||
|
import me.retucio.sputnik.module.setting.settings.EnumSetting;
|
||||||
|
import me.retucio.sputnik.module.setting.settings.FileSetting;
|
||||||
|
import me.retucio.sputnik.module.setting.settings.ListSetting;
|
||||||
|
import me.retucio.sputnik.ui.hud.HudRenderer;
|
||||||
|
import me.retucio.sputnik.util.ChatUtil;
|
||||||
|
import me.retucio.sputnik.util.Lists;
|
||||||
|
import net.minecraft.client.Minecraft;
|
||||||
|
import net.minecraft.network.protocol.Packet;
|
||||||
|
import net.minecraft.network.protocol.PacketType;
|
||||||
|
|
||||||
|
import java.io.BufferedWriter;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.nio.charset.StandardCharsets;
|
||||||
|
import java.nio.file.Files;
|
||||||
|
import java.nio.file.Path;
|
||||||
|
import java.nio.file.StandardOpenOption;
|
||||||
|
import java.time.Instant;
|
||||||
|
import java.time.ZoneId;
|
||||||
|
import java.time.format.DateTimeFormatter;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.concurrent.ArrayBlockingQueue;
|
||||||
|
import java.util.concurrent.BlockingQueue;
|
||||||
|
import java.util.concurrent.TimeUnit;
|
||||||
|
import java.util.concurrent.atomic.AtomicInteger;
|
||||||
|
|
||||||
|
|
||||||
|
public class PacketLogger extends Module {
|
||||||
|
|
||||||
|
private static final DateTimeFormatter TIME = DateTimeFormatter
|
||||||
|
.ofPattern("HH:mm:ss.SSS")
|
||||||
|
.withZone(ZoneId.systemDefault());
|
||||||
|
|
||||||
|
private static final int QUEUE_CAPACITY = 8192;
|
||||||
|
private static final int BATCH_SIZE = 256;
|
||||||
|
|
||||||
|
private final ListSetting<PacketType<? extends Packet<?>>> packets = sgGeneral.add(new ListSetting<>(
|
||||||
|
"paquetes", "paquetes a loguear",
|
||||||
|
Lists.packetList, Lists.allFalse(Lists.packetList), Lists.packetNames
|
||||||
|
));
|
||||||
|
|
||||||
|
private final EnumSetting<LogMode> mode = sgGeneral.add(new EnumSetting<>(
|
||||||
|
"modo de logueo", "de qué manera loguear los paquetes",
|
||||||
|
LogMode.class, LogMode.FILE
|
||||||
|
));
|
||||||
|
|
||||||
|
private final FileSetting file = sgGeneral.add(new FileSetting(
|
||||||
|
"archivo", "archivo donde loguear los paquetes",
|
||||||
|
"sputnik/packets.log"
|
||||||
|
)).visibility(() -> mode.is(LogMode.FILE));
|
||||||
|
|
||||||
|
private final BlockingQueue<String> queue = new ArrayBlockingQueue<>(QUEUE_CAPACITY);
|
||||||
|
private final AtomicInteger dropped = new AtomicInteger();
|
||||||
|
|
||||||
|
private volatile boolean running;
|
||||||
|
private volatile Thread writer;
|
||||||
|
|
||||||
|
public PacketLogger() {
|
||||||
|
super("logger de paquetes", "loguea paquetes", Category.NETWORK);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onEnable() {
|
||||||
|
startWriter();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onDisable() {
|
||||||
|
stopWriter();
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventListener
|
||||||
|
private void onPacketSend(PacketEvent.Send event) {
|
||||||
|
handle("OUT", event.getPacket());
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventListener
|
||||||
|
private void onPacketReceive(PacketEvent.Receive event) {
|
||||||
|
handle("IN", event.getPacket());
|
||||||
|
}
|
||||||
|
|
||||||
|
private void handle(String direction, Packet<?> packet) {
|
||||||
|
if (packet == null || !packets.isEnabled(packet.type())) return;
|
||||||
|
|
||||||
|
String name = nameOf(packet);
|
||||||
|
String body = describe(packet);
|
||||||
|
|
||||||
|
switch (mode.getValue()) {
|
||||||
|
case CHAT -> onGameThread(() -> ChatUtil.info("[" + direction + "] " + body));
|
||||||
|
case NOTIFICATION -> onGameThread(() -> HudRenderer.INSTANCE.pushNotification(name, body));
|
||||||
|
case FILE -> enqueue("[" + TIME.format(Instant.now()) + "] [" + direction + "] " + name + " " + body);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void onGameThread(Runnable action) {
|
||||||
|
Minecraft mc = Minecraft.getInstance();
|
||||||
|
if (mc.isSameThread()) action.run();
|
||||||
|
else mc.execute(action);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static String nameOf(Packet<?> packet) {
|
||||||
|
PacketType<?> type = packet.type();
|
||||||
|
return type.id().toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static String describe(Packet<?> packet) {
|
||||||
|
try {
|
||||||
|
return String.valueOf(packet);
|
||||||
|
} catch (Throwable t) {
|
||||||
|
return packet.getClass().getSimpleName() + " <toString failed: " + t + ">";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void enqueue(String line) {
|
||||||
|
if (!running) return;
|
||||||
|
if (!queue.offer(line)) dropped.incrementAndGet();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void startWriter() {
|
||||||
|
if (running) return;
|
||||||
|
|
||||||
|
Path path = file.getPath().toAbsolutePath();
|
||||||
|
|
||||||
|
queue.clear();
|
||||||
|
dropped.set(0);
|
||||||
|
running = true;
|
||||||
|
|
||||||
|
Thread thread = new Thread(() -> writerLoop(path), "sputnik-packet-logger");
|
||||||
|
thread.setDaemon(true);
|
||||||
|
thread.setPriority(Thread.MIN_PRIORITY);
|
||||||
|
writer = thread;
|
||||||
|
thread.start();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void stopWriter() {
|
||||||
|
if (!running) return;
|
||||||
|
running = false;
|
||||||
|
|
||||||
|
Thread thread = writer;
|
||||||
|
writer = null;
|
||||||
|
if (thread == null) return;
|
||||||
|
|
||||||
|
try {
|
||||||
|
thread.join(2000);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
Thread.currentThread().interrupt();
|
||||||
|
}
|
||||||
|
|
||||||
|
int lost = dropped.getAndSet(0);
|
||||||
|
if (lost > 0) {
|
||||||
|
onGameThread(() -> ChatUtil.warn("se descartaron " + lost + " paquetes (cola llena)"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void writerLoop(Path path) {
|
||||||
|
try {
|
||||||
|
Path parent = path.getParent();
|
||||||
|
if (parent != null) Files.createDirectories(parent);
|
||||||
|
|
||||||
|
try (BufferedWriter out = Files.newBufferedWriter(
|
||||||
|
path, StandardCharsets.UTF_8,
|
||||||
|
StandardOpenOption.CREATE, StandardOpenOption.APPEND)) {
|
||||||
|
|
||||||
|
out.write("--- sesión iniciada " + Instant.now() + " ---");
|
||||||
|
out.newLine();
|
||||||
|
out.flush();
|
||||||
|
|
||||||
|
List<String> batch = new ArrayList<>(BATCH_SIZE);
|
||||||
|
|
||||||
|
while (running || !queue.isEmpty()) {
|
||||||
|
String first = queue.poll(250, TimeUnit.MILLISECONDS);
|
||||||
|
if (first == null) continue;
|
||||||
|
|
||||||
|
batch.add(first);
|
||||||
|
queue.drainTo(batch, BATCH_SIZE - 1);
|
||||||
|
|
||||||
|
for (String line : batch) {
|
||||||
|
out.write(line);
|
||||||
|
out.newLine();
|
||||||
|
}
|
||||||
|
batch.clear();
|
||||||
|
out.flush();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
Thread.currentThread().interrupt();
|
||||||
|
} catch (IOException e) {
|
||||||
|
running = false;
|
||||||
|
queue.clear();
|
||||||
|
onGameThread(() -> {
|
||||||
|
ChatUtil.error("no se pudo escribir el log: " + e.getMessage());
|
||||||
|
toggle();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum LogMode {
|
||||||
|
CHAT("chat"),
|
||||||
|
NOTIFICATION("notis"),
|
||||||
|
FILE("archivo");
|
||||||
|
|
||||||
|
private final String name;
|
||||||
|
LogMode(String name) { this.name = name; }
|
||||||
|
@Override public String toString() { return name; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,82 @@
|
|||||||
|
package me.retucio.sputnik.module.modules.player;
|
||||||
|
|
||||||
|
import me.retucio.sputnik.module.Category;
|
||||||
|
import me.retucio.sputnik.module.Module;
|
||||||
|
import me.retucio.sputnik.module.setting.settings.NumberSetting;
|
||||||
|
import me.retucio.sputnik.util.InventoryUtil;
|
||||||
|
|
||||||
|
import net.minecraft.core.component.DataComponents;
|
||||||
|
import net.minecraft.world.entity.player.Inventory;
|
||||||
|
import net.minecraft.world.item.ItemStack;
|
||||||
|
|
||||||
|
import java.util.Comparator;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
|
public class AutoEat extends Module {
|
||||||
|
|
||||||
|
private final NumberSetting hunger = sgGeneral.add(new NumberSetting(
|
||||||
|
"hambre", "cuánta hambre es necesaria para comer (puntos de comida)",
|
||||||
|
6, 0, 19, 1
|
||||||
|
));
|
||||||
|
|
||||||
|
private boolean eating;
|
||||||
|
|
||||||
|
public AutoEat() {
|
||||||
|
super("puto gordo", "come automáticamente al tener hambre", Category.PLAYER);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onTick() {
|
||||||
|
if (mc.player == null) return;
|
||||||
|
|
||||||
|
if (eating) {
|
||||||
|
if (mc.player.getUseItemRemainingTicks() > 0) {
|
||||||
|
return;
|
||||||
|
} else {
|
||||||
|
stopEating();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (mc.player.getFoodData().getFoodLevel() <= hunger.getIntValue()) {
|
||||||
|
List<ItemStack> sorted = InventoryUtil.findAllStacks(
|
||||||
|
stack -> stack.getItem().components().get(DataComponents.FOOD) != null
|
||||||
|
);
|
||||||
|
sorted.sort(Comparator.comparingInt(stack -> stack.getItem().components().get(DataComponents.FOOD).nutrition()));
|
||||||
|
if (sorted.isEmpty()) return;
|
||||||
|
|
||||||
|
boolean inHotbar = false;
|
||||||
|
for (ItemStack stack : sorted) {
|
||||||
|
int slot = InventoryUtil.findSlot(s -> stack == s);
|
||||||
|
if (Inventory.isHotbarSlot(slot)) {
|
||||||
|
mc.player.getInventory().setSelectedSlot(slot);
|
||||||
|
inHotbar = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!inHotbar) {
|
||||||
|
int free = mc.player.getInventory().getFreeSlot();
|
||||||
|
|
||||||
|
InventoryUtil.move(InventoryUtil.findSlot(stack -> stack == sorted.getFirst()), free != -1
|
||||||
|
? free
|
||||||
|
: mc.player.getInventory().getSelectedSlot());
|
||||||
|
|
||||||
|
if (free != -1) {
|
||||||
|
mc.player.getInventory().setSelectedSlot(free);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
startEating();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void startEating() {
|
||||||
|
eating = true;
|
||||||
|
mc.options.keyUse.setDown(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void stopEating() {
|
||||||
|
eating = false;
|
||||||
|
mc.options.keyUse.setDown(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,165 @@
|
|||||||
|
package me.retucio.sputnik.module.modules.render;
|
||||||
|
|
||||||
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
import com.mojang.math.Axis;
|
||||||
|
import me.retucio.sputnik.event.render.ApplyTransformationEvent;
|
||||||
|
import me.retucio.sputnik.event.render.RenderItemEntityEvent;
|
||||||
|
import me.retucio.sputnik.mixin.accessors.ItemStackRenderStateAccessor;
|
||||||
|
import me.retucio.sputnik.mixin.accessors.LayerRenderStateAccessor;
|
||||||
|
import me.retucio.sputnik.module.Category;
|
||||||
|
import me.retucio.sputnik.module.Module;
|
||||||
|
import me.retucio.sputnik.module.setting.SettingGroup;
|
||||||
|
import me.retucio.sputnik.module.setting.settings.BooleanSetting;
|
||||||
|
import com.github.retucio.neutrino.EventListener;
|
||||||
|
import net.minecraft.client.renderer.item.ItemStackRenderState;
|
||||||
|
import net.minecraft.client.renderer.texture.OverlayTexture;
|
||||||
|
import net.minecraft.client.resources.model.cuboid.ItemTransform;
|
||||||
|
import net.minecraft.util.RandomSource;
|
||||||
|
import net.minecraft.world.entity.item.ItemEntity;
|
||||||
|
import org.joml.Vector3f;
|
||||||
|
import org.joml.Vector3fc;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class ItemPhysics extends Module {
|
||||||
|
|
||||||
|
private static final float PIXEL_SIZE = 1f / 16f;
|
||||||
|
|
||||||
|
private final BooleanSetting randomRotation = sgGeneral.add(new BooleanSetting(
|
||||||
|
"rotación aleatoria",
|
||||||
|
"añade una rotación aleatoria a cada objeto",
|
||||||
|
true
|
||||||
|
));
|
||||||
|
|
||||||
|
private final RandomSource random = RandomSource.createThreadLocalInstance();
|
||||||
|
private boolean skipTransformation;
|
||||||
|
|
||||||
|
public ItemPhysics() {
|
||||||
|
super("física de objetos", "aplica física a los objetos en el suelo", Category.RENDER);
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventListener
|
||||||
|
private void onRenderItemEntity(RenderItemEntityEvent event) {
|
||||||
|
event.cancel();
|
||||||
|
|
||||||
|
if (event.renderState.item.isEmpty() || event.itemEntity == null) return;
|
||||||
|
|
||||||
|
PoseStack matrices = event.matrixStack;
|
||||||
|
random.setSeed(event.itemEntity.getId() * 0x53505554L);
|
||||||
|
|
||||||
|
var accessor = (ItemStackRenderStateAccessor) event.renderState.item;
|
||||||
|
for (int i = 0; i < accessor.getActiveLayerCount(); i++) {
|
||||||
|
ItemStackRenderState.LayerRenderState layer = accessor.getLayers()[i];
|
||||||
|
ModelInfo info = getInfo(layer.prepareQuadList());
|
||||||
|
|
||||||
|
matrices.pushPose();
|
||||||
|
applyTransformation(matrices, ((LayerRenderStateAccessor) layer).sputnik$getTransform());
|
||||||
|
matrices.translate(0, info.offsetY, 0);
|
||||||
|
offsetInWater(matrices, event.itemEntity);
|
||||||
|
|
||||||
|
if (info.flat) {
|
||||||
|
matrices.mulPose(Axis.XP.rotationDegrees(90));
|
||||||
|
matrices.translate(0, 0, info.offsetZ);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (randomRotation.getValue()) {
|
||||||
|
var axis = Axis.YP;
|
||||||
|
var x = 0.5f; var y = 0.0f; var z = 0.5f;
|
||||||
|
|
||||||
|
if (info.flat) {
|
||||||
|
axis = Axis.ZP;
|
||||||
|
y = 0.5f; z = 0.0f;
|
||||||
|
}
|
||||||
|
|
||||||
|
float degrees = (random.nextFloat() * 2 - 1) * 90;
|
||||||
|
matrices.translate(x, y, z);
|
||||||
|
matrices.mulPose(axis.rotationDegrees(degrees));
|
||||||
|
matrices.translate(-x, -y, -z);
|
||||||
|
}
|
||||||
|
|
||||||
|
renderLayer(event, info);
|
||||||
|
matrices.popPose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventListener
|
||||||
|
private void onApplyTransformation(ApplyTransformationEvent event) {
|
||||||
|
if (skipTransformation) {
|
||||||
|
event.cancel();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void renderLayer(RenderItemEntityEvent event, ModelInfo info) {
|
||||||
|
PoseStack matrices = event.matrixStack;
|
||||||
|
skipTransformation = true;
|
||||||
|
|
||||||
|
for (int j = 0; j < event.renderState.count; j++) {
|
||||||
|
matrices.pushPose();
|
||||||
|
|
||||||
|
if (j > 0) {
|
||||||
|
float x = (random.nextFloat() * 2 - 1) * 0.25f;
|
||||||
|
float z = (random.nextFloat() * 2 - 1) * 0.25f;
|
||||||
|
translate(matrices, info, x, 0, z);
|
||||||
|
}
|
||||||
|
|
||||||
|
event.renderState.item.submit(matrices, event.renderCommandQueue, event.light, OverlayTexture.NO_OVERLAY, event.renderState.outlineColor);
|
||||||
|
matrices.popPose();
|
||||||
|
|
||||||
|
float y = Math.max(random.nextFloat() * PIXEL_SIZE, PIXEL_SIZE / 2f);
|
||||||
|
translate(matrices, info, 0, y, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
skipTransformation = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void translate(PoseStack matrices, ModelInfo info, float x, float y, float z) {
|
||||||
|
if (info.flat) {
|
||||||
|
float temp = y; y = z; z = -temp;
|
||||||
|
}
|
||||||
|
matrices.translate(x, y, z);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void applyTransformation(PoseStack matrices, ItemTransform transform) {
|
||||||
|
transform = new ItemTransform(
|
||||||
|
transform.rotation(),
|
||||||
|
new Vector3f(transform.translation().x(), 0, transform.translation().z()),
|
||||||
|
transform.scale()
|
||||||
|
);
|
||||||
|
transform.apply(false, matrices.last());
|
||||||
|
}
|
||||||
|
|
||||||
|
private void offsetInWater(PoseStack matrices, ItemEntity entity) {
|
||||||
|
if (entity.isInWater()) {
|
||||||
|
matrices.translate(0, 0.333f, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private ModelInfo getInfo(List<net.minecraft.client.resources.model.geometry.BakedQuad> quads) {
|
||||||
|
float minX = Float.MAX_VALUE, maxX = Float.MIN_VALUE;
|
||||||
|
float minY = Float.MAX_VALUE, maxY = Float.MIN_VALUE;
|
||||||
|
float minZ = Float.MAX_VALUE, maxZ = Float.MIN_VALUE;
|
||||||
|
|
||||||
|
for (var quad : quads) {
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
Vector3fc vec = quad.position(i);
|
||||||
|
minY = Math.min(minY, vec.y()); maxY = Math.max(maxY, vec.y());
|
||||||
|
minZ = Math.min(minZ, vec.z()); maxZ = Math.max(maxZ, vec.z());
|
||||||
|
minX = Math.min(minX, vec.x()); maxX = Math.max(maxX, vec.x());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (minX == Float.MAX_VALUE) minX = 0;
|
||||||
|
if (minY == Float.MAX_VALUE) minY = 0;
|
||||||
|
if (minZ == Float.MAX_VALUE) minZ = 0;
|
||||||
|
if (maxX == Float.MIN_VALUE) maxX = 1;
|
||||||
|
if (maxY == Float.MIN_VALUE) maxY = 1;
|
||||||
|
if (maxZ == Float.MIN_VALUE) maxZ = 1;
|
||||||
|
|
||||||
|
float x = maxX - minX, y = maxY - minY, z = maxZ - minZ;
|
||||||
|
boolean flat = (x > PIXEL_SIZE && y > PIXEL_SIZE && z <= PIXEL_SIZE);
|
||||||
|
|
||||||
|
return new ModelInfo(flat, 0.5f - minY, -maxZ);
|
||||||
|
}
|
||||||
|
|
||||||
|
private record ModelInfo(boolean flat, float offsetY, float offsetZ) {}
|
||||||
|
}
|
||||||
@@ -6,12 +6,14 @@ import me.retucio.sputnik.event.input.MouseClickEvent;
|
|||||||
import me.retucio.sputnik.module.Category;
|
import me.retucio.sputnik.module.Category;
|
||||||
import me.retucio.sputnik.module.Module;
|
import me.retucio.sputnik.module.Module;
|
||||||
import me.retucio.sputnik.module.setting.settings.BooleanSetting;
|
import me.retucio.sputnik.module.setting.settings.BooleanSetting;
|
||||||
|
import me.retucio.sputnik.module.setting.settings.EnumSetting;
|
||||||
import me.retucio.sputnik.module.setting.settings.NumberSetting;
|
import me.retucio.sputnik.module.setting.settings.NumberSetting;
|
||||||
import me.retucio.sputnik.util.InventoryUtil;
|
import me.retucio.sputnik.util.InventoryUtil;
|
||||||
import me.retucio.sputnik.util.KeyUtil;
|
import me.retucio.sputnik.util.KeyUtil;
|
||||||
import me.retucio.sputnik.util.MiscUtil;
|
import me.retucio.sputnik.util.MiscUtil;
|
||||||
|
|
||||||
import net.minecraft.core.component.DataComponents;
|
import net.minecraft.core.component.DataComponents;
|
||||||
|
import net.minecraft.world.entity.player.Inventory;
|
||||||
import net.minecraft.world.item.ItemStack;
|
import net.minecraft.world.item.ItemStack;
|
||||||
import net.minecraft.world.item.component.Tool;
|
import net.minecraft.world.item.component.Tool;
|
||||||
import net.minecraft.world.level.block.state.BlockState;
|
import net.minecraft.world.level.block.state.BlockState;
|
||||||
@@ -26,6 +28,11 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class AutoTool extends Module {
|
public class AutoTool extends Module {
|
||||||
|
|
||||||
|
private final EnumSetting<AutoToolMode> mode = sgGeneral.add(new EnumSetting<>(
|
||||||
|
"modo", "de qué manera ejecutar el módulo",
|
||||||
|
AutoToolMode.class, AutoToolMode.ON_CLICK
|
||||||
|
));
|
||||||
|
|
||||||
private final NumberSetting delaySetting = sgGeneral.add(new NumberSetting(
|
private final NumberSetting delaySetting = sgGeneral.add(new NumberSetting(
|
||||||
"delay",
|
"delay",
|
||||||
"delay al cambiar de herramienta",
|
"delay al cambiar de herramienta",
|
||||||
@@ -86,6 +93,11 @@ public class AutoTool extends Module {
|
|||||||
@Override
|
@Override
|
||||||
public void onTick() {
|
public void onTick() {
|
||||||
if (mc.player == null) return;
|
if (mc.player == null) return;
|
||||||
|
if (mc.gui.screen() != null) return;
|
||||||
|
|
||||||
|
if (mode.is(AutoToolMode.ON_TICK) && mc.options.keyAttack.isDown()) {
|
||||||
|
handle(KeyUtil.getKey(mc.options.keyAttack), GLFW.GLFW_PRESS);
|
||||||
|
}
|
||||||
|
|
||||||
if (startedMining && delaySetting.getIntValue() > 0) {
|
if (startedMining && delaySetting.getIntValue() > 0) {
|
||||||
delay++;
|
delay++;
|
||||||
@@ -165,10 +177,12 @@ public class AutoTool extends Module {
|
|||||||
BlockState state = mc.level.getBlockState(bhr.getBlockPos());
|
BlockState state = mc.level.getBlockState(bhr.getBlockPos());
|
||||||
|
|
||||||
List<ItemStack> tools = InventoryUtil.findAllStacks(stack -> stack.has(DataComponents.TOOL));
|
List<ItemStack> tools = InventoryUtil.findAllStacks(stack -> stack.has(DataComponents.TOOL));
|
||||||
if (tools.isEmpty()) return;
|
|
||||||
|
|
||||||
Map<Float, ItemStack> speeds = new HashMap<>();
|
Map<Float, ItemStack> speeds = new HashMap<>();
|
||||||
for (ItemStack tool : tools) {
|
for (ItemStack tool : tools) {
|
||||||
|
int slot = mc.player.getInventory().findSlotMatchingItem(tool);
|
||||||
|
if (!Inventory.isHotbarSlot(slot)) continue; // skip anything outside the hotbar
|
||||||
|
|
||||||
Tool toolComponent = tool.get(DataComponents.TOOL);
|
Tool toolComponent = tool.get(DataComponents.TOOL);
|
||||||
if (toolComponent != null) {
|
if (toolComponent != null) {
|
||||||
speeds.put(toolComponent.getMiningSpeed(state), tool);
|
speeds.put(toolComponent.getMiningSpeed(state), tool);
|
||||||
@@ -193,4 +207,13 @@ public class AutoTool extends Module {
|
|||||||
finishedMining = false;
|
finishedMining = false;
|
||||||
switchBackDelay = 0;
|
switchBackDelay = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private enum AutoToolMode {
|
||||||
|
ON_TICK("cada tick"),
|
||||||
|
ON_CLICK("cada click");
|
||||||
|
|
||||||
|
private final String name;
|
||||||
|
AutoToolMode(String name) { this.name = name; }
|
||||||
|
@Override public String toString() { return name; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -143,7 +143,8 @@ public abstract class Setting<T> {
|
|||||||
|
|
||||||
public void fireUpdateEvent() {
|
public void fireUpdateEvent() {
|
||||||
Sputnik.EVENT_BUS.post(
|
Sputnik.EVENT_BUS.post(
|
||||||
new UpdateSettingEvent(this, getModule().shouldSaveSettings()));
|
new UpdateSettingEvent(this, getModule().shouldSaveSettings())
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onUpdate(Consumer<T> listener) {
|
public void onUpdate(Consumer<T> listener) {
|
||||||
|
|||||||
@@ -0,0 +1,75 @@
|
|||||||
|
package me.retucio.sputnik.module.setting.settings;
|
||||||
|
|
||||||
|
import me.retucio.sputnik.module.setting.Setting;
|
||||||
|
import me.retucio.sputnik.util.ChatUtil;
|
||||||
|
import me.retucio.sputnik.util.I18nUtil;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
import java.nio.file.Path;
|
||||||
|
import java.nio.file.Paths;
|
||||||
|
|
||||||
|
|
||||||
|
public class FileSetting extends Setting<String> {
|
||||||
|
|
||||||
|
private File file;
|
||||||
|
|
||||||
|
public FileSetting(String name, String description, String defaultValue) {
|
||||||
|
super(name, description, defaultValue);
|
||||||
|
file = new File(defaultValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isDirectory() {
|
||||||
|
return file.isDirectory();
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean exists() {
|
||||||
|
return file.exists();
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean canWrite() {
|
||||||
|
return file.canWrite();
|
||||||
|
}
|
||||||
|
|
||||||
|
public File getFile() {
|
||||||
|
return file;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFilename() {
|
||||||
|
return file.getName();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Path getPath() {
|
||||||
|
return Path.of(file.getPath());
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAbsPathStr() {
|
||||||
|
return file.getAbsolutePath();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRelPathStr() {
|
||||||
|
return file.getPath();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setValue(String value) {
|
||||||
|
super.setValue(value);
|
||||||
|
file = new File(value);
|
||||||
|
if (!exists()) {
|
||||||
|
ChatUtil.error(I18nUtil.fmt(
|
||||||
|
"sputnik.filesetting.doesnotexist",
|
||||||
|
"el archivo \"%s\" no existe!".formatted(value),
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!canWrite()) {
|
||||||
|
if (!exists()) {
|
||||||
|
ChatUtil.warn(I18nUtil.fmt(
|
||||||
|
"sputnik.filesetting.cannotwrite",
|
||||||
|
"no se puede escribir a \"%s\"!".formatted(value),
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -88,9 +88,7 @@ public class OptionSetting<T> extends Setting<T> {
|
|||||||
return displayNames;
|
return displayNames;
|
||||||
}
|
}
|
||||||
|
|
||||||
// OJO: nombre interno de la opción, o sea la clave de la config. (ver ClientConfig
|
// no traducir.
|
||||||
// #onUpdateSetting). igual que en ListSetting, para las listas del juego es la clave
|
|
||||||
// de traducción. no traducir
|
|
||||||
public String getConfigName(T key) {
|
public String getConfigName(T key) {
|
||||||
if (displayNames != null && displayNames.containsKey(key)) return displayNames.get(key);
|
if (displayNames != null && displayNames.containsKey(key)) return displayNames.get(key);
|
||||||
return key != null ? key.toString() : "?";
|
return key != null ? key.toString() : "?";
|
||||||
|
|||||||
@@ -44,11 +44,13 @@ public class HudRenderer {
|
|||||||
addElement(new RotationElement(), positions, visibilities);
|
addElement(new RotationElement(), positions, visibilities);
|
||||||
addElement(new TimeElement(), positions, visibilities);
|
addElement(new TimeElement(), positions, visibilities);
|
||||||
addElement(new UptimeElement(), positions, visibilities);
|
addElement(new UptimeElement(), positions, visibilities);
|
||||||
|
addElement(new SpeedElement(), positions, visibilities);
|
||||||
|
|
||||||
addElement(new DynoElement(), positions, visibilities);
|
addElement(new DynoElement(), positions, visibilities);
|
||||||
addElement(new EchestElement(), positions, visibilities);
|
addElement(new EchestElement(), positions, visibilities);
|
||||||
addElement(new TotemsElement(), positions, visibilities);
|
addElement(new TotemsElement(), positions, visibilities);
|
||||||
addElement(new ArmorElement(), positions, visibilities);
|
addElement(new ArmorElement(), positions, visibilities);
|
||||||
|
addElement(new CustomImageElement(), positions, visibilities);
|
||||||
|
|
||||||
HudEditor.INSTANCE.setElements(elements);
|
HudEditor.INSTANCE.setElements(elements);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package me.retucio.sputnik.ui.hud;
|
|||||||
import com.mojang.blaze3d.platform.NativeImage;
|
import com.mojang.blaze3d.platform.NativeImage;
|
||||||
import me.retucio.sputnik.Sputnik;
|
import me.retucio.sputnik.Sputnik;
|
||||||
import me.retucio.sputnik.module.modules.client.Hud;
|
import me.retucio.sputnik.module.modules.client.Hud;
|
||||||
|
import me.retucio.sputnik.util.ChatUtil;
|
||||||
import me.retucio.sputnik.util.Colors;
|
import me.retucio.sputnik.util.Colors;
|
||||||
import net.minecraft.client.gui.GuiGraphicsExtractor;
|
import net.minecraft.client.gui.GuiGraphicsExtractor;
|
||||||
import net.minecraft.client.renderer.RenderPipelines;
|
import net.minecraft.client.renderer.RenderPipelines;
|
||||||
@@ -35,7 +36,9 @@ public abstract class ImageHudElement extends HudElement {
|
|||||||
public void reloadTexture() {
|
public void reloadTexture() {
|
||||||
textureLoaded = false;
|
textureLoaded = false;
|
||||||
String imagePath = getImagePath();
|
String imagePath = getImagePath();
|
||||||
if (imagePath == null || imagePath.isEmpty()) return;
|
if (imagePath == null || imagePath.isEmpty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// cargar
|
// cargar
|
||||||
@@ -65,12 +68,18 @@ public abstract class ImageHudElement extends HudElement {
|
|||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Sputnik.LOGGER.error(Component.translatable("sputnik.hud.error.texture", getId(), e.getMessage()).getString());
|
Sputnik.LOGGER.error(Component.translatable("sputnik.hud.error.texture", getId(), e.getMessage()).getString());
|
||||||
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void renderInGame(GuiGraphicsExtractor gui, float delta, Hud hud) {
|
public void renderInGame(GuiGraphicsExtractor gui, float delta, Hud hud) {
|
||||||
if (!textureLoaded || !isVisible()) return;
|
if (getImagePath() == null || getImagePath().isEmpty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (!textureLoaded || !isVisible()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
gui.blit(
|
gui.blit(
|
||||||
RenderPipelines.GUI_TEXTURED,
|
RenderPipelines.GUI_TEXTURED,
|
||||||
|
|||||||
@@ -0,0 +1,84 @@
|
|||||||
|
package me.retucio.sputnik.ui.hud.elements;
|
||||||
|
|
||||||
|
import me.retucio.sputnik.Sputnik;
|
||||||
|
import me.retucio.sputnik.module.ModuleManager;
|
||||||
|
import me.retucio.sputnik.module.modules.client.Hud;
|
||||||
|
import me.retucio.sputnik.ui.hud.ImageHudElement;
|
||||||
|
|
||||||
|
import com.mojang.blaze3d.platform.NativeImage;
|
||||||
|
import net.minecraft.client.renderer.texture.DynamicTexture;
|
||||||
|
import net.minecraft.network.chat.Component;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
import java.io.FileInputStream;
|
||||||
|
import java.io.InputStream;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
|
|
||||||
|
public class CustomImageElement extends ImageHudElement {
|
||||||
|
|
||||||
|
public CustomImageElement() {
|
||||||
|
super("customimage", 200, 200);
|
||||||
|
reloadTexture();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected String getImagePath() {
|
||||||
|
Hud hud = ModuleManager.INSTANCE.getModuleByClass(Hud.class);
|
||||||
|
if (hud != null && hud.customImagePath != null && !hud.customImagePath.getValue().isEmpty()) {
|
||||||
|
return hud.customImagePath.getValue();
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void reloadTexture() {
|
||||||
|
textureLoaded = false;
|
||||||
|
String imagePath = getImagePath();
|
||||||
|
if (imagePath == null || imagePath.isEmpty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
File file = new File(imagePath);
|
||||||
|
if (!file.exists() || !file.isFile()) {
|
||||||
|
Sputnik.LOGGER.error(Component.translatable(
|
||||||
|
"sputnik.hud.error.texture", getId(), "file not found: " + imagePath).getString()
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
try (InputStream stream = new FileInputStream(file)) {
|
||||||
|
NativeImage image = NativeImage.read(stream);
|
||||||
|
|
||||||
|
if (texture != null) texture.close();
|
||||||
|
mc.getTextureManager().getTexture(textureId);
|
||||||
|
mc.getTextureManager().release(textureId);
|
||||||
|
|
||||||
|
Supplier<String> nameSupplier = () -> textureId.toString();
|
||||||
|
texture = new DynamicTexture(nameSupplier, image);
|
||||||
|
|
||||||
|
this.imageWidth = image.getWidth();
|
||||||
|
this.imageHeight = image.getHeight();
|
||||||
|
this.w = imageWidth;
|
||||||
|
this.h = imageHeight;
|
||||||
|
|
||||||
|
mc.getTextureManager().register(textureId, texture);
|
||||||
|
textureLoaded = true;
|
||||||
|
|
||||||
|
Sputnik.LOGGER.info(Component.translatable("sputnik.hud.info.textureloaded", getId()).getString());
|
||||||
|
} catch (Exception e) {
|
||||||
|
Sputnik.LOGGER.error(Component.translatable(
|
||||||
|
"sputnik.hud.error.texture", getId(), e.getMessage()).getString()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Component> getTooltip() {
|
||||||
|
return List.of(
|
||||||
|
Component.translatable("sputnik.hud.element.customimage.name"),
|
||||||
|
Component.translatable("sputnik.hud.element.customimage.desc")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -23,8 +23,9 @@ public class CustomTextElement extends TextHudElement {
|
|||||||
@Override
|
@Override
|
||||||
public String getPreviewText() {
|
public String getPreviewText() {
|
||||||
Hud hud = ModuleManager.INSTANCE.getModuleByClass(Hud.class);
|
Hud hud = ModuleManager.INSTANCE.getModuleByClass(Hud.class);
|
||||||
if (hud != null && hud.customText != null && !hud.customText.getValue().isEmpty())
|
if (hud != null && hud.customText != null && !hud.customText.getValue().isEmpty()) {
|
||||||
return hud.customText.getValue();
|
return hud.customText.getValue();
|
||||||
|
}
|
||||||
|
|
||||||
return "texto custom";
|
return "texto custom";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
package me.retucio.sputnik.ui.hud.elements;
|
||||||
|
|
||||||
|
import me.retucio.sputnik.module.modules.client.Hud;
|
||||||
|
import me.retucio.sputnik.ui.hud.TextHudElement;
|
||||||
|
|
||||||
|
import net.minecraft.network.chat.Component;
|
||||||
|
import net.minecraft.util.Mth;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
|
public class SpeedElement extends TextHudElement {
|
||||||
|
|
||||||
|
public SpeedElement() {
|
||||||
|
super("velocidad", 0, (mc.getWindow().getGuiScaledHeight() - mc.font.lineHeight) / 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getText(float delta, Hud hud) {
|
||||||
|
if (mc.player == null) return getPreviewText();
|
||||||
|
return String.format("%.2f b/s", Mth.sqrt(
|
||||||
|
(float) (mc.player.getDeltaMovement().x() * mc.player.getDeltaMovement().x())
|
||||||
|
+ (float) (mc.player.getDeltaMovement().z() * mc.player.getDeltaMovement().z())
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getPreviewText() {
|
||||||
|
return "0 b/s";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Component> getTooltip() {
|
||||||
|
return List.of(
|
||||||
|
Component.translatable("sputnik.hud.element.speed.name"),
|
||||||
|
Component.translatable("sputnik.hud.element.speed.desc")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,152 @@
|
|||||||
|
package me.retucio.sputnik.ui.widgets.buttons.settings;
|
||||||
|
|
||||||
|
import me.retucio.sputnik.module.setting.settings.FileSetting;
|
||||||
|
import me.retucio.sputnik.ui.screen.ClickGui;
|
||||||
|
import me.retucio.sputnik.ui.widgets.buttons.SettingButton;
|
||||||
|
import me.retucio.sputnik.ui.widgets.panels.SettingsPanel;
|
||||||
|
import me.retucio.sputnik.util.Colors;
|
||||||
|
import me.retucio.sputnik.util.KeyUtil;
|
||||||
|
import me.retucio.sputnik.util.MiscUtil;
|
||||||
|
|
||||||
|
import net.minecraft.client.gui.GuiGraphicsExtractor;
|
||||||
|
import net.minecraft.client.resources.language.I18n;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
|
import org.lwjgl.glfw.GLFW;
|
||||||
|
import org.lwjgl.util.tinyfd.TinyFileDialogs;
|
||||||
|
|
||||||
|
import java.awt.*;
|
||||||
|
import java.nio.file.Path;
|
||||||
|
|
||||||
|
|
||||||
|
public class FileButton extends SettingButton<FileSetting> {
|
||||||
|
|
||||||
|
private boolean typing;
|
||||||
|
private final FileSetting setting;
|
||||||
|
private final StringBuilder buffer = new StringBuilder();
|
||||||
|
|
||||||
|
public FileButton(FileSetting setting, SettingsPanel parent, int offset) {
|
||||||
|
super(setting, parent, offset);
|
||||||
|
this.setting = setting;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void render(GuiGraphicsExtractor gui, int mouseX, int mouseY, float delta) {
|
||||||
|
// fondo
|
||||||
|
int bgColor = isHovered(mouseX, mouseY)
|
||||||
|
? Colors.buttonColor.brighter().getRGB()
|
||||||
|
: Colors.buttonColor.getRGB();
|
||||||
|
gui.fill(x, y, x + w - 20, y + h, bgColor);
|
||||||
|
|
||||||
|
// botón de navegar
|
||||||
|
int browseButtonColor = isBrowseButtonHovered(mouseX, mouseY)
|
||||||
|
? Colors.buttonColor.brighter().getRGB()
|
||||||
|
: Colors.buttonColor.getRGB();
|
||||||
|
gui.fill(x + w - 20, y, x + w, y + h, browseButtonColor);
|
||||||
|
gui.text(mc.font, "...", x + w - 20 + (20 - mc.font.width("...")) / 2, y + 3, -1, true);
|
||||||
|
|
||||||
|
// texto
|
||||||
|
String label = setting.getName() + ": " + (typing ? buffer + "_" : setting.getValue());
|
||||||
|
gui.text(mc.font, label, x + 5, y + 3, -1, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void mouseClicked(int mouseX, int mouseY, int button) {
|
||||||
|
if (isHovered(mouseX, mouseY) && ClickGui.INSTANCE.trySelect(this)) {
|
||||||
|
if (button == 0) {
|
||||||
|
typing = true;
|
||||||
|
buffer.setLength(0);
|
||||||
|
buffer.append(setting.getValue()); // precargar valor anterior
|
||||||
|
} else if (button == 1 && KeyUtil.isShiftDown()) {
|
||||||
|
typing = false;
|
||||||
|
setting.reset();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
typing = false;
|
||||||
|
if (isBrowseButtonHovered(mouseX, mouseY)) {
|
||||||
|
Path path = pickFile();
|
||||||
|
if (path != null) {
|
||||||
|
setting.setValue(path.toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onKey(int key, int action) {
|
||||||
|
if (!typing || action == GLFW.GLFW_RELEASE) return;
|
||||||
|
|
||||||
|
// pegar con ctrl + v
|
||||||
|
if (key == GLFW.GLFW_KEY_V && KeyUtil.isKeyDown(GLFW.GLFW_KEY_LEFT_CONTROL)) {
|
||||||
|
paste();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (key) { // casos para teclas especiales como enter, escape o borrar
|
||||||
|
case GLFW.GLFW_KEY_ENTER -> {
|
||||||
|
setting.setValue(buffer.toString());
|
||||||
|
typing = false;
|
||||||
|
} case GLFW.GLFW_KEY_BACKSPACE -> {
|
||||||
|
onBackspace();
|
||||||
|
} case GLFW.GLFW_KEY_ESCAPE -> {
|
||||||
|
typing = false;
|
||||||
|
} case GLFW.GLFW_KEY_SPACE -> {
|
||||||
|
charTyped(' ');
|
||||||
|
} default -> {
|
||||||
|
String c = KeyUtil.getKeyName(key);
|
||||||
|
if (c.length() == 1) {
|
||||||
|
if (KeyUtil.isShiftDown())
|
||||||
|
charTyped(KeyUtil.shiftKey(c).charAt(0));
|
||||||
|
else
|
||||||
|
charTyped(c.toLowerCase().charAt(0));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void charTyped(char c) {
|
||||||
|
if (!typing) return;
|
||||||
|
buffer.append(c);
|
||||||
|
|
||||||
|
if (mc.font.width(setting.getName() + ": " + buffer + "_") > w - 8) {
|
||||||
|
onBackspace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isFocused() {
|
||||||
|
return typing;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onBackspace() {
|
||||||
|
MiscUtil.backspace(buffer);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void paste() {
|
||||||
|
buffer.append(MiscUtil.getPasteContent(100));
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean isBrowseButtonHovered(int mx, int my) {
|
||||||
|
return mx >= x + w - 20 && mx <= x + w
|
||||||
|
&& my >= y && my <= y + h;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isHovered(int mx, int my) {
|
||||||
|
return mx > x && mx < x + w - 20
|
||||||
|
&& my > y && my <= y + h;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
public Path pickFile() {
|
||||||
|
String result = TinyFileDialogs.tinyfd_openFileDialog(
|
||||||
|
I18n.get("sputnik.filesetting.choose"),
|
||||||
|
setting.isDirectory()
|
||||||
|
? setting.getValue()
|
||||||
|
: setting.getPath().getParent().toString(),
|
||||||
|
null,
|
||||||
|
I18n.get("sputnik.filesetting.supportedfiles"),
|
||||||
|
false);
|
||||||
|
return result == null ? null : Path.of(result);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -221,6 +221,7 @@ public class SettingsPanel extends CloseablePanel<SettingButton<? extends Settin
|
|||||||
case SliderButton sliderButton -> text += ": " + sliderButton.df.format((sliderButton.getSetting()).getValue());
|
case SliderButton sliderButton -> text += ": " + sliderButton.df.format((sliderButton.getSetting()).getValue());
|
||||||
case CycleButton<?> cycleButton -> text += ": " + cycleButton.getSetting().getValue();
|
case CycleButton<?> cycleButton -> text += ": " + cycleButton.getSetting().getValue();
|
||||||
case BindButton bindButton -> text += ": " + bindButton.getSetting().getKeyName();
|
case BindButton bindButton -> text += ": " + bindButton.getSetting().getKeyName();
|
||||||
|
case FileButton fileButton -> text += ": " + fileButton.getSetting().getValue() + " ...";
|
||||||
case TextButton textButton -> text += ": " + textButton.getSetting().getValue();
|
case TextButton textButton -> text += ": " + textButton.getSetting().getValue();
|
||||||
case ColorButton colorButton -> text += colorButton.getSetting().getTooltipText();
|
case ColorButton colorButton -> text += colorButton.getSetting().getTooltipText();
|
||||||
default -> {}
|
default -> {}
|
||||||
@@ -307,6 +308,7 @@ public class SettingsPanel extends CloseablePanel<SettingButton<? extends Settin
|
|||||||
case BooleanSetting b -> new ToggleButton(b, this, offset);
|
case BooleanSetting b -> new ToggleButton(b, this, offset);
|
||||||
case NumberSetting n -> new SliderButton(n, this, offset);
|
case NumberSetting n -> new SliderButton(n, this, offset);
|
||||||
case EnumSetting<?> e -> new CycleButton<>(e, this, offset);
|
case EnumSetting<?> e -> new CycleButton<>(e, this, offset);
|
||||||
|
case FileSetting f -> new FileButton(f, this, offset);
|
||||||
case KeySetting k -> new BindButton(k, this, offset);
|
case KeySetting k -> new BindButton(k, this, offset);
|
||||||
case StringSetting s -> new TextButton(s, this, offset);
|
case StringSetting s -> new TextButton(s, this, offset);
|
||||||
case ListSetting<?> l -> new ListButton<>(l, this, offset);
|
case ListSetting<?> l -> new ListButton<>(l, this, offset);
|
||||||
|
|||||||
@@ -46,6 +46,8 @@ public class Lists {
|
|||||||
public static final List<MenuType<?>> screenList = BuiltInRegistries.MENU.stream().toList();
|
public static final List<MenuType<?>> screenList = BuiltInRegistries.MENU.stream().toList();
|
||||||
public static Map<MenuType<?>, String> screenNames;
|
public static Map<MenuType<?>, String> screenNames;
|
||||||
|
|
||||||
|
public static List<PacketType<? extends Packet<?>>> packetList = new ArrayList<>();
|
||||||
|
public static Map<PacketType<? extends @NonNull Packet<?>>, String> packetNames = new HashMap<>();
|
||||||
public static List<PacketType<? extends @NonNull Packet<?>>> c2sPacketList = new ArrayList<>();
|
public static List<PacketType<? extends @NonNull Packet<?>>> c2sPacketList = new ArrayList<>();
|
||||||
public static Map<PacketType<? extends @NonNull Packet<?>>, String> c2sPacketNames = new HashMap<>();
|
public static Map<PacketType<? extends @NonNull Packet<?>>, String> c2sPacketNames = new HashMap<>();
|
||||||
public static List<PacketType<? extends @NonNull Packet<?>>> s2cPacketList = new ArrayList<>();
|
public static List<PacketType<? extends @NonNull Packet<?>>> s2cPacketList = new ArrayList<>();
|
||||||
@@ -116,6 +118,11 @@ public class Lists {
|
|||||||
c2sPacketList.add(type);
|
c2sPacketList.add(type);
|
||||||
c2sPacketNames.put(type, type.id().toShortString());
|
c2sPacketNames.put(type, type.id().toShortString());
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
packetList.addAll(c2sPacketList);
|
||||||
|
packetList.addAll(s2cPacketList);
|
||||||
|
packetNames.putAll(c2sPacketNames);
|
||||||
|
packetNames.putAll(s2cPacketNames);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static <T> Map<T, Boolean> allTrue(List<T> options) {
|
public static <T> Map<T, Boolean> allTrue(List<T> options) {
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ public class MiscUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static <T extends Number> T getHighest(List<T> list) {
|
public static <T extends Number> T getHighest(List<T> list) {
|
||||||
|
if (list.isEmpty()) return null;
|
||||||
if (list.getFirst() == null) return null;
|
if (list.getFirst() == null) return null;
|
||||||
T maxValue = list.getFirst();
|
T maxValue = list.getFirst();
|
||||||
for (T t : list) {
|
for (T t : list) {
|
||||||
|
|||||||
@@ -41,9 +41,9 @@
|
|||||||
"sputnik.commands.macro.removed": "macro %s removed",
|
"sputnik.commands.macro.removed": "macro %s removed",
|
||||||
"sputnik.commands.panorama.desc": "creates a panorama resource pack based on your current position",
|
"sputnik.commands.panorama.desc": "creates a panorama resource pack based on your current position",
|
||||||
"sputnik.commands.panorama.errorassemble": "failed to assemble custom resource pack! does a pack of that name already exist?",
|
"sputnik.commands.panorama.errorassemble": "failed to assemble custom resource pack! does a pack of that name already exist?",
|
||||||
|
"sputnik.commands.panorama.finalizing": "finalizing resource pack...",
|
||||||
"sputnik.commands.panorama.packdesc": "generated by Sputnik",
|
"sputnik.commands.panorama.packdesc": "generated by Sputnik",
|
||||||
"sputnik.commands.panorama.ready": "resource pack ready!",
|
"sputnik.commands.panorama.ready": "resource pack ready!",
|
||||||
"sputnik.commands.panorama.finalizing": "finalizing resource pack...",
|
|
||||||
"sputnik.commands.peek.desc": "peeks at another player's inventory",
|
"sputnik.commands.peek.desc": "peeks at another player's inventory",
|
||||||
"sputnik.commands.plugins.calmdown": "calm dooowwnnn",
|
"sputnik.commands.plugins.calmdown": "calm dooowwnnn",
|
||||||
"sputnik.commands.plugins.desc": "looks for the plugins the server has",
|
"sputnik.commands.plugins.desc": "looks for the plugins the server has",
|
||||||
@@ -127,6 +127,10 @@
|
|||||||
"sputnik.enum.module.modules.client.hud.timeformat.twenty_four_hour": "24h",
|
"sputnik.enum.module.modules.client.hud.timeformat.twenty_four_hour": "24h",
|
||||||
"sputnik.enum.module.modules.combat.holdattack.attackmode.spam": "spam",
|
"sputnik.enum.module.modules.combat.holdattack.attackmode.spam": "spam",
|
||||||
"sputnik.enum.module.modules.combat.holdattack.attackmode.time": "time",
|
"sputnik.enum.module.modules.combat.holdattack.attackmode.time": "time",
|
||||||
|
"sputnik.enum.module.modules.combat.killaura.attackmode.spam": "spam",
|
||||||
|
"sputnik.enum.module.modules.combat.killaura.attackmode.timed": "time",
|
||||||
|
"sputnik.enum.module.modules.combat.killaura.listmode.blacklist": "blacklist",
|
||||||
|
"sputnik.enum.module.modules.combat.killaura.listmode.whitelist": "whitelist",
|
||||||
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.dashed": "dashed",
|
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.dashed": "dashed",
|
||||||
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.dotted": "points",
|
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.dotted": "points",
|
||||||
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.solid": "solid",
|
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.solid": "solid",
|
||||||
@@ -135,7 +139,7 @@
|
|||||||
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorytargets.entities": "entities",
|
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorytargets.entities": "entities",
|
||||||
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorytargets.none": "none",
|
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorytargets.none": "none",
|
||||||
"sputnik.enum.module.modules.misc.anvilfont.fontmode.circled": "round",
|
"sputnik.enum.module.modules.misc.anvilfont.fontmode.circled": "round",
|
||||||
"sputnik.enum.module.modules.misc.anvilfont.fontmode.cursed": "well weird",
|
"sputnik.enum.module.modules.misc.anvilfont.fontmode.cursed": "cursed",
|
||||||
"sputnik.enum.module.modules.misc.anvilfont.fontmode.greek": "greek",
|
"sputnik.enum.module.modules.misc.anvilfont.fontmode.greek": "greek",
|
||||||
"sputnik.enum.module.modules.misc.anvilfont.fontmode.normal": "normal",
|
"sputnik.enum.module.modules.misc.anvilfont.fontmode.normal": "normal",
|
||||||
"sputnik.enum.module.modules.misc.anvilfont.fontmode.uppercase": "uppercase",
|
"sputnik.enum.module.modules.misc.anvilfont.fontmode.uppercase": "uppercase",
|
||||||
@@ -152,6 +156,9 @@
|
|||||||
"sputnik.enum.module.modules.network.packetdelay.packets.all": "all",
|
"sputnik.enum.module.modules.network.packetdelay.packets.all": "all",
|
||||||
"sputnik.enum.module.modules.network.packetdelay.packets.keep_alive": "KeepAlive packets",
|
"sputnik.enum.module.modules.network.packetdelay.packets.keep_alive": "KeepAlive packets",
|
||||||
"sputnik.enum.module.modules.network.packetdelay.packets.others": "all but KeepAlive",
|
"sputnik.enum.module.modules.network.packetdelay.packets.others": "all but KeepAlive",
|
||||||
|
"sputnik.enum.module.modules.network.packetlogger.logmode.chat": "chat",
|
||||||
|
"sputnik.enum.module.modules.network.packetlogger.logmode.file": "save to file",
|
||||||
|
"sputnik.enum.module.modules.network.packetlogger.logmode.notification": "notification",
|
||||||
"sputnik.enum.module.modules.network.packetmine.clickaction.add_priority": "add priority",
|
"sputnik.enum.module.modules.network.packetmine.clickaction.add_priority": "add priority",
|
||||||
"sputnik.enum.module.modules.network.packetmine.clickaction.none": "nothing",
|
"sputnik.enum.module.modules.network.packetmine.clickaction.none": "nothing",
|
||||||
"sputnik.enum.module.modules.network.packetmine.clickaction.unselect": "unselect",
|
"sputnik.enum.module.modules.network.packetmine.clickaction.unselect": "unselect",
|
||||||
@@ -202,6 +209,8 @@
|
|||||||
"sputnik.enum.module.modules.render.norender.colors.red": "red",
|
"sputnik.enum.module.modules.render.norender.colors.red": "red",
|
||||||
"sputnik.enum.module.modules.render.norender.colors.white": "white",
|
"sputnik.enum.module.modules.render.norender.colors.white": "white",
|
||||||
"sputnik.enum.module.modules.render.norender.colors.yellow": "yellow",
|
"sputnik.enum.module.modules.render.norender.colors.yellow": "yellow",
|
||||||
|
"sputnik.enum.module.modules.world.autotool.autotoolmode.on_click": "on click",
|
||||||
|
"sputnik.enum.module.modules.world.autotool.autotoolmode.on_tick": "on tick",
|
||||||
"sputnik.enum.module.modules.world.blockinfo.copymode.command": "copy /setblock command",
|
"sputnik.enum.module.modules.world.blockinfo.copymode.command": "copy /setblock command",
|
||||||
"sputnik.enum.module.modules.world.blockinfo.copymode.dont": "don't copy",
|
"sputnik.enum.module.modules.world.blockinfo.copymode.dont": "don't copy",
|
||||||
"sputnik.enum.module.modules.world.blockinfo.copymode.json": "copy json contents",
|
"sputnik.enum.module.modules.world.blockinfo.copymode.json": "copy json contents",
|
||||||
@@ -214,6 +223,10 @@
|
|||||||
"sputnik.enum.module.modules.world.timechanger.moonphases.waning_gibbous": "waning gibbous",
|
"sputnik.enum.module.modules.world.timechanger.moonphases.waning_gibbous": "waning gibbous",
|
||||||
"sputnik.enum.module.modules.world.timechanger.moonphases.waxing_crescent": "waxing crescent",
|
"sputnik.enum.module.modules.world.timechanger.moonphases.waxing_crescent": "waxing crescent",
|
||||||
"sputnik.enum.module.modules.world.timechanger.moonphases.waxing_gibbous": "waxing gibbous",
|
"sputnik.enum.module.modules.world.timechanger.moonphases.waxing_gibbous": "waxing gibbous",
|
||||||
|
"sputnik.filesetting.cannotwrite": "cannot write to \"%s\"!",
|
||||||
|
"sputnik.filesetting.choose": "choose a file",
|
||||||
|
"sputnik.filesetting.doesnotexist": "file \"%s\" does not exist!",
|
||||||
|
"sputnik.filesetting.supportedfiles": "supported files",
|
||||||
"sputnik.group.andamios.bloques": "blocks",
|
"sputnik.group.andamios.bloques": "blocks",
|
||||||
"sputnik.group.andamios.puente": "bridge",
|
"sputnik.group.andamios.puente": "bridge",
|
||||||
"sputnik.group.andamios.renderizado": "render",
|
"sputnik.group.andamios.renderizado": "render",
|
||||||
@@ -242,6 +255,7 @@
|
|||||||
"sputnik.group.interfaz.widgets": "widgets",
|
"sputnik.group.interfaz.widgets": "widgets",
|
||||||
"sputnik.group.jesus.bloques": "blocks",
|
"sputnik.group.jesus.bloques": "blocks",
|
||||||
"sputnik.group.jkrowling.libro": "book",
|
"sputnik.group.jkrowling.libro": "book",
|
||||||
|
"sputnik.group.killaura.entidades": "entities",
|
||||||
"sputnik.group.manos.animaciones": "animations",
|
"sputnik.group.manos.animaciones": "animations",
|
||||||
"sputnik.group.manos.brazo": "arm",
|
"sputnik.group.manos.brazo": "arm",
|
||||||
"sputnik.group.manos.manoprincipal": "main hand",
|
"sputnik.group.manos.manoprincipal": "main hand",
|
||||||
@@ -286,6 +300,8 @@
|
|||||||
"sputnik.hud.editor.title": "HUD editor",
|
"sputnik.hud.editor.title": "HUD editor",
|
||||||
"sputnik.hud.element.armor.desc": "armor status",
|
"sputnik.hud.element.armor.desc": "armor status",
|
||||||
"sputnik.hud.element.coords.desc": "shows your XYZ position in the world",
|
"sputnik.hud.element.coords.desc": "shows your XYZ position in the world",
|
||||||
|
"sputnik.hud.element.customimage.desc": "an image of your choosing",
|
||||||
|
"sputnik.hud.element.customimage.name": "custom image",
|
||||||
"sputnik.hud.element.customtext.desc": "text of your choosing",
|
"sputnik.hud.element.customtext.desc": "text of your choosing",
|
||||||
"sputnik.hud.element.customtext.name": "custom text",
|
"sputnik.hud.element.customtext.name": "custom text",
|
||||||
"sputnik.hud.element.dyno.desc": "long live autism goddamn",
|
"sputnik.hud.element.dyno.desc": "long live autism goddamn",
|
||||||
@@ -298,6 +314,8 @@
|
|||||||
"sputnik.hud.element.ping.name": "ping",
|
"sputnik.hud.element.ping.name": "ping",
|
||||||
"sputnik.hud.element.rotation.desc": "shows your current rotation",
|
"sputnik.hud.element.rotation.desc": "shows your current rotation",
|
||||||
"sputnik.hud.element.rotation.name": "rotations",
|
"sputnik.hud.element.rotation.name": "rotations",
|
||||||
|
"sputnik.hud.element.speed.desc": "the player's speed",
|
||||||
|
"sputnik.hud.element.speed.name": "speed",
|
||||||
"sputnik.hud.element.time.desc": "hours and minutes in the selected timezone",
|
"sputnik.hud.element.time.desc": "hours and minutes in the selected timezone",
|
||||||
"sputnik.hud.element.time.name": "time",
|
"sputnik.hud.element.time.name": "time",
|
||||||
"sputnik.hud.element.totems.desc": "totems available",
|
"sputnik.hud.element.totems.desc": "totems available",
|
||||||
@@ -378,6 +396,8 @@
|
|||||||
"sputnik.module.bypassearpacks.name": "bypass packs",
|
"sputnik.module.bypassearpacks.name": "bypass packs",
|
||||||
"sputnik.module.camaralibre.desc": "lets the camera move independently from the player. useful for scouting around",
|
"sputnik.module.camaralibre.desc": "lets the camera move independently from the player. useful for scouting around",
|
||||||
"sputnik.module.camaralibre.name": "freecam",
|
"sputnik.module.camaralibre.name": "freecam",
|
||||||
|
"sputnik.module.canceladordepaquetes.desc": "cancels packets.",
|
||||||
|
"sputnik.module.canceladordepaquetes.name": "packet cancel",
|
||||||
"sputnik.module.capas.desc": "choose which cape to wear (only visible to you)",
|
"sputnik.module.capas.desc": "choose which cape to wear (only visible to you)",
|
||||||
"sputnik.module.capas.name": "capes",
|
"sputnik.module.capas.name": "capes",
|
||||||
"sputnik.module.capturasdepantalla.desc": "choose what to do after taking a screenshot",
|
"sputnik.module.capturasdepantalla.desc": "choose what to do after taking a screenshot",
|
||||||
@@ -395,9 +415,9 @@
|
|||||||
"sputnik.module.cocaina.desc": "changes the speed of everything in the game",
|
"sputnik.module.cocaina.desc": "changes the speed of everything in the game",
|
||||||
"sputnik.module.cocaina.name": "cocaine",
|
"sputnik.module.cocaina.name": "cocaine",
|
||||||
"sputnik.module.colocarenaire.desc": "lets you place blocks in the air",
|
"sputnik.module.colocarenaire.desc": "lets you place blocks in the air",
|
||||||
"sputnik.module.colocarenaire.name": "place in air",
|
"sputnik.module.colocarenaire.name": "airplace",
|
||||||
"sputnik.module.conejo.desc": "do the elytra bounce by holding space",
|
"sputnik.module.conejo.desc": "do the elytra bounce by holding space",
|
||||||
"sputnik.module.conejo.name": "rabbit",
|
"sputnik.module.conejo.name": "ebounce",
|
||||||
"sputnik.module.confetti.desc": "changes the color of the totem pop particles",
|
"sputnik.module.confetti.desc": "changes the color of the totem pop particles",
|
||||||
"sputnik.module.confetti.name": "confetti",
|
"sputnik.module.confetti.name": "confetti",
|
||||||
"sputnik.module.contorno.desc": "customizes the block outline",
|
"sputnik.module.contorno.desc": "customizes the block outline",
|
||||||
@@ -406,13 +426,13 @@
|
|||||||
"sputnik.module.criticos.name": "crits",
|
"sputnik.module.criticos.name": "crits",
|
||||||
"sputnik.module.delaydepaquetes.desc": "applies a delay to packets",
|
"sputnik.module.delaydepaquetes.desc": "applies a delay to packets",
|
||||||
"sputnik.module.delaydepaquetes.name": "packet delay",
|
"sputnik.module.delaydepaquetes.name": "packet delay",
|
||||||
"sputnik.module.delfin.desc": "*dolphin noise*",
|
"sputnik.module.delfin.desc": "*dolphin noises*",
|
||||||
"sputnik.module.delfin.name": "dolphin",
|
"sputnik.module.delfin.name": "dolphin",
|
||||||
"sputnik.module.destellodeenchants.desc": "changes the color of the enchantment glint",
|
"sputnik.module.destellodeenchants.desc": "changes the color of the enchantment glint",
|
||||||
"sputnik.module.destellodeenchants.name": "enchant glint",
|
"sputnik.module.destellodeenchants.name": "enchant glint",
|
||||||
"sputnik.module.desyncdehitbox.desc": "chinese exploit",
|
"sputnik.module.desyncdehitbox.desc": "chinese exploit",
|
||||||
"sputnik.module.desyncdehitbox.name": "hitbox desync",
|
"sputnik.module.desyncdehitbox.name": "hitbox desync",
|
||||||
"sputnik.module.discordrpc.desc": "customizes your activity on dishcord",
|
"sputnik.module.discordrpc.desc": "customizes your activity on dickord",
|
||||||
"sputnik.module.discordrpc.disconnected": "disconnected: %s - %s",
|
"sputnik.module.discordrpc.disconnected": "disconnected: %s - %s",
|
||||||
"sputnik.module.discordrpc.error": "error: %s - %s",
|
"sputnik.module.discordrpc.error": "error: %s - %s",
|
||||||
"sputnik.module.discordrpc.initerror": "error initializing rpc: %s",
|
"sputnik.module.discordrpc.initerror": "error initializing rpc: %s",
|
||||||
@@ -426,7 +446,7 @@
|
|||||||
"sputnik.module.dupedebundle.desc": "dupes items using a bundle and a book",
|
"sputnik.module.dupedebundle.desc": "dupes items using a bundle and a book",
|
||||||
"sputnik.module.dupedebundle.name": "bundle dupe",
|
"sputnik.module.dupedebundle.name": "bundle dupe",
|
||||||
"sputnik.module.elytras.desc": "fly with elytra",
|
"sputnik.module.elytras.desc": "fly with elytra",
|
||||||
"sputnik.module.elytras.name": "elytra",
|
"sputnik.module.elytras.name": "elytrafly",
|
||||||
"sputnik.module.escalerasveloces.desc": "climb ladders faster",
|
"sputnik.module.escalerasveloces.desc": "climb ladders faster",
|
||||||
"sputnik.module.escalerasveloces.name": "fast ladders",
|
"sputnik.module.escalerasveloces.name": "fast ladders",
|
||||||
"sputnik.module.escalones.desc": "makes the step-up height whatever you want",
|
"sputnik.module.escalones.desc": "makes the step-up height whatever you want",
|
||||||
@@ -436,6 +456,8 @@
|
|||||||
"sputnik.module.estampaescrotos.desc": "stamp other people's ballsacks",
|
"sputnik.module.estampaescrotos.desc": "stamp other people's ballsacks",
|
||||||
"sputnik.module.estampaescrotos.name": "ballsack stamper",
|
"sputnik.module.estampaescrotos.name": "ballsack stamper",
|
||||||
"sputnik.module.freecam.damagedisable": "freecam was disabled because you took damage",
|
"sputnik.module.freecam.damagedisable": "freecam was disabled because you took damage",
|
||||||
|
"sputnik.module.fisicadeobjetos.name": "item physics",
|
||||||
|
"sputnik.module.fisicadeobjetos.desc": "applies physics to dropped items",
|
||||||
"sputnik.module.friends.already": "%s is already your friend",
|
"sputnik.module.friends.already": "%s is already your friend",
|
||||||
"sputnik.module.friends.notplayer": "%s could not be added as a friend",
|
"sputnik.module.friends.notplayer": "%s could not be added as a friend",
|
||||||
"sputnik.module.fuentes.desc": "changes the font used when rendering text",
|
"sputnik.module.fuentes.desc": "changes the font used when rendering text",
|
||||||
@@ -448,6 +470,8 @@
|
|||||||
"sputnik.module.hotkeysinvcreativo.name": "creative inv. hotkeys",
|
"sputnik.module.hotkeysinvcreativo.name": "creative inv. hotkeys",
|
||||||
"sputnik.module.hud.desc": "screen overlay with extra info",
|
"sputnik.module.hud.desc": "screen overlay with extra info",
|
||||||
"sputnik.module.hud.name": "HUD",
|
"sputnik.module.hud.name": "HUD",
|
||||||
|
"sputnik.module.imandeitems.desc": "picks up distant items quickly via movement packets",
|
||||||
|
"sputnik.module.imandeitems.name": "item magnet",
|
||||||
"sputnik.module.infodebloque.desc": "shows the nbt contents of the block you're looking at",
|
"sputnik.module.infodebloque.desc": "shows the nbt contents of the block you're looking at",
|
||||||
"sputnik.module.infodebloque.name": "block info",
|
"sputnik.module.infodebloque.name": "block info",
|
||||||
"sputnik.module.interfaz.desc": "gui settings, and other miscellaneous ones",
|
"sputnik.module.interfaz.desc": "gui settings, and other miscellaneous ones",
|
||||||
@@ -463,6 +487,10 @@
|
|||||||
"sputnik.module.jugadorfalso.desc": "spawns a fake player entity for testing purposes",
|
"sputnik.module.jugadorfalso.desc": "spawns a fake player entity for testing purposes",
|
||||||
"sputnik.module.jugadorfalso.name": "fake player",
|
"sputnik.module.jugadorfalso.name": "fake player",
|
||||||
"sputnik.module.keypearl.nopearls": "you have no pearls",
|
"sputnik.module.keypearl.nopearls": "you have no pearls",
|
||||||
|
"sputnik.module.killaura.desc": "if violence doesn't work, you haven't applied enough of it.",
|
||||||
|
"sputnik.module.killaura.name": "killaura",
|
||||||
|
"sputnik.module.loggerdepaquetes.desc": "logs packets",
|
||||||
|
"sputnik.module.loggerdepaquetes.name": "packet logger",
|
||||||
"sputnik.module.lsd.desc": "what the actual FUCK",
|
"sputnik.module.lsd.desc": "what the actual FUCK",
|
||||||
"sputnik.module.lsd.name": "lsd",
|
"sputnik.module.lsd.name": "lsd",
|
||||||
"sputnik.module.macekill.oops": "oops: %s",
|
"sputnik.module.macekill.oops": "oops: %s",
|
||||||
@@ -492,8 +520,6 @@
|
|||||||
"sputnik.module.notificaciones.name": "notifications",
|
"sputnik.module.notificaciones.name": "notifications",
|
||||||
"sputnik.module.packetdelay.singleplayer": "packet delay doesn't work in singleplayer",
|
"sputnik.module.packetdelay.singleplayer": "packet delay doesn't work in singleplayer",
|
||||||
"sputnik.module.packetmine.pickbreaking": "the pickaxe is about to break",
|
"sputnik.module.packetmine.pickbreaking": "the pickaxe is about to break",
|
||||||
"sputnik.module.canceladordepaquetes.name": "packet cancel",
|
|
||||||
"sputnik.module.canceladordepaquetes.desc": "cancels packets.",
|
|
||||||
"sputnik.module.parkour.desc": "automatically jumps on the last possible tick, at the block's edge",
|
"sputnik.module.parkour.desc": "automatically jumps on the last possible tick, at the block's edge",
|
||||||
"sputnik.module.parkour.name": "parkour",
|
"sputnik.module.parkour.name": "parkour",
|
||||||
"sputnik.module.particulas.desc": "emits artificial particles",
|
"sputnik.module.particulas.desc": "emits artificial particles",
|
||||||
@@ -512,7 +538,9 @@
|
|||||||
"sputnik.module.progresodeminado.name": "mining progress",
|
"sputnik.module.progresodeminado.name": "mining progress",
|
||||||
"sputnik.module.puntosdedesconexion.desc": "shows you the spots where other players log out",
|
"sputnik.module.puntosdedesconexion.desc": "shows you the spots where other players log out",
|
||||||
"sputnik.module.puntosdedesconexion.name": "logout spots",
|
"sputnik.module.puntosdedesconexion.name": "logout spots",
|
||||||
"sputnik.module.racismo.desc": "gimme a smoke bro",
|
"sputnik.module.putogordo.desc": "automatically eats when hungry",
|
||||||
|
"sputnik.module.putogordo.name": "fatass",
|
||||||
|
"sputnik.module.racismo.desc": "detroit moment",
|
||||||
"sputnik.module.racismo.name": "racism",
|
"sputnik.module.racismo.name": "racism",
|
||||||
"sputnik.module.reconectar.desc": "adds a button to reconnect to a server after being disconnected",
|
"sputnik.module.reconectar.desc": "adds a button to reconnect to a server after being disconnected",
|
||||||
"sputnik.module.reconectar.name": "reconnect",
|
"sputnik.module.reconectar.name": "reconnect",
|
||||||
@@ -563,17 +591,17 @@
|
|||||||
"sputnik.module.tenedormagico.desc": "bro thinks he's Poseidon",
|
"sputnik.module.tenedormagico.desc": "bro thinks he's Poseidon",
|
||||||
"sputnik.module.tenedormagico.name": "magic fork",
|
"sputnik.module.tenedormagico.name": "magic fork",
|
||||||
"sputnik.module.tobillosfuertes.desc": "avoids fall damage",
|
"sputnik.module.tobillosfuertes.desc": "avoids fall damage",
|
||||||
"sputnik.module.tobillosfuertes.name": "strong ankles",
|
"sputnik.module.tobillosfuertes.name": "no fall",
|
||||||
"sputnik.module.toggled.off": "%s was disabled",
|
"sputnik.module.toggled.off": "%s was disabled",
|
||||||
"sputnik.module.toggled.on": "%s was enabled",
|
"sputnik.module.toggled.on": "%s was enabled",
|
||||||
"sputnik.module.trayectoria.desc": "shows the trajectory of projectiles",
|
"sputnik.module.trayectoria.desc": "shows the trajectory of projectiles",
|
||||||
"sputnik.module.trayectoria.name": "trajectory",
|
"sputnik.module.trayectoria.name": "trajectory",
|
||||||
"sputnik.module.trazos.desc": "draw lines from the camera to the selected entities",
|
"sputnik.module.trazos.desc": "draw lines from the camera to the selected entities",
|
||||||
"sputnik.module.trazos.name": "trails",
|
"sputnik.module.trazos.name": "tracers",
|
||||||
"sputnik.module.trianguladordestrongholds.desc": "uses fancy math to work out where the closest stronghold is",
|
"sputnik.module.trianguladordestrongholds.desc": "uses fancy math to work out where the closest stronghold is",
|
||||||
"sputnik.module.trianguladordestrongholds.name": "stronghold triangulator",
|
"sputnik.module.trianguladordestrongholds.name": "stronghold triangulator",
|
||||||
"sputnik.module.yunquesconpluma.desc": "lets you use different typefaces when renaming items in an anvil",
|
"sputnik.module.yunquesconpluma.desc": "lets you use different typefaces when renaming items in an anvil",
|
||||||
"sputnik.module.yunquesconpluma.name": "anvils with a quill",
|
"sputnik.module.yunquesconpluma.name": "faggot anvils",
|
||||||
"sputnik.module.zoom.desc": "magnifying glass",
|
"sputnik.module.zoom.desc": "magnifying glass",
|
||||||
"sputnik.module.zoom.name": "zoom",
|
"sputnik.module.zoom.name": "zoom",
|
||||||
"sputnik.profile.error.dir": "could not create the profiles directory",
|
"sputnik.profile.error.dir": "could not create the profiles directory",
|
||||||
@@ -689,6 +717,8 @@
|
|||||||
"sputnik.setting.autoherramienta.general.delay.name": "delay",
|
"sputnik.setting.autoherramienta.general.delay.name": "delay",
|
||||||
"sputnik.setting.autoherramienta.general.delaydelcambiodevuelta.desc": "delay in ticks before switching back to the original tool",
|
"sputnik.setting.autoherramienta.general.delaydelcambiodevuelta.desc": "delay in ticks before switching back to the original tool",
|
||||||
"sputnik.setting.autoherramienta.general.delaydelcambiodevuelta.name": "switch back delay",
|
"sputnik.setting.autoherramienta.general.delaydelcambiodevuelta.name": "switch back delay",
|
||||||
|
"sputnik.setting.autoherramienta.general.modo.desc": "when to check for changing tools",
|
||||||
|
"sputnik.setting.autoherramienta.general.modo.name": "mode",
|
||||||
"sputnik.setting.autopechera.general.cambiardevuelta.desc": "switch back to elytra, if they were equipped",
|
"sputnik.setting.autopechera.general.cambiardevuelta.desc": "switch back to elytra, if they were equipped",
|
||||||
"sputnik.setting.autopechera.general.cambiardevuelta.name": "switch back",
|
"sputnik.setting.autopechera.general.cambiardevuelta.name": "switch back",
|
||||||
"sputnik.setting.autopesca.general.evitarromper.desc": "avoid breaking the rod if it's about to go",
|
"sputnik.setting.autopesca.general.evitarromper.desc": "avoid breaking the rod if it's about to go",
|
||||||
@@ -743,6 +773,10 @@
|
|||||||
"sputnik.setting.camaralibre.velocidad.tecladelscroll.name": "scroll key",
|
"sputnik.setting.camaralibre.velocidad.tecladelscroll.name": "scroll key",
|
||||||
"sputnik.setting.camaralibre.velocidad.velocidad.desc": "camera movement speed",
|
"sputnik.setting.camaralibre.velocidad.velocidad.desc": "camera movement speed",
|
||||||
"sputnik.setting.camaralibre.velocidad.velocidad.name": "speed",
|
"sputnik.setting.camaralibre.velocidad.velocidad.name": "speed",
|
||||||
|
"sputnik.setting.canceladordepaquetes.general.c2s.desc": "serverbound packets to cancel",
|
||||||
|
"sputnik.setting.canceladordepaquetes.general.c2s.name": "C2S",
|
||||||
|
"sputnik.setting.canceladordepaquetes.general.s2c.desc": "clientbound packets to cancel",
|
||||||
|
"sputnik.setting.canceladordepaquetes.general.s2c.name": "S2C",
|
||||||
"sputnik.setting.capas.general.capa.desc": "which cape to wear",
|
"sputnik.setting.capas.general.capa.desc": "which cape to wear",
|
||||||
"sputnik.setting.capas.general.capa.name": "cape",
|
"sputnik.setting.capas.general.capa.name": "cape",
|
||||||
"sputnik.setting.capturasdepantalla.botones.botondeabrir.desc": "show a button to open the screenshot file",
|
"sputnik.setting.capturasdepantalla.botones.botondeabrir.desc": "show a button to open the screenshot file",
|
||||||
@@ -783,7 +817,7 @@
|
|||||||
"sputnik.setting.cielocustom.cuerposceleste.sol.name": "sun",
|
"sputnik.setting.cielocustom.cuerposceleste.sol.name": "sun",
|
||||||
"sputnik.setting.cielocustom.general.hora.desc": "in-game time",
|
"sputnik.setting.cielocustom.general.hora.desc": "in-game time",
|
||||||
"sputnik.setting.cielocustom.general.hora.name": "time",
|
"sputnik.setting.cielocustom.general.hora.name": "time",
|
||||||
"sputnik.setting.cocaina.general.multi.desc": "like in Balatro",
|
"sputnik.setting.cocaina.general.multi.desc": "is that a MOTHERFUCKING Balatro reference?!?",
|
||||||
"sputnik.setting.cocaina.general.multi.name": "multi",
|
"sputnik.setting.cocaina.general.multi.name": "multi",
|
||||||
"sputnik.setting.colocarenaire.general.colocarconnormalidad.desc": "place normally if already looking at a block in range",
|
"sputnik.setting.colocarenaire.general.colocarconnormalidad.desc": "place normally if already looking at a block in range",
|
||||||
"sputnik.setting.colocarenaire.general.colocarconnormalidad.name": "place normally",
|
"sputnik.setting.colocarenaire.general.colocarconnormalidad.name": "place normally",
|
||||||
@@ -900,6 +934,8 @@
|
|||||||
"sputnik.setting.estampaescrotos.general.maximapotencia.name": "max power",
|
"sputnik.setting.estampaescrotos.general.maximapotencia.name": "max power",
|
||||||
"sputnik.setting.estampaescrotos.general.prevenirmuerte.desc": "prevent death from fall damage if the attack was blocked, by cancelling the movement packets",
|
"sputnik.setting.estampaescrotos.general.prevenirmuerte.desc": "prevent death from fall damage if the attack was blocked, by cancelling the movement packets",
|
||||||
"sputnik.setting.estampaescrotos.general.prevenirmuerte.name": "prevent death",
|
"sputnik.setting.estampaescrotos.general.prevenirmuerte.name": "prevent death",
|
||||||
|
"sputnik.setting.fisicadeobjetos.general.rotacionaleatoria.name": "rotación aleatoria",
|
||||||
|
"sputnik.setting.fisicadeobjetos.general.rotacionaleatoria.desc": "añade una rotación aleatoria a cada objeto",
|
||||||
"sputnik.setting.friend.nickname.desc": "what name to save the friend under",
|
"sputnik.setting.friend.nickname.desc": "what name to save the friend under",
|
||||||
"sputnik.setting.friend.nickname.name": "name",
|
"sputnik.setting.friend.nickname.name": "name",
|
||||||
"sputnik.setting.fuentes.general.fuente.desc": "font to use",
|
"sputnik.setting.fuentes.general.fuente.desc": "font to use",
|
||||||
@@ -928,6 +964,8 @@
|
|||||||
"sputnik.setting.hud.elementos.formatodelahora.name": "time format",
|
"sputnik.setting.hud.elementos.formatodelahora.name": "time format",
|
||||||
"sputnik.setting.hud.elementos.mododecoordenadas.desc": "which coordinates to show",
|
"sputnik.setting.hud.elementos.mododecoordenadas.desc": "which coordinates to show",
|
||||||
"sputnik.setting.hud.elementos.mododecoordenadas.name": "coords mode",
|
"sputnik.setting.hud.elementos.mododecoordenadas.name": "coords mode",
|
||||||
|
"sputnik.setting.hud.elementos.rutadeimagen.desc": "path to custom image",
|
||||||
|
"sputnik.setting.hud.elementos.rutadeimagen.name": "path",
|
||||||
"sputnik.setting.hud.elementos.textocustom.desc": "watermark (leave empty to remove)",
|
"sputnik.setting.hud.elementos.textocustom.desc": "watermark (leave empty to remove)",
|
||||||
"sputnik.setting.hud.elementos.textocustom.name": "custom text",
|
"sputnik.setting.hud.elementos.textocustom.name": "custom text",
|
||||||
"sputnik.setting.hud.elementos.zonahoraria.desc": "timezone as UTC+n",
|
"sputnik.setting.hud.elementos.zonahoraria.desc": "timezone as UTC+n",
|
||||||
@@ -940,6 +978,8 @@
|
|||||||
"sputnik.setting.hud.visualizacion.mostrarenf3.name": "show in F3",
|
"sputnik.setting.hud.visualizacion.mostrarenf3.name": "show in F3",
|
||||||
"sputnik.setting.hud.visualizacion.sombra.desc": "text with shadow",
|
"sputnik.setting.hud.visualizacion.sombra.desc": "text with shadow",
|
||||||
"sputnik.setting.hud.visualizacion.sombra.name": "shadow",
|
"sputnik.setting.hud.visualizacion.sombra.name": "shadow",
|
||||||
|
"sputnik.setting.imandeitems.general.rango.desc": "how far to reach out for items",
|
||||||
|
"sputnik.setting.imandeitems.general.rango.name": "range",
|
||||||
"sputnik.setting.infodebloque.general.copiar.desc": "copy to clipboard",
|
"sputnik.setting.infodebloque.general.copiar.desc": "copy to clipboard",
|
||||||
"sputnik.setting.infodebloque.general.copiar.name": "copy",
|
"sputnik.setting.infodebloque.general.copiar.name": "copy",
|
||||||
"sputnik.setting.infodebloque.general.liquidos.desc": "also include liquids in the raycast",
|
"sputnik.setting.infodebloque.general.liquidos.desc": "also include liquids in the raycast",
|
||||||
@@ -1007,6 +1047,26 @@
|
|||||||
"sputnik.setting.jugadorfalso.general.nombre.desc": "what name to give the player",
|
"sputnik.setting.jugadorfalso.general.nombre.desc": "what name to give the player",
|
||||||
"sputnik.setting.jugadorfalso.general.nombre.name": "name",
|
"sputnik.setting.jugadorfalso.general.nombre.name": "name",
|
||||||
"sputnik.setting.key.reset": "keybind for module %s reset",
|
"sputnik.setting.key.reset": "keybind for module %s reset",
|
||||||
|
"sputnik.setting.killaura.entidades.entidades.desc": "entities to attack",
|
||||||
|
"sputnik.setting.killaura.entidades.entidades.name": "entities",
|
||||||
|
"sputnik.setting.killaura.entidades.entidades1.desc": "entities NOT to attack",
|
||||||
|
"sputnik.setting.killaura.entidades.entidades1.name": "entities",
|
||||||
|
"sputnik.setting.killaura.entidades.mododelista.desc": "how to interpret the list",
|
||||||
|
"sputnik.setting.killaura.entidades.mododelista.name": "list mode",
|
||||||
|
"sputnik.setting.killaura.general.alcance.desc": "how far to reach",
|
||||||
|
"sputnik.setting.killaura.general.alcance.name": "reach",
|
||||||
|
"sputnik.setting.killaura.general.mododeataque.desc": "how to attack",
|
||||||
|
"sputnik.setting.killaura.general.mododeataque.name": "attack mode",
|
||||||
|
"sputnik.setting.killaura.general.moverlamano.desc": "whether to swing the hand when attacking",
|
||||||
|
"sputnik.setting.killaura.general.moverlamano.name": "swing",
|
||||||
|
"sputnik.setting.killaura.general.porcentajedecooldown.desc": "how long to wait for the cooldown bar to fill",
|
||||||
|
"sputnik.setting.killaura.general.porcentajedecooldown.name": "cooldown percentage",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.archivo.desc": "file to use as log file",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.archivo.name": "file",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.mododelogueo.desc": "how to log packets",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.mododelogueo.name": "logging mode",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.paquetes.desc": "packets to log",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.paquetes.name": "packets",
|
||||||
"sputnik.setting.lsd.general.intensidad.desc": "how much the image is distorted and tinted",
|
"sputnik.setting.lsd.general.intensidad.desc": "how much the image is distorted and tinted",
|
||||||
"sputnik.setting.lsd.general.intensidad.name": "strength",
|
"sputnik.setting.lsd.general.intensidad.name": "strength",
|
||||||
"sputnik.setting.lsd.general.rotaciones.desc": "how much the offset swirls; higher = more whirls",
|
"sputnik.setting.lsd.general.rotaciones.desc": "how much the offset swirls; higher = more whirls",
|
||||||
@@ -1281,6 +1341,8 @@
|
|||||||
"sputnik.setting.puntosdedesconexion.relleno.colordelrelleno.name": "fill color",
|
"sputnik.setting.puntosdedesconexion.relleno.colordelrelleno.name": "fill color",
|
||||||
"sputnik.setting.puntosdedesconexion.relleno.relleno.desc": "render the box fill (faces)",
|
"sputnik.setting.puntosdedesconexion.relleno.relleno.desc": "render the box fill (faces)",
|
||||||
"sputnik.setting.puntosdedesconexion.relleno.relleno.name": "fill",
|
"sputnik.setting.puntosdedesconexion.relleno.relleno.name": "fill",
|
||||||
|
"sputnik.setting.putogordo.general.hambre.desc": "how hungry you have to be to eat (food points)",
|
||||||
|
"sputnik.setting.putogordo.general.hambre.name": "hunger",
|
||||||
"sputnik.setting.recorrido.general.color.desc": "color to use",
|
"sputnik.setting.recorrido.general.color.desc": "color to use",
|
||||||
"sputnik.setting.recorrido.general.color.name": "color",
|
"sputnik.setting.recorrido.general.color.name": "color",
|
||||||
"sputnik.setting.recorrido.general.esperanzadevida.desc": "how long the trails last",
|
"sputnik.setting.recorrido.general.esperanzadevida.desc": "how long the trails last",
|
||||||
@@ -1501,7 +1563,7 @@
|
|||||||
"sputnik.ui.tab.profiles": "profiles",
|
"sputnik.ui.tab.profiles": "profiles",
|
||||||
"sputnik.update.clickhere": "CLICK HERE",
|
"sputnik.update.clickhere": "CLICK HERE",
|
||||||
"sputnik.update.download": "download the latest version (%s) from here:",
|
"sputnik.update.download": "download the latest version (%s) from here:",
|
||||||
"sputnik.update.idgaf": "i don't care",
|
"sputnik.update.idgaf": "i don't give a FUCK",
|
||||||
"sputnik.update.outdated": "outdated version: %s",
|
"sputnik.update.outdated": "outdated version: %s",
|
||||||
"sputnik.update.title": "update",
|
"sputnik.update.title": "update",
|
||||||
"sputnik.version.error.fetch": "could not check the latest version",
|
"sputnik.version.error.fetch": "could not check the latest version",
|
||||||
|
|||||||
@@ -127,6 +127,10 @@
|
|||||||
"sputnik.enum.module.modules.client.hud.timeformat.twenty_four_hour": "24h",
|
"sputnik.enum.module.modules.client.hud.timeformat.twenty_four_hour": "24h",
|
||||||
"sputnik.enum.module.modules.combat.holdattack.attackmode.spam": "spamear",
|
"sputnik.enum.module.modules.combat.holdattack.attackmode.spam": "spamear",
|
||||||
"sputnik.enum.module.modules.combat.holdattack.attackmode.time": "timear",
|
"sputnik.enum.module.modules.combat.holdattack.attackmode.time": "timear",
|
||||||
|
"sputnik.enum.module.modules.combat.killaura.attackmode.spam": "spamear",
|
||||||
|
"sputnik.enum.module.modules.combat.killaura.attackmode.timed": "timear",
|
||||||
|
"sputnik.enum.module.modules.combat.killaura.listmode.whitelist": "lista blanca (incluir)",
|
||||||
|
"sputnik.enum.module.modules.combat.killaura.listmode.blacklist": "lista negra (excluir)",
|
||||||
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.dashed": "discontinua",
|
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.dashed": "discontinua",
|
||||||
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.dotted": "puntos",
|
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.dotted": "puntos",
|
||||||
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.solid": "continua",
|
"sputnik.enum.module.modules.combat.projectiletrajectories.trajectorystyle.solid": "continua",
|
||||||
@@ -152,6 +156,9 @@
|
|||||||
"sputnik.enum.module.modules.network.packetdelay.packets.all": "todos",
|
"sputnik.enum.module.modules.network.packetdelay.packets.all": "todos",
|
||||||
"sputnik.enum.module.modules.network.packetdelay.packets.keep_alive": "paquetes KeepAlive",
|
"sputnik.enum.module.modules.network.packetdelay.packets.keep_alive": "paquetes KeepAlive",
|
||||||
"sputnik.enum.module.modules.network.packetdelay.packets.others": "todos menos KeepAlive",
|
"sputnik.enum.module.modules.network.packetdelay.packets.others": "todos menos KeepAlive",
|
||||||
|
"sputnik.enum.module.modules.network.packetlogger.logmode.chat": "chat",
|
||||||
|
"sputnik.enum.module.modules.network.packetlogger.logmode.notification": "notis",
|
||||||
|
"sputnik.enum.module.modules.network.packetlogger.logmode.file": "archivo",
|
||||||
"sputnik.enum.module.modules.network.packetmine.clickaction.add_priority": "agregar prioridad",
|
"sputnik.enum.module.modules.network.packetmine.clickaction.add_priority": "agregar prioridad",
|
||||||
"sputnik.enum.module.modules.network.packetmine.clickaction.none": "nada",
|
"sputnik.enum.module.modules.network.packetmine.clickaction.none": "nada",
|
||||||
"sputnik.enum.module.modules.network.packetmine.clickaction.unselect": "deseleccionar",
|
"sputnik.enum.module.modules.network.packetmine.clickaction.unselect": "deseleccionar",
|
||||||
@@ -202,6 +209,8 @@
|
|||||||
"sputnik.enum.module.modules.render.norender.colors.red": "rojo",
|
"sputnik.enum.module.modules.render.norender.colors.red": "rojo",
|
||||||
"sputnik.enum.module.modules.render.norender.colors.white": "blanco",
|
"sputnik.enum.module.modules.render.norender.colors.white": "blanco",
|
||||||
"sputnik.enum.module.modules.render.norender.colors.yellow": "amarillo",
|
"sputnik.enum.module.modules.render.norender.colors.yellow": "amarillo",
|
||||||
|
"sputnik.enum.module.modules.world.autotool.autotoolmode.on_tick": "cada tick",
|
||||||
|
"sputnik.enum.module.modules.world.autotool.autotoolmode.on_click": "cada click",
|
||||||
"sputnik.enum.module.modules.world.blockinfo.copymode.command": "copiar comando /setblock",
|
"sputnik.enum.module.modules.world.blockinfo.copymode.command": "copiar comando /setblock",
|
||||||
"sputnik.enum.module.modules.world.blockinfo.copymode.dont": "no copiar",
|
"sputnik.enum.module.modules.world.blockinfo.copymode.dont": "no copiar",
|
||||||
"sputnik.enum.module.modules.world.blockinfo.copymode.json": "copiar contenido json",
|
"sputnik.enum.module.modules.world.blockinfo.copymode.json": "copiar contenido json",
|
||||||
@@ -214,6 +223,10 @@
|
|||||||
"sputnik.enum.module.modules.world.timechanger.moonphases.waning_gibbous": "menguante gibosa",
|
"sputnik.enum.module.modules.world.timechanger.moonphases.waning_gibbous": "menguante gibosa",
|
||||||
"sputnik.enum.module.modules.world.timechanger.moonphases.waxing_crescent": "creciente",
|
"sputnik.enum.module.modules.world.timechanger.moonphases.waxing_crescent": "creciente",
|
||||||
"sputnik.enum.module.modules.world.timechanger.moonphases.waxing_gibbous": "creciente gibosa",
|
"sputnik.enum.module.modules.world.timechanger.moonphases.waxing_gibbous": "creciente gibosa",
|
||||||
|
"sputnik.filesetting.cannotwrite": "no se puede escribir a \"%s\"!",
|
||||||
|
"sputnik.filesetting.choose": "elige un archivo",
|
||||||
|
"sputnik.filesetting.supportedfiles": "archivos soportados",
|
||||||
|
"sputnik.filesetting.doesnotexist": "el archivo \"%s\" no existe!",
|
||||||
"sputnik.group.andamios.bloques": "bloques",
|
"sputnik.group.andamios.bloques": "bloques",
|
||||||
"sputnik.group.andamios.puente": "puente",
|
"sputnik.group.andamios.puente": "puente",
|
||||||
"sputnik.group.andamios.renderizado": "renderizado",
|
"sputnik.group.andamios.renderizado": "renderizado",
|
||||||
@@ -242,6 +255,7 @@
|
|||||||
"sputnik.group.interfaz.widgets": "widgets",
|
"sputnik.group.interfaz.widgets": "widgets",
|
||||||
"sputnik.group.jesus.bloques": "bloques",
|
"sputnik.group.jesus.bloques": "bloques",
|
||||||
"sputnik.group.jkrowling.libro": "libro",
|
"sputnik.group.jkrowling.libro": "libro",
|
||||||
|
"sputnik.group.killaura.entidades": "entidades",
|
||||||
"sputnik.group.manos.animaciones": "animaciones",
|
"sputnik.group.manos.animaciones": "animaciones",
|
||||||
"sputnik.group.manos.brazo": "brazo",
|
"sputnik.group.manos.brazo": "brazo",
|
||||||
"sputnik.group.manos.manoprincipal": "mano principal",
|
"sputnik.group.manos.manoprincipal": "mano principal",
|
||||||
@@ -286,6 +300,8 @@
|
|||||||
"sputnik.hud.editor.title": "editor del HUD",
|
"sputnik.hud.editor.title": "editor del HUD",
|
||||||
"sputnik.hud.element.armor.desc": "estado de la armadura",
|
"sputnik.hud.element.armor.desc": "estado de la armadura",
|
||||||
"sputnik.hud.element.coords.desc": "te muestra tu posición XYZ en el mundo",
|
"sputnik.hud.element.coords.desc": "te muestra tu posición XYZ en el mundo",
|
||||||
|
"sputnik.hud.element.customimage.desc": "imagen que tú eliges",
|
||||||
|
"sputnik.hud.element.customimage.name": "imagen custom",
|
||||||
"sputnik.hud.element.customtext.desc": "texto que tú eliges",
|
"sputnik.hud.element.customtext.desc": "texto que tú eliges",
|
||||||
"sputnik.hud.element.customtext.name": "texto custom",
|
"sputnik.hud.element.customtext.name": "texto custom",
|
||||||
"sputnik.hud.element.dyno.desc": "que viva el autismo joder",
|
"sputnik.hud.element.dyno.desc": "que viva el autismo joder",
|
||||||
@@ -298,6 +314,8 @@
|
|||||||
"sputnik.hud.element.ping.name": "ping",
|
"sputnik.hud.element.ping.name": "ping",
|
||||||
"sputnik.hud.element.rotation.desc": "te muestra tu rotación actual",
|
"sputnik.hud.element.rotation.desc": "te muestra tu rotación actual",
|
||||||
"sputnik.hud.element.rotation.name": "rotaciones",
|
"sputnik.hud.element.rotation.name": "rotaciones",
|
||||||
|
"sputnik.hud.element.speed.name": "velocidad",
|
||||||
|
"sputnik.hud.element.speed.desc": "velocidad del jugador",
|
||||||
"sputnik.hud.element.time.desc": "hora y minutos de la zona horaria seleccionada",
|
"sputnik.hud.element.time.desc": "hora y minutos de la zona horaria seleccionada",
|
||||||
"sputnik.hud.element.time.name": "hora",
|
"sputnik.hud.element.time.name": "hora",
|
||||||
"sputnik.hud.element.totems.desc": "totems disponibles",
|
"sputnik.hud.element.totems.desc": "totems disponibles",
|
||||||
@@ -436,6 +454,8 @@
|
|||||||
"sputnik.module.estampaescrotos.desc": "estampa escrotos ajenos",
|
"sputnik.module.estampaescrotos.desc": "estampa escrotos ajenos",
|
||||||
"sputnik.module.estampaescrotos.name": "estampaescrotos",
|
"sputnik.module.estampaescrotos.name": "estampaescrotos",
|
||||||
"sputnik.module.freecam.damagedisable": "cámara libre se ha desactivado porque has recibido daño",
|
"sputnik.module.freecam.damagedisable": "cámara libre se ha desactivado porque has recibido daño",
|
||||||
|
"sputnik.module.fisicadeobjetos.name": "física de objetos",
|
||||||
|
"sputnik.module.fisicadeobjetos.desc": "aplica física a los objetos en el suelo",
|
||||||
"sputnik.module.friends.already": "%s ya es tu amigo",
|
"sputnik.module.friends.already": "%s ya es tu amigo",
|
||||||
"sputnik.module.friends.notplayer": "no se pudo añadir a %s como amigo",
|
"sputnik.module.friends.notplayer": "no se pudo añadir a %s como amigo",
|
||||||
"sputnik.module.fuentes.desc": "modifica el tipo de letra utilizado al renderizar texto",
|
"sputnik.module.fuentes.desc": "modifica el tipo de letra utilizado al renderizar texto",
|
||||||
@@ -448,6 +468,8 @@
|
|||||||
"sputnik.module.hotkeysinvcreativo.name": "hotkeys inv. creativo",
|
"sputnik.module.hotkeysinvcreativo.name": "hotkeys inv. creativo",
|
||||||
"sputnik.module.hud.desc": "superposición de la pantalla con info. adicional",
|
"sputnik.module.hud.desc": "superposición de la pantalla con info. adicional",
|
||||||
"sputnik.module.hud.name": "HUD",
|
"sputnik.module.hud.name": "HUD",
|
||||||
|
"sputnik.module.imandeitems.name": "imán de items",
|
||||||
|
"sputnik.module.imandeitems.desc": "recoge items distantes rápidamente mediante paquetes de movimiento",
|
||||||
"sputnik.module.infodebloque.desc": "muestra el contenido nbt del bloque al que se está apuntando",
|
"sputnik.module.infodebloque.desc": "muestra el contenido nbt del bloque al que se está apuntando",
|
||||||
"sputnik.module.infodebloque.name": "info. de bloque",
|
"sputnik.module.infodebloque.name": "info. de bloque",
|
||||||
"sputnik.module.interfaz.desc": "ajustes de la interfaz, y otros misceláneos",
|
"sputnik.module.interfaz.desc": "ajustes de la interfaz, y otros misceláneos",
|
||||||
@@ -463,8 +485,12 @@
|
|||||||
"sputnik.module.jugadorfalso.desc": "invoca una entidad de jugador falsa por motivos de testeo",
|
"sputnik.module.jugadorfalso.desc": "invoca una entidad de jugador falsa por motivos de testeo",
|
||||||
"sputnik.module.jugadorfalso.name": "jugador falso",
|
"sputnik.module.jugadorfalso.name": "jugador falso",
|
||||||
"sputnik.module.keypearl.nopearls": "no tienes perlas",
|
"sputnik.module.keypearl.nopearls": "no tienes perlas",
|
||||||
|
"sputnik.module.killaura.name": "killaura",
|
||||||
|
"sputnik.module.killaura.desc": "si la violencia no funciona, es porque no has aplicado la suficiente",
|
||||||
"sputnik.module.lsd.desc": "distorsiona y tiñe la pantalla",
|
"sputnik.module.lsd.desc": "distorsiona y tiñe la pantalla",
|
||||||
"sputnik.module.lsd.name": "lsd",
|
"sputnik.module.lsd.name": "lsd",
|
||||||
|
"sputnik.module.loggerdepaquetes.name": "logger de paquetes",
|
||||||
|
"sputnik.module.loggerdepaquetes.desc": "loguea paquetes",
|
||||||
"sputnik.module.macekill.oops": "upsi: %s",
|
"sputnik.module.macekill.oops": "upsi: %s",
|
||||||
"sputnik.module.manos.desc": "modifica la manera en la que se renderizan las manos",
|
"sputnik.module.manos.desc": "modifica la manera en la que se renderizan las manos",
|
||||||
"sputnik.module.manos.name": "manos",
|
"sputnik.module.manos.name": "manos",
|
||||||
@@ -492,6 +518,8 @@
|
|||||||
"sputnik.module.notificaciones.name": "notificaciones",
|
"sputnik.module.notificaciones.name": "notificaciones",
|
||||||
"sputnik.module.packetdelay.singleplayer": "delay de paquetes no funciona en un solo jugador",
|
"sputnik.module.packetdelay.singleplayer": "delay de paquetes no funciona en un solo jugador",
|
||||||
"sputnik.module.packetmine.pickbreaking": "pico por romperse",
|
"sputnik.module.packetmine.pickbreaking": "pico por romperse",
|
||||||
|
"sputnik.module.canceladordepaquetes.name": "cancelador de paquetes",
|
||||||
|
"sputnik.module.canceladordepaquetes.desc": "cancela paquetes.",
|
||||||
"sputnik.module.parkour.desc": "salta automáticamente en el último tick posible, en la esquina del bloque",
|
"sputnik.module.parkour.desc": "salta automáticamente en el último tick posible, en la esquina del bloque",
|
||||||
"sputnik.module.parkour.name": "parkour",
|
"sputnik.module.parkour.name": "parkour",
|
||||||
"sputnik.module.particulas.desc": "emite particulas artificiales",
|
"sputnik.module.particulas.desc": "emite particulas artificiales",
|
||||||
@@ -510,6 +538,8 @@
|
|||||||
"sputnik.module.progresodeminado.name": "progreso de minado",
|
"sputnik.module.progresodeminado.name": "progreso de minado",
|
||||||
"sputnik.module.puntosdedesconexion.desc": "te muestra los puntos donde otros jugadores se desconectan",
|
"sputnik.module.puntosdedesconexion.desc": "te muestra los puntos donde otros jugadores se desconectan",
|
||||||
"sputnik.module.puntosdedesconexion.name": "puntos de desconexión",
|
"sputnik.module.puntosdedesconexion.name": "puntos de desconexión",
|
||||||
|
"sputnik.module.putogordo.name": "puto gordo",
|
||||||
|
"sputnik.module.putogordo.desc": "come automáticamente al tener hambre",
|
||||||
"sputnik.module.racismo.desc": "amego segarro",
|
"sputnik.module.racismo.desc": "amego segarro",
|
||||||
"sputnik.module.racismo.name": "racismo",
|
"sputnik.module.racismo.name": "racismo",
|
||||||
"sputnik.module.reconectar.desc": "añade un botón para reconectarse a un servidor tras ser desconectado",
|
"sputnik.module.reconectar.desc": "añade un botón para reconectarse a un servidor tras ser desconectado",
|
||||||
@@ -687,6 +717,8 @@
|
|||||||
"sputnik.setting.autoherramienta.general.delay.name": "delay",
|
"sputnik.setting.autoherramienta.general.delay.name": "delay",
|
||||||
"sputnik.setting.autoherramienta.general.delaydelcambiodevuelta.desc": "delay en ticks para cambiar de vuelta a la herramienta inicial",
|
"sputnik.setting.autoherramienta.general.delaydelcambiodevuelta.desc": "delay en ticks para cambiar de vuelta a la herramienta inicial",
|
||||||
"sputnik.setting.autoherramienta.general.delaydelcambiodevuelta.name": "delay del cambio de vuelta",
|
"sputnik.setting.autoherramienta.general.delaydelcambiodevuelta.name": "delay del cambio de vuelta",
|
||||||
|
"sputnik.setting.autoherramienta.general.modo.desc": "de qué manera ejecutar el módulo",
|
||||||
|
"sputnik.setting.autoherramienta.general.modo.name": "modo",
|
||||||
"sputnik.setting.autopechera.general.cambiardevuelta.desc": "cambiar de vuelta a elytras, si estaban puestas",
|
"sputnik.setting.autopechera.general.cambiardevuelta.desc": "cambiar de vuelta a elytras, si estaban puestas",
|
||||||
"sputnik.setting.autopechera.general.cambiardevuelta.name": "cambiar de vuelta",
|
"sputnik.setting.autopechera.general.cambiardevuelta.name": "cambiar de vuelta",
|
||||||
"sputnik.setting.autopesca.general.evitarromper.desc": "evitar romper la caña si está en las últimas",
|
"sputnik.setting.autopesca.general.evitarromper.desc": "evitar romper la caña si está en las últimas",
|
||||||
@@ -741,6 +773,10 @@
|
|||||||
"sputnik.setting.camaralibre.velocidad.tecladelscroll.name": "tecla del scroll",
|
"sputnik.setting.camaralibre.velocidad.tecladelscroll.name": "tecla del scroll",
|
||||||
"sputnik.setting.camaralibre.velocidad.velocidad.desc": "velocidad de movimiento de la cámara",
|
"sputnik.setting.camaralibre.velocidad.velocidad.desc": "velocidad de movimiento de la cámara",
|
||||||
"sputnik.setting.camaralibre.velocidad.velocidad.name": "velocidad",
|
"sputnik.setting.camaralibre.velocidad.velocidad.name": "velocidad",
|
||||||
|
"sputnik.setting.canceladordepaquetes.general.c2s.name": "C2S",
|
||||||
|
"sputnik.setting.canceladordepaquetes.general.c2s.desc": "paquetes a cancelar, dirección servidor",
|
||||||
|
"sputnik.setting.canceladordepaquetes.general.s2c.name": "S2C",
|
||||||
|
"sputnik.setting.canceladordepaquetes.general.s2c.desc": "paquetes a cancelar, dirección cliente",
|
||||||
"sputnik.setting.capas.general.capa.desc": "qué capa llevar puesta",
|
"sputnik.setting.capas.general.capa.desc": "qué capa llevar puesta",
|
||||||
"sputnik.setting.capas.general.capa.name": "capa",
|
"sputnik.setting.capas.general.capa.name": "capa",
|
||||||
"sputnik.setting.capturasdepantalla.botones.botondeabrir.desc": "mostrar botón para abrir el archivo de la captura",
|
"sputnik.setting.capturasdepantalla.botones.botondeabrir.desc": "mostrar botón para abrir el archivo de la captura",
|
||||||
@@ -926,6 +962,8 @@
|
|||||||
"sputnik.setting.hud.elementos.formatodelahora.name": "formato de la hora",
|
"sputnik.setting.hud.elementos.formatodelahora.name": "formato de la hora",
|
||||||
"sputnik.setting.hud.elementos.mododecoordenadas.desc": "qué coordenadas mostrar",
|
"sputnik.setting.hud.elementos.mododecoordenadas.desc": "qué coordenadas mostrar",
|
||||||
"sputnik.setting.hud.elementos.mododecoordenadas.name": "modo de coordenadas",
|
"sputnik.setting.hud.elementos.mododecoordenadas.name": "modo de coordenadas",
|
||||||
|
"sputnik.setting.hud.elementos.rutadeimagen.name": "ruta de imagen",
|
||||||
|
"sputnik.setting.hud.elementos.rutadeimagen.desc": "ruta de la imagen a renderizar en el elemento de imagen custom",
|
||||||
"sputnik.setting.hud.elementos.textocustom.desc": "marca de agua (dejar vacío para quitar)",
|
"sputnik.setting.hud.elementos.textocustom.desc": "marca de agua (dejar vacío para quitar)",
|
||||||
"sputnik.setting.hud.elementos.textocustom.name": "texto custom",
|
"sputnik.setting.hud.elementos.textocustom.name": "texto custom",
|
||||||
"sputnik.setting.hud.elementos.zonahoraria.desc": "zona horaria en UTC+n",
|
"sputnik.setting.hud.elementos.zonahoraria.desc": "zona horaria en UTC+n",
|
||||||
@@ -938,6 +976,8 @@
|
|||||||
"sputnik.setting.hud.visualizacion.mostrarenf3.name": "mostrar en F3",
|
"sputnik.setting.hud.visualizacion.mostrarenf3.name": "mostrar en F3",
|
||||||
"sputnik.setting.hud.visualizacion.sombra.desc": "texto con sombra",
|
"sputnik.setting.hud.visualizacion.sombra.desc": "texto con sombra",
|
||||||
"sputnik.setting.hud.visualizacion.sombra.name": "sombra",
|
"sputnik.setting.hud.visualizacion.sombra.name": "sombra",
|
||||||
|
"sputnik.setting.imandeitems.general.rango.name": "rango",
|
||||||
|
"sputnik.setting.imandeitems.general.rango.desc": "rango de recogida de items",
|
||||||
"sputnik.setting.infodebloque.general.copiar.desc": "copiar al portapapeles",
|
"sputnik.setting.infodebloque.general.copiar.desc": "copiar al portapapeles",
|
||||||
"sputnik.setting.infodebloque.general.copiar.name": "copiar",
|
"sputnik.setting.infodebloque.general.copiar.name": "copiar",
|
||||||
"sputnik.setting.infodebloque.general.liquidos.desc": "también incluir líquidos en el raycast",
|
"sputnik.setting.infodebloque.general.liquidos.desc": "también incluir líquidos en el raycast",
|
||||||
@@ -1005,6 +1045,26 @@
|
|||||||
"sputnik.setting.jugadorfalso.general.nombre.desc": "qué nombre asignarle al jugador",
|
"sputnik.setting.jugadorfalso.general.nombre.desc": "qué nombre asignarle al jugador",
|
||||||
"sputnik.setting.jugadorfalso.general.nombre.name": "nombre",
|
"sputnik.setting.jugadorfalso.general.nombre.name": "nombre",
|
||||||
"sputnik.setting.key.reset": "tecla del módulo %s restablecida",
|
"sputnik.setting.key.reset": "tecla del módulo %s restablecida",
|
||||||
|
"sputnik.setting.killaura.general.alcance.name": "alcance",
|
||||||
|
"sputnik.setting.killaura.general.alcance.desc": "qué tan lejos extender el brazo",
|
||||||
|
"sputnik.setting.killaura.general.mododeataque.name": "modo de ataque",
|
||||||
|
"sputnik.setting.killaura.general.mododeataque.desc": "elige de qué manera atacar",
|
||||||
|
"sputnik.setting.killaura.general.moverlamano.name": "mover la mano",
|
||||||
|
"sputnik.setting.killaura.general.moverlamano.desc": "mover la mano al atacar",
|
||||||
|
"sputnik.setting.killaura.general.porcentajedecooldown.name": "porcentaje de cooldown",
|
||||||
|
"sputnik.setting.killaura.general.porcentajedecooldown.desc": "cuánto esperar a que se llene la barrita de ataque",
|
||||||
|
"sputnik.setting.killaura.entidades.entidades.name": "entidades",
|
||||||
|
"sputnik.setting.killaura.entidades.entidades.desc": "qué entidades atacar",
|
||||||
|
"sputnik.setting.killaura.entidades.entidades1.name": "entidades",
|
||||||
|
"sputnik.setting.killaura.entidades.entidades1.desc": "qué entidades NO atacar",
|
||||||
|
"sputnik.setting.killaura.entidades.mododelista.name": "modo de lista",
|
||||||
|
"sputnik.setting.killaura.entidades.mododelista.desc": "cómo interpretar la lista",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.paquetes.name": "paquetes",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.paquetes.desc": "paquetes a loguear",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.mododelogueo.name": "modo de logueo",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.mododelogueo.desc": "de qué manera loguear los paquetes",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.archivo.name": "archivo",
|
||||||
|
"sputnik.setting.loggerdepaquetes.general.archivo.desc": "archivo al que loguear los paquetes",
|
||||||
"sputnik.setting.lsd.general.intensidad.desc": "cuánto se distorsiona y se tiñe la imagen",
|
"sputnik.setting.lsd.general.intensidad.desc": "cuánto se distorsiona y se tiñe la imagen",
|
||||||
"sputnik.setting.lsd.general.intensidad.name": "intensidad",
|
"sputnik.setting.lsd.general.intensidad.name": "intensidad",
|
||||||
"sputnik.setting.lsd.general.rotaciones.desc": "cuántas vueltas da el desplazamiento; más = más remolinos",
|
"sputnik.setting.lsd.general.rotaciones.desc": "cuántas vueltas da el desplazamiento; más = más remolinos",
|
||||||
@@ -1279,6 +1339,8 @@
|
|||||||
"sputnik.setting.puntosdedesconexion.relleno.colordelrelleno.name": "color del relleno",
|
"sputnik.setting.puntosdedesconexion.relleno.colordelrelleno.name": "color del relleno",
|
||||||
"sputnik.setting.puntosdedesconexion.relleno.relleno.desc": "renderizar relleno de la caja (caras)",
|
"sputnik.setting.puntosdedesconexion.relleno.relleno.desc": "renderizar relleno de la caja (caras)",
|
||||||
"sputnik.setting.puntosdedesconexion.relleno.relleno.name": "relleno",
|
"sputnik.setting.puntosdedesconexion.relleno.relleno.name": "relleno",
|
||||||
|
"sputnik.setting.putogordo.general.hambre.name": "hambre",
|
||||||
|
"sputnik.setting.putogordo.general.hambre.desc": "cuánta hambre es necesaria para comer (puntos de comida)",
|
||||||
"sputnik.setting.recorrido.general.color.desc": "color a usar",
|
"sputnik.setting.recorrido.general.color.desc": "color a usar",
|
||||||
"sputnik.setting.recorrido.general.color.name": "color",
|
"sputnik.setting.recorrido.general.color.name": "color",
|
||||||
"sputnik.setting.recorrido.general.esperanzadevida.desc": "cuánto duran los trazos",
|
"sputnik.setting.recorrido.general.esperanzadevida.desc": "cuánto duran los trazos",
|
||||||
@@ -1509,4 +1571,4 @@
|
|||||||
"sputnik.version.info.uptodate": "el mod está al día: v%s",
|
"sputnik.version.info.uptodate": "el mod está al día: v%s",
|
||||||
"sputnik.version.warn.check": "no se pudo comprobar si el mod está actualizado: %s",
|
"sputnik.version.warn.check": "no se pudo comprobar si el mod está actualizado: %s",
|
||||||
"sputnik.version.warn.metadata": "no se pudo construir gradle.properties desde la metadata"
|
"sputnik.version.warn.metadata": "no se pudo construir gradle.properties desde la metadata"
|
||||||
}
|
}
|
||||||
@@ -7,10 +7,6 @@ uniform sampler2D InSampler;
|
|||||||
in vec2 texCoord;
|
in vec2 texCoord;
|
||||||
out vec4 fragColor;
|
out vec4 fragColor;
|
||||||
|
|
||||||
// 26.2 pasó los samplers con nombre a bind groups; los uniforms van en un bloque std140
|
|
||||||
// que rellena LsdPostProcessor cada frame. el tiempo se lleva aquí en vez de leerlo de
|
|
||||||
// Globals.GameTime porque ese es una fracción del día (se reinicia cada 24000 ticks) y
|
|
||||||
// animaría la distorsión lentísimo con un salto cada 20 minutos
|
|
||||||
layout(std140) uniform LsdConfig {
|
layout(std140) uniform LsdConfig {
|
||||||
float strength;
|
float strength;
|
||||||
float seed;
|
float seed;
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
"mixins.network.ServerConnectorMixin",
|
"mixins.network.ServerConnectorMixin",
|
||||||
"mixins.network.YggdrasilUserApiServiceMixin",
|
"mixins.network.YggdrasilUserApiServiceMixin",
|
||||||
"mixins.player.InputMixin",
|
"mixins.player.InputMixin",
|
||||||
|
"mixins.player.InventoryMixin",
|
||||||
"mixins.player.PlayerInventoryMixin",
|
"mixins.player.PlayerInventoryMixin",
|
||||||
"mixins.player.PlayerMixin",
|
"mixins.player.PlayerMixin",
|
||||||
"mixins.world.BlockCollisionsMixin"
|
"mixins.world.BlockCollisionsMixin"
|
||||||
@@ -40,7 +41,9 @@
|
|||||||
"accessors.AbstractSignEditScreenAccessor",
|
"accessors.AbstractSignEditScreenAccessor",
|
||||||
"accessors.AnvilScreenAccessor",
|
"accessors.AnvilScreenAccessor",
|
||||||
"accessors.ClientPacketListenerAccessor",
|
"accessors.ClientPacketListenerAccessor",
|
||||||
|
"accessors.ItemStackRenderStateAccessor",
|
||||||
"accessors.KeyBindingAccessor",
|
"accessors.KeyBindingAccessor",
|
||||||
|
"accessors.LayerRenderStateAccessor",
|
||||||
"accessors.OverlayTextureAccessor",
|
"accessors.OverlayTextureAccessor",
|
||||||
"mixins.entity.EntityRendererMixin",
|
"mixins.entity.EntityRendererMixin",
|
||||||
"mixins.hud.BossBarHudMixin",
|
"mixins.hud.BossBarHudMixin",
|
||||||
@@ -55,6 +58,8 @@
|
|||||||
"mixins.io.KeyboardHandlerMixin",
|
"mixins.io.KeyboardHandlerMixin",
|
||||||
"mixins.io.MouseHandlerMixin",
|
"mixins.io.MouseHandlerMixin",
|
||||||
"mixins.io.ScreenshotMixin",
|
"mixins.io.ScreenshotMixin",
|
||||||
|
"mixins.item.ItemEntityRendererMixin",
|
||||||
|
"mixins.item.ItemTransformMixin",
|
||||||
"mixins.misc.FontManagerMixin",
|
"mixins.misc.FontManagerMixin",
|
||||||
"mixins.misc.MinecraftMixin",
|
"mixins.misc.MinecraftMixin",
|
||||||
"mixins.misc.OptionsMixin",
|
"mixins.misc.OptionsMixin",
|
||||||
@@ -72,6 +77,8 @@
|
|||||||
"mixins.render.CapeLayerMixin",
|
"mixins.render.CapeLayerMixin",
|
||||||
"mixins.render.ChunkBorderRendererMixin",
|
"mixins.render.ChunkBorderRendererMixin",
|
||||||
"mixins.render.EntityHitboxDebugRendererMixin",
|
"mixins.render.EntityHitboxDebugRendererMixin",
|
||||||
|
"mixins.render.EntityRenderDispatcherMixin",
|
||||||
|
"mixins.render.EntityRenderStateMixin",
|
||||||
"mixins.render.EquipmentLayerRendererMixin",
|
"mixins.render.EquipmentLayerRendererMixin",
|
||||||
"mixins.render.FogRendererMixin",
|
"mixins.render.FogRendererMixin",
|
||||||
"mixins.render.FontMixin",
|
"mixins.render.FontMixin",
|
||||||
|
|||||||
Reference in new issue
Block a user