Veil Origins

When the Veil falls though the true origins of the ones you thought where friends...

File Details

veil_origins_neoforge-1.0.4-1.21.11.jar

  • R
  • Dec 30, 2025
  • 916.36 KB
  • 106
  • 1.21.11
  • NeoForge

File Name

veil_origins-1.0.4.jar

Supported Versions

  • 1.21.11

Curse Maven Snippet

NeoForge

implementation "curse.maven:veil-origins-1398360:7397079"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

v1.0.4 - 1.21.11 (2025-12-29)

Updated

  • Minecraft 1.21.11 with NeoForge 21.11.14-beta
  • Parchment mappings updated to 2025.12.20 for 1.21.11

Migration Changes (1.21.10 → 1.21.11)

Based on the 1.21.10 → 1.21.11 Migration Primer:

  • MoonPhase API Change - Level#getMoonPhase() removed, now calculated manually from day time
    • Moon phase cycles every 8 days (192000 ticks), phase 0 is full moon
    • Affects Werewolf full moon detection

v1.0.4 (2025-12-29)

Updated

  • Minecraft 1.21.10 with NeoForge 21.10.64
  • Parchment mappings updated to 2025.10.12 for 1.21.10

Added

Vampire Blood System Overhaul

  • Blood Bar replaces Hunger Bar - Vampires now have a blood bar that replaces the vanilla hunger bar

    • Blood drains slowly over time (faster when sprinting or healing)
    • High blood (80+) enables natural regeneration
    • Empty blood causes starvation damage
    • Blood syncs to hunger level for compatibility
  • Blood Bottle Items - New consumable items for vampires

    • Empty Blood Bottle - craft from glass bottle
    • Half Blood Bottle - restores 50 blood
    • Full Blood Bottle - restores 100 blood
    • Drinking gives regeneration effect
    • Only vampires can drink blood bottles
  • Bottle Filling Mechanic - Fill blood bottles while draining animals

    • Hold empty/half bottle in offhand while using Blood Drain ability
    • Hold empty/half bottle in offhand while using Blood Drain Gaze passive
    • Empty → Half → Full progression

Vampire Ability Blood Costs

  • Bat Form - Costs 25 blood to activate
  • Vampiric Leap - Costs 5 blood per leap
  • Blood Drain - Free (gives +15 blood per drain)

Sun Damage Fix

  • Fixed vampire sun damage not working properly
  • Now correctly checks daytime (0-12500 or 23500-24000)
  • Rain provides protection from sun
  • Visual fire effect when burning

Custom Resource Bar API

  • CustomResourceBar - New API class for configuring custom resource bars

    • Multiple styles: ICONS, SOLID_BAR, SEGMENTED_BAR, REPLACE_HUNGER, REPLACE_HEALTH
    • Configurable positions: HOTBAR_LEFT, HOTBAR_RIGHT, corners, custom
    • Custom colors (primary, secondary, critical, background, border)
    • Sprite support for icon-based bars
    • Animation options (pulse when low, bounce when critical)
    • Threshold settings for low/critical states
    • Factory methods: bloodBar(), manaBar(), heatBar(), hydrationBar(), stellarBar()
  • ResourceType - Updated with custom bar support

    • setCustomBar(CustomResourceBar) - attach custom bar configuration
    • Factory methods for common resource types
  • CustomBarRenderer - New renderer for custom bars

Fixed

Radial Menu Clickability (1.21.10)

  • Fixed radial menu not responding to mouse clicks
    • Root cause: NeoForge 21.10 changed Screen input handling API
      • mouseClicked(double, double, int)mouseClicked(MouseButtonEvent, boolean)
      • keyPressed(int, int, int)keyPressed(KeyEvent)
    • Implemented GLFW polling workaround in tick() method
    • Uses GLFW.glfwGetMouseButton() and GLFW.glfwGetKey() for direct input polling
    • Uses GLFW.glfwGetCurrentContext() to get the window handle
    • Edge detection ensures actions trigger only on key/button press
    • Menu now correctly handles segment clicks, subsection clicks, and center clicks
    • ESC key properly closes the menu
    • R key refreshes origins in origin select mode

Keybind Registration Issue (1.21.10)

  • Fixed duplicate keybind registration causing issues
    • Root cause: Keybindings were being registered twice:
      • Once via @EventBusSubscriber in KeyBindings.java
      • Again via modEventBus.addListener(this::registerKeyMappings) in VeilOrigins.java
    • Removed duplicate registration from VeilOrigins.java
    • Keybinds are now registered only once via @EventBusSubscriber

Other Fixes

  • Vampire sun damage now works correctly
  • Blood bar sprites render properly using blitSprite with RenderPipelines.GUI_TEXTURED