Skip to content

Add Moonlit Modifier#46

Open
TheMarstonConnell wants to merge 1 commit into1.21.xfrom
feature/moonlit-modifier
Open

Add Moonlit Modifier#46
TheMarstonConnell wants to merge 1 commit into1.21.xfrom
feature/moonlit-modifier

Conversation

@TheMarstonConnell
Copy link
Copy Markdown
Owner

Summary

Adds a new Moonlit modifier that creates risk/reward gameplay based on the time of day.

Features

  • Night bonuses (12542-23458 ticks):
    • Luck I effect for better loot
    • +15% damage bonus on enemy hits
    • Haste I for faster mining
  • Day penalty:
    • Weakness I effect reduces damage output
  • Visual indicator in tooltip showing current time state (☾ Night / ☀ Day)
  • Works on all tool types

Implementation Details

  • ID: moonlit
  • Crafting Item: minecraft:glow_ink_sac
  • Type: Holder + Stats + Hurter modifier
  • Implements HoldModifier, StatsModifier, and EntityHurtModifier interfaces
  • Uses precise tick-based time detection for consistent day/night cycles

Balancing

  • 15% night bonus is equal to other conditional modifiers like Early Bird
  • Weakness I penalty during day creates meaningful tradeoff
  • Pairs well with Rainy modifier for weather/time aware builds
  • Strategic depth: players must choose when to engage in combat/mining
  • Night duration (~42% of day cycle) provides reasonable uptime

- Time-of-day based modifier with risk/reward mechanics
- Night bonuses: Luck I, +15% damage/mining speed (Haste I)
- Day penalty: Weakness I effect
- Works on all tool types
- Shows current time state (Night/Day) in tooltip
- Balanced tradeoff encourages strategic timing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant