Enhanced Celestials(Fabric) - Blood Moons & Harvest Moons

Enhanced Celestials(Fabric) - Blood Moons & Harvest Moons

5M Downloads

[Bug]: Missing super_moon event in lang files

umLu opened this issue ยท 1 comments

commented

Minecraft Version

1.19.2

Enhanced Celestials Version

2.1.0.1

Mod Loader

Fabric

Mod Loader Version

0.14.9

Bug Severity

Minor

What happened?

Missing notifications and names of Super Moon

Enhanced-Celestials/Common/src/main/resources/assets/enhancedcelestials/lang/en_us.json

{
  "enhancedcelestials.commands.disabled": "Enhanced Celestials' lunar events are disabled for this world!",
  "enhancedcelestials.commands.lunarevent_missing": "\"%s\" is not a valid lunar event!",
  "enhancedcelestials.lunarforecast.days_left": "(in %sd)",
  "enhancedcelestials.lunarforecast.empty": "No upcoming lunar events.",
  "enhancedcelestials.lunarforecast.header": "Current Lunar forecast:\n%s",
  "enhancedcelestials.lunarforecast.recompute": "Lunar forecast was recomputed!",
  "enhancedcelestials.name.blood_moon": "Blood Moon",
  "enhancedcelestials.name.blue_moon": "Blue Moon",
  "enhancedcelestials.name.harvest_moon": "Harvest Moon",
  "enhancedcelestials.name.moon": "Moon",
  "enhancedcelestials.name.super_moon": "Super Moon", <-------------------------------
  "enhancedcelestials.name.super_blood_moon": "Super Blood Moon",
  "enhancedcelestials.name.super_blue_moon": "Super Blue Moon",
  "enhancedcelestials.name.super_harvest_moon": "Super Harvest Moon",
  "enhancedcelestials.notification.super_moon.rise": "The \"Super Moon\" rises...", <-------------------------------
  "enhancedcelestials.notification.super_moon.set": "The \"Super Moon\" sets...", <-------------------------------
  "enhancedcelestials.notification.blood_moon.rise": "The \"Blood Moon\" rises... Distant sounds of the undead can be heard...",
  "enhancedcelestials.notification.blood_moon.set": "The \"Blood Moon\" sets... The undead begin to burn...",
  "enhancedcelestials.notification.blue_moon.rise": "The \"Blue Moon\" rises... You feel lucky!",
  "enhancedcelestials.notification.blue_moon.set": "The \"Blue Moon\" sets... You don't feel lucky anymore...",
  "enhancedcelestials.notification.harvest_moon.rise": "The \"Harvest Moon\" rises... Your crops provide a better harvest.",
  "enhancedcelestials.notification.harvest_moon.set": "The \"Harvest Moon\" sets...",
  "enhancedcelestials.notification.super_blood_moon.rise": "The \"Super Blood Moon\" rises... Distant sounds of the undead can be heard...",
  "enhancedcelestials.notification.super_blood_moon.set": "The \"Super Blood Moon\" sets... The undead begin to burn...",
  "enhancedcelestials.notification.super_blue_moon.rise": "The \"Super Blue Moon\" rises... You feel very lucky!",
  "enhancedcelestials.notification.super_blue_moon.set": "The \"Super Blue Moon\" sets... You don't feel very lucky anymore...",
  "enhancedcelestials.notification.super_harvest_moon.rise": "The \"Super Harvest Moon\" rises... Your crops provide an exceptional harvest.",
  "enhancedcelestials.notification.super_harvest_moon.set": "The \"Super Harvest Moon\" sets...",
  "enhancedcelestials.sleep.fail": "You may not rest now because the current lunar event prevents it.",
  "block.enhancedcelestials.meteor": "Meteor",
  "block.enhancedcelestials.space_moss_carpet": "Space Moss Carpet",
  "block.enhancedcelestials.space_moss_block": "Space Moss Block",
  "block.enhancedcelestials.space_moss_grass": "Space Moss Grass",
  "item.enhancedcelestials.space_moss_bug_spawn_egg": "Space Moss Bug Spawn Egg",
  "entity.enhancedcelestials.meteor": "Meteor",
  "entity.enhancedcelestials.space_moss_bug": "Space Moss Bug"
}

Super Moon Event
Enhanced-Celestials/Common/src/main/java/corgitaco/enhancedcelestials/api/lunarevent/DefaultLunarEvents.java

public static final Holder<LunarEvent> SUPER_MOON = createEvent("super_moon", () ->
            new LunarEvent(
                    ImmutableMap.of(Level.OVERWORLD, new LunarEvent.SpawnRequirements(0.05, 20, DEFAULT_SUPER_MOON_PHASES)),
                    new LunarEventClientSettings(
                            new ColorSettings("", 0, "", 0),
                            40,
                            null,
                            null
                    ),
                    new LunarTextComponents(
                            new CustomTranslationTextComponent(
                                    "enhancedcelestials.name.super_moon",
                                    Style.EMPTY.applyFormat(ChatFormatting.RED)
                            ),
                            new CustomTranslationTextComponent(
                                    "enhancedcelestials.notification.super_moon.rise",
                                    Style.EMPTY.applyFormat(ChatFormatting.RED)
                            ),
                            new CustomTranslationTextComponent("enhancedcelestials.notification.super_moon.set")),
                    new LunarMobSettings(ImmutableMap.of(),
                            new LunarMobSpawnInfo(true, false, true, MobSpawnSettings.EMPTY),
                            List.of(),
                            new InverseEntityFilter(AnyEntityFilter.INSTANCE)),
                    DropSettings.EMPTY)
    );

latest.log

No log needed

commented

Same error with Enhanced_Celestials-forge-1.19.2-2.1.0.2