Changed name to Simple Transport HUD
@@ -7,7 +7,7 @@ loader_version=0.18.4
|
||||
# Mod Properties
|
||||
mod_version=1.0+1.21.11
|
||||
maven_group=com.lukasabbe
|
||||
archives_base_name=SimpleHud
|
||||
archives_base_name=SimpleTransportHud
|
||||
# Dependencies
|
||||
fabric_version=0.141.3+1.21.11
|
||||
mod_menu_version=17.0.0-alpha.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.lukasabbe.simplehud;
|
||||
package com.lukasabbe.simpletransporthud;
|
||||
|
||||
import net.minecraft.resources.Identifier;
|
||||
|
||||
@@ -6,7 +6,7 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public class Constants {
|
||||
public final static String MOD_ID = "simplehud";
|
||||
public final static String MOD_ID = "simpletransporthud";
|
||||
//Config
|
||||
public final static Identifier ConfigIdentifier = Identifier.fromNamespaceAndPath(MOD_ID, "config");
|
||||
//Hud:s
|
||||
@@ -1,12 +1,12 @@
|
||||
package com.lukasabbe.simplehud;
|
||||
package com.lukasabbe.simpletransporthud;
|
||||
|
||||
import com.lukasabbe.simplehud.config.Config;
|
||||
import com.lukasabbe.simplehud.huds.BoatHud;
|
||||
import com.lukasabbe.simplehud.huds.ElytraHud;
|
||||
import com.lukasabbe.simplehud.huds.MinecartHud;
|
||||
import com.lukasabbe.simplehud.huds.SimpleHud;
|
||||
import com.lukasabbe.simplehud.tools.ElytraTools;
|
||||
import com.lukasabbe.simplehud.tools.EntityTools;
|
||||
import com.lukasabbe.simpletransporthud.config.Config;
|
||||
import com.lukasabbe.simpletransporthud.huds.BoatHud;
|
||||
import com.lukasabbe.simpletransporthud.huds.ElytraHud;
|
||||
import com.lukasabbe.simpletransporthud.huds.MinecartHud;
|
||||
import com.lukasabbe.simpletransporthud.huds.SimpleHud;
|
||||
import com.lukasabbe.simpletransporthud.tools.ElytraTools;
|
||||
import com.lukasabbe.simpletransporthud.tools.EntityTools;
|
||||
import net.fabricmc.api.ClientModInitializer;
|
||||
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
|
||||
import net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry;
|
||||
@@ -16,7 +16,7 @@ import net.minecraft.client.gui.GuiGraphics;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public class SimpleHudMod implements ClientModInitializer {
|
||||
public class SimpleTransportHudMod implements ClientModInitializer {
|
||||
|
||||
public static List<SimpleHud> HUD_LIST = Arrays.asList(
|
||||
new ElytraHud(),
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.lukasabbe.simplehud.config;
|
||||
package com.lukasabbe.simpletransporthud.config;
|
||||
|
||||
import com.lukasabbe.simplehud.Constants;
|
||||
import com.lukasabbe.simpletransporthud.Constants;
|
||||
import dev.isxander.yacl3.config.v2.api.ConfigClassHandler;
|
||||
import dev.isxander.yacl3.config.v2.api.SerialEntry;
|
||||
import dev.isxander.yacl3.config.v2.api.serializer.GsonConfigSerializerBuilder;
|
||||
@@ -15,7 +15,7 @@ public class Config {
|
||||
.id(Constants.ConfigIdentifier)
|
||||
.serializer(config -> GsonConfigSerializerBuilder
|
||||
.create(config)
|
||||
.setPath(YACLPlatform.getConfigDir().resolve("simple_hud_config.json5"))
|
||||
.setPath(YACLPlatform.getConfigDir().resolve("simple_transport_hud_config.json5"))
|
||||
.build())
|
||||
.build();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.lukasabbe.simplehud.config;
|
||||
package com.lukasabbe.simpletransporthud.config;
|
||||
|
||||
import dev.isxander.yacl3.api.NameableEnum;
|
||||
import net.minecraft.network.chat.Component;
|
||||
@@ -12,6 +12,6 @@ public enum HudPosition implements NameableEnum {
|
||||
|
||||
@Override
|
||||
public Component getDisplayName() {
|
||||
return Component.translatable("simple_hud.config.position." + name().toLowerCase());
|
||||
return Component.translatable("simple_transport_hud.config.position." + name().toLowerCase());
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.lukasabbe.simplehud.config;
|
||||
package com.lukasabbe.simpletransporthud.config;
|
||||
|
||||
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
|
||||
import com.terraformersmc.modmenu.api.ModMenuApi;
|
||||
@@ -20,23 +20,23 @@ public class ModMenu implements ModMenuApi {
|
||||
Config instance = Config.HANDLER.instance();
|
||||
return YetAnotherConfigLib
|
||||
.createBuilder()
|
||||
.title(Component.translatable("simple_hud.config.title"))
|
||||
.title(Component.translatable("simple_transport_hud.config.title"))
|
||||
.category(ConfigCategory
|
||||
.createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.general.name"))
|
||||
.tooltip(Component.translatable("simple_hud.config.category.general.tooltip"))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.general.name"))
|
||||
.tooltip(Component.translatable("simple_transport_hud.config.category.general.tooltip"))
|
||||
.group(toggleOptions())
|
||||
.option(Option
|
||||
.<Integer>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.general.option.scale.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.general.option.scale.description")))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.general.option.scale.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.general.option.scale.description")))
|
||||
.binding(10, () -> instance.hudScale, newVal -> instance.hudScale = newVal)
|
||||
.controller(opt -> IntegerSliderControllerBuilder.create(opt).range(0,20).step(1))
|
||||
.build())
|
||||
.option(Option
|
||||
.<Boolean>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.general.option.safe_area.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.general.option.safe_area.description")))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.general.option.safe_area.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.general.option.safe_area.description")))
|
||||
.binding(false, () -> instance.ignoreSafeArea, newVal -> instance.ignoreSafeArea = newVal)
|
||||
.controller(TickBoxControllerBuilder::create)
|
||||
.build())
|
||||
@@ -44,76 +44,76 @@ public class ModMenu implements ModMenuApi {
|
||||
)
|
||||
.category(ConfigCategory
|
||||
.createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.elytra_options.name"))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.elytra_options.name"))
|
||||
.option(Option
|
||||
.<SpeedEnum>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.elytra_options.option.speed_enum.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.elytra_options.option.speed_enum.description")))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.elytra_options.option.speed_enum.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.elytra_options.option.speed_enum.description")))
|
||||
.binding(SpeedEnum.kmh, () -> instance.speedEnumElytra, newVal -> instance.speedEnumElytra = newVal)
|
||||
.customController(opt -> new EnumController<>(opt, SpeedEnum.class))
|
||||
.build())
|
||||
.option(Option
|
||||
.<HudPosition>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.elytra_options.option.hud_position.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.elytra_options.option.hud_position.description")))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.elytra_options.option.hud_position.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.elytra_options.option.hud_position.description")))
|
||||
.binding(HudPosition.CENTER, () -> instance.hudPositionElytra, newVal -> instance.hudPositionElytra = newVal)
|
||||
.customController(opt -> new EnumController<>(opt, HudPosition.class))
|
||||
.build())
|
||||
.option(Option
|
||||
.<Integer>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.elytra_options.option.delay_hud.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.elytra_options.option.delay_hud.description")))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.elytra_options.option.delay_hud.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.elytra_options.option.delay_hud.description")))
|
||||
.binding(2, () -> instance.elytraHudDelay, newVal -> instance.elytraHudDelay = newVal)
|
||||
.controller(opt -> IntegerSliderControllerBuilder.create(opt).range(0, 30).step(1))
|
||||
.build())
|
||||
.build())
|
||||
.category(ConfigCategory
|
||||
.createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.boat_hud.name"))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.boat_hud.name"))
|
||||
.option(Option
|
||||
.<SpeedEnum>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.elytra_options.option.speed_enum.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.elytra_options.option.speed_enum.description")))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.elytra_options.option.speed_enum.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.elytra_options.option.speed_enum.description")))
|
||||
.binding(SpeedEnum.kmh, () -> instance.speedEnumBoat, newVal -> instance.speedEnumBoat = newVal)
|
||||
.customController(opt -> new EnumController<>(opt, SpeedEnum.class))
|
||||
.build())
|
||||
.option(Option
|
||||
.<HudPosition>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.elytra_options.option.hud_position.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.elytra_options.option.hud_position.description")))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.elytra_options.option.hud_position.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.elytra_options.option.hud_position.description")))
|
||||
.binding(HudPosition.CENTER, () -> instance.hudPositionBoat, newVal -> instance.hudPositionBoat = newVal)
|
||||
.customController(opt -> new EnumController<>(opt, HudPosition.class))
|
||||
.build())
|
||||
.option(Option
|
||||
.<Integer>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.elytra_options.option.delay_hud.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.elytra_options.option.delay_hud.description")))
|
||||
.binding(2, () -> instance.boatHudDelay, newVal -> instance.boatHudDelay = newVal)
|
||||
.name(Component.translatable("simple_transport_hud.config.category.elytra_options.option.delay_hud.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.elytra_options.option.delay_hud.description")))
|
||||
.binding(0, () -> instance.boatHudDelay, newVal -> instance.boatHudDelay = newVal)
|
||||
.controller(opt -> IntegerSliderControllerBuilder.create(opt).range(0, 30).step(1))
|
||||
.build())
|
||||
.build())
|
||||
.category(ConfigCategory
|
||||
.createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.minecart_hud.name"))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.minecart_hud.name"))
|
||||
.option(Option
|
||||
.<SpeedEnum>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.elytra_options.option.speed_enum.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.elytra_options.option.speed_enum.description")))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.elytra_options.option.speed_enum.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.elytra_options.option.speed_enum.description")))
|
||||
.binding(SpeedEnum.kmh, () -> instance.speedEnumMinecart, newVal -> instance.speedEnumMinecart = newVal)
|
||||
.customController(opt -> new EnumController<>(opt, SpeedEnum.class))
|
||||
.build())
|
||||
.option(Option
|
||||
.<HudPosition>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.elytra_options.option.hud_position.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.elytra_options.option.hud_position.description")))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.elytra_options.option.hud_position.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.elytra_options.option.hud_position.description")))
|
||||
.binding(HudPosition.CENTER, () -> instance.hudPositionMinecart, newVal -> instance.hudPositionMinecart = newVal)
|
||||
.customController(opt -> new EnumController<>(opt, HudPosition.class))
|
||||
.build())
|
||||
.option(Option
|
||||
.<Integer>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.elytra_options.option.delay_hud.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.elytra_options.option.delay_hud.description")))
|
||||
.binding(2, () -> instance.minecartHudDelay, newVal -> instance.minecartHudDelay = newVal)
|
||||
.name(Component.translatable("simple_transport_hud.config.category.elytra_options.option.delay_hud.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.elytra_options.option.delay_hud.description")))
|
||||
.binding(0, () -> instance.minecartHudDelay, newVal -> instance.minecartHudDelay = newVal)
|
||||
.controller(opt -> IntegerSliderControllerBuilder.create(opt).range(0, 30).step(1))
|
||||
.build())
|
||||
.build())
|
||||
@@ -123,15 +123,15 @@ public class ModMenu implements ModMenuApi {
|
||||
private OptionGroup toggleOptions(){
|
||||
var builder = OptionGroup
|
||||
.createBuilder()
|
||||
.name( Component.translatable("simple_hud.config.category.general.group.activated_huds.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.general.group.activated_huds.description")));
|
||||
.name( Component.translatable("simple_transport_hud.config.category.general.group.activated_huds.name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.general.group.activated_huds.description")));
|
||||
|
||||
Config instance = Config.HANDLER.instance();
|
||||
for(var transport : instance.HudActivatedList.entrySet()){
|
||||
builder.option(Option
|
||||
.<Boolean>createBuilder()
|
||||
.name(Component.translatable("simple_hud.config.category.general.group.activated_huds.option." + transport.getKey().split(":")[1] + ".name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_hud.config.category.general.group.activated_huds.option." + transport.getKey().split(":")[1] + ".description")))
|
||||
.name(Component.translatable("simple_transport_hud.config.category.general.group.activated_huds.option." + transport.getKey().split(":")[1] + ".name"))
|
||||
.description(OptionDescription.of(Component.translatable("simple_transport_hud.config.category.general.group.activated_huds.option." + transport.getKey().split(":")[1] + ".description")))
|
||||
.binding(true, transport::getValue, newVal -> instance.HudActivatedList.put(transport.getKey(), newVal))
|
||||
.controller(TickBoxControllerBuilder::create)
|
||||
.build()
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.lukasabbe.simplehud.config;
|
||||
package com.lukasabbe.simpletransporthud.config;
|
||||
|
||||
import dev.isxander.yacl3.api.NameableEnum;
|
||||
import net.minecraft.network.chat.Component;
|
||||
@@ -9,6 +9,6 @@ public enum SpeedEnum implements NameableEnum {
|
||||
ms;
|
||||
@Override
|
||||
public Component getDisplayName() {
|
||||
return Component.translatable("simple_hud.config.speed_enum." + name().toLowerCase());
|
||||
return Component.translatable("simple_transport_hud.config.speed_enum." + name().toLowerCase());
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,9 @@
|
||||
package com.lukasabbe.simplehud.huds;
|
||||
package com.lukasabbe.simpletransporthud.huds;
|
||||
|
||||
import com.lukasabbe.simplehud.Constants;
|
||||
import com.lukasabbe.simplehud.config.Config;
|
||||
import com.lukasabbe.simplehud.config.HudPosition;
|
||||
import com.lukasabbe.simplehud.tools.ElytraTools;
|
||||
import com.lukasabbe.simplehud.tools.EntityTools;
|
||||
import com.lukasabbe.simpletransporthud.Constants;
|
||||
import com.lukasabbe.simpletransporthud.config.Config;
|
||||
import com.lukasabbe.simpletransporthud.config.HudPosition;
|
||||
import com.lukasabbe.simpletransporthud.tools.EntityTools;
|
||||
import net.minecraft.client.DeltaTracker;
|
||||
import net.minecraft.client.gui.GuiGraphics;
|
||||
import net.minecraft.client.renderer.RenderPipelines;
|
||||
@@ -1,9 +1,9 @@
|
||||
package com.lukasabbe.simplehud.huds;
|
||||
package com.lukasabbe.simpletransporthud.huds;
|
||||
|
||||
import com.lukasabbe.simplehud.Constants;
|
||||
import com.lukasabbe.simplehud.config.Config;
|
||||
import com.lukasabbe.simplehud.config.HudPosition;
|
||||
import com.lukasabbe.simplehud.tools.ElytraTools;
|
||||
import com.lukasabbe.simpletransporthud.Constants;
|
||||
import com.lukasabbe.simpletransporthud.config.Config;
|
||||
import com.lukasabbe.simpletransporthud.config.HudPosition;
|
||||
import com.lukasabbe.simpletransporthud.tools.ElytraTools;
|
||||
import net.minecraft.client.DeltaTracker;
|
||||
import net.minecraft.client.gui.GuiGraphics;
|
||||
import net.minecraft.client.renderer.RenderPipelines;
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.lukasabbe.simplehud.huds;
|
||||
package com.lukasabbe.simpletransporthud.huds;
|
||||
|
||||
import com.lukasabbe.simplehud.config.HudPosition;
|
||||
import com.lukasabbe.simpletransporthud.config.HudPosition;
|
||||
import net.minecraft.resources.Identifier;
|
||||
|
||||
public class HappyGhastHud extends RideableHud{
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.lukasabbe.simplehud.huds;
|
||||
package com.lukasabbe.simpletransporthud.huds;
|
||||
|
||||
import com.lukasabbe.simplehud.config.HudPosition;
|
||||
import com.lukasabbe.simpletransporthud.config.HudPosition;
|
||||
import net.minecraft.resources.Identifier;
|
||||
|
||||
public class HorseHud extends RideableHud {
|
||||
@@ -1,9 +1,9 @@
|
||||
package com.lukasabbe.simplehud.huds;
|
||||
package com.lukasabbe.simpletransporthud.huds;
|
||||
|
||||
import com.lukasabbe.simplehud.Constants;
|
||||
import com.lukasabbe.simplehud.config.Config;
|
||||
import com.lukasabbe.simplehud.config.HudPosition;
|
||||
import com.lukasabbe.simplehud.tools.EntityTools;
|
||||
import com.lukasabbe.simpletransporthud.Constants;
|
||||
import com.lukasabbe.simpletransporthud.config.Config;
|
||||
import com.lukasabbe.simpletransporthud.config.HudPosition;
|
||||
import com.lukasabbe.simpletransporthud.tools.EntityTools;
|
||||
import net.minecraft.client.DeltaTracker;
|
||||
import net.minecraft.client.gui.GuiGraphics;
|
||||
import net.minecraft.client.renderer.RenderPipelines;
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.lukasabbe.simplehud.huds;
|
||||
package com.lukasabbe.simpletransporthud.huds;
|
||||
|
||||
import com.lukasabbe.simplehud.config.HudPosition;
|
||||
import com.lukasabbe.simpletransporthud.config.HudPosition;
|
||||
import net.minecraft.resources.Identifier;
|
||||
|
||||
public class NautilusHud extends RideableHud {
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.lukasabbe.simplehud.huds;
|
||||
package com.lukasabbe.simpletransporthud.huds;
|
||||
|
||||
import net.minecraft.client.DeltaTracker;
|
||||
import net.minecraft.client.gui.GuiGraphics;
|
||||
@@ -1,10 +1,10 @@
|
||||
package com.lukasabbe.simplehud.huds;
|
||||
package com.lukasabbe.simpletransporthud.huds;
|
||||
|
||||
import com.lukasabbe.simplehud.Constants;
|
||||
import com.lukasabbe.simplehud.config.Config;
|
||||
import com.lukasabbe.simplehud.config.HudPosition;
|
||||
import com.lukasabbe.simplehud.config.SpeedEnum;
|
||||
import com.lukasabbe.simplehud.tools.ElytraTools;
|
||||
import com.lukasabbe.simpletransporthud.Constants;
|
||||
import com.lukasabbe.simpletransporthud.config.Config;
|
||||
import com.lukasabbe.simpletransporthud.config.HudPosition;
|
||||
import com.lukasabbe.simpletransporthud.config.SpeedEnum;
|
||||
import com.lukasabbe.simpletransporthud.tools.ElytraTools;
|
||||
import net.minecraft.client.DeltaTracker;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.GuiGraphics;
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.lukasabbe.simplehud.huds;
|
||||
package com.lukasabbe.simpletransporthud.huds;
|
||||
|
||||
import com.lukasabbe.simplehud.config.HudPosition;
|
||||
import com.lukasabbe.simpletransporthud.config.HudPosition;
|
||||
import net.minecraft.resources.Identifier;
|
||||
|
||||
public class StriderHud extends RideableHud{
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.lukasabbe.simplehud.tools;
|
||||
package com.lukasabbe.simpletransporthud.tools;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.player.LocalPlayer;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.lukasabbe.simplehud.tools;
|
||||
package com.lukasabbe.simpletransporthud.tools;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.player.LocalPlayer;
|
||||
@@ -1,34 +0,0 @@
|
||||
{
|
||||
"simple_hud.config.title": "Simple HUD config menu",
|
||||
"simple_hud.config.category.general.name": "General options",
|
||||
"simple_hud.config.category.general.tooltip": "All general options for the mod",
|
||||
"simple_hud.config.category.general.group.activated_huds.name": "Toggle HUD:s",
|
||||
"simple_hud.config.category.general.group.activated_huds.description": "Toggle menu for all transport HUD:s",
|
||||
"simple_hud.config.category.general.group.activated_huds.option.elytra_hud.name": "Elytra HUD",
|
||||
"simple_hud.config.category.general.group.activated_huds.option.elytra_hud.description": "Elytra Hud toggle",
|
||||
"simple_hud.config.category.elytra_options.name": "Elytra HUD options",
|
||||
"simple_hud.config.category.elytra_options.option.speed_enum.name": "Speed unit",
|
||||
"simple_hud.config.category.elytra_options.option.speed_enum.description": "You can change the speed unit to what you are used to",
|
||||
"simple_hud.config.speed_enum.kmh": "km/h",
|
||||
"simple_hud.config.speed_enum.mph": "MPH",
|
||||
"simple_hud.config.speed_enum.ms": "m/s",
|
||||
"simple_hud.config.position.center": "Center",
|
||||
"simple_hud.config.position.top_left": "Top Left",
|
||||
"simple_hud.config.position.top_right": "Top Right",
|
||||
"simple_hud.config.position.bottom_left": "Bottom Left",
|
||||
"simple_hud.config.position.bottom_right": "Bottom Right",
|
||||
"simple_hud.config.category.boat_hud.name": "Boat HUD options",
|
||||
"simple_hud.config.category.general.group.activated_huds.option.boat_hud.name": "Boat HUD",
|
||||
"simple_hud.config.category.general.group.activated_huds.option.boat_hud.description": "Boat Hud toggle",
|
||||
"simple_hud.config.category.general.option.scale.description": "Change the scale of the HUD",
|
||||
"simple_hud.config.category.general.option.scale.name": "Scale",
|
||||
"simple_hud.config.category.general.group.activated_huds.option.minecart_hud.name": "Minecart HUD",
|
||||
"simple_hud.config.category.general.group.activated_huds.option.minecart_hud.description": "Minecart Hud toggle",
|
||||
"simple_hud.config.category.general.option.safe_area.name": "Ignore Safe Area",
|
||||
"simple_hud.config.category.general.option.safe_area.description": "Move HUD to screen edges, ignoring GUI safe area margins",
|
||||
"simple_hud.config.category.elytra_options.option.hud_position.name": "HUD Position",
|
||||
"simple_hud.config.category.elytra_options.option.hud_position.description": "Change the position of the HUD on screen",
|
||||
"simple_hud.config.category.elytra_options.option.delay_hud.name": "Delay HUD displaying",
|
||||
"simple_hud.config.category.elytra_options.option.delay_hud.description": "Change the time it takes for the HUD to appear",
|
||||
"simple_hud.config.category.minecart_hud.name": "Minecart HUD options"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"simple_transport_hud.config.title": "Simple HUD config menu",
|
||||
"simple_transport_hud.config.category.general.name": "General options",
|
||||
"simple_transport_hud.config.category.general.tooltip": "All general options for the mod",
|
||||
"simple_transport_hud.config.category.general.group.activated_huds.name": "Toggle HUD:s",
|
||||
"simple_transport_hud.config.category.general.group.activated_huds.description": "Toggle menu for all transport HUD:s",
|
||||
"simple_transport_hud.config.category.general.group.activated_huds.option.elytra_hud.name": "Elytra HUD",
|
||||
"simple_transport_hud.config.category.general.group.activated_huds.option.elytra_hud.description": "Elytra Hud toggle",
|
||||
"simple_transport_hud.config.category.elytra_options.name": "Elytra HUD options",
|
||||
"simple_transport_hud.config.category.elytra_options.option.speed_enum.name": "Speed unit",
|
||||
"simple_transport_hud.config.category.elytra_options.option.speed_enum.description": "You can change the speed unit to what you are used to",
|
||||
"simple_transport_hud.config.speed_enum.kmh": "km/h",
|
||||
"simple_transport_hud.config.speed_enum.mph": "MPH",
|
||||
"simple_transport_hud.config.speed_enum.ms": "m/s",
|
||||
"simple_transport_hud.config.position.center": "Center",
|
||||
"simple_transport_hud.config.position.top_left": "Top Left",
|
||||
"simple_transport_hud.config.position.top_right": "Top Right",
|
||||
"simple_transport_hud.config.position.bottom_left": "Bottom Left",
|
||||
"simple_transport_hud.config.position.bottom_right": "Bottom Right",
|
||||
"simple_transport_hud.config.category.boat_hud.name": "Boat HUD options",
|
||||
"simple_transport_hud.config.category.general.group.activated_huds.option.boat_hud.name": "Boat HUD",
|
||||
"simple_transport_hud.config.category.general.group.activated_huds.option.boat_hud.description": "Boat Hud toggle",
|
||||
"simple_transport_hud.config.category.general.option.scale.description": "Change the scale of the HUD",
|
||||
"simple_transport_hud.config.category.general.option.scale.name": "Scale",
|
||||
"simple_transport_hud.config.category.general.group.activated_huds.option.minecart_hud.name": "Minecart HUD",
|
||||
"simple_transport_hud.config.category.general.group.activated_huds.option.minecart_hud.description": "Minecart Hud toggle",
|
||||
"simple_transport_hud.config.category.general.option.safe_area.name": "Ignore Safe Area",
|
||||
"simple_transport_hud.config.category.general.option.safe_area.description": "Move HUD to screen edges, ignoring GUI safe area margins",
|
||||
"simple_transport_hud.config.category.elytra_options.option.hud_position.name": "HUD Position",
|
||||
"simple_transport_hud.config.category.elytra_options.option.hud_position.description": "Change the position of the HUD on screen",
|
||||
"simple_transport_hud.config.category.elytra_options.option.delay_hud.name": "Delay HUD displaying",
|
||||
"simple_transport_hud.config.category.elytra_options.option.delay_hud.description": "Change the time it takes for the HUD to appear",
|
||||
"simple_transport_hud.config.category.minecart_hud.name": "Minecart HUD options"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 490 B |
|
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 339 B |
|
Before Width: | Height: | Size: 90 B After Width: | Height: | Size: 90 B |
|
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 170 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 178 B |
|
Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 148 B |
|
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 143 B |
|
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 167 B |
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
@@ -1,24 +1,24 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "simplehud",
|
||||
"id": "simpletransporthud",
|
||||
"version": "${version}",
|
||||
"name": "SimpleHud",
|
||||
"name": "Simple Transport HUD",
|
||||
"description": "",
|
||||
"authors": [],
|
||||
"contact": {},
|
||||
"license": "MIT",
|
||||
"icon": "assets/simplehud/icon.png",
|
||||
"icon": "assets/simpletransporthud/icon.png",
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"client": [
|
||||
"com.lukasabbe.simplehud.SimpleHudMod"
|
||||
"com.lukasabbe.simpletransporthud.SimpleTransportHudMod"
|
||||
],
|
||||
"modmenu": [
|
||||
"com.lukasabbe.simplehud.config.ModMenu"
|
||||
"com.lukasabbe.simpletransporthud.config.ModMenu"
|
||||
]
|
||||
},
|
||||
"mixins": [
|
||||
"simplehud.mixins.json"
|
||||
"simpletransporthud.mixins.json"
|
||||
],
|
||||
"depends": {
|
||||
"fabricloader": ">=${loader_version}",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "com.lukasabbe.simplehud.mixin",
|
||||
"package": "com.lukasabbe.simpletransporthud.mixin",
|
||||
"compatibilityLevel": "JAVA_21",
|
||||
"mixins": [
|
||||
],
|
||||