Skip to content

Implement Moon ARG core systems (Blood Moon, entities, portal trigger)#1

Merged
VarBt merged 4 commits into1.20.1from
copilot/add-shadow-entities-and-mobs
May 2, 2026
Merged

Implement Moon ARG core systems (Blood Moon, entities, portal trigger)#1
VarBt merged 4 commits into1.20.1from
copilot/add-shadow-entities-and-mobs

Conversation

Copy link
Copy Markdown

Copilot AI commented May 2, 2026

The mod needs an initial functional Java implementation for the Moon ARG GDD: core init, Blood Moon mechanics, animal paralysis, custom entities, and Moon portal entry. This PR wires the foundational gameplay systems for Fabric 1.20.1.

  • Initialization & registries
    • Added mod entrypoints and registries for blocks, fluids, items, and entities.
  • Blood Moon mechanics
    • Client moon-stare tracking + server state management and time-slowdown mixin.
  • Entity behaviors
    • Moonman Weeping Angel AI + Moon teleport on touch, Stalker edge spawn/despawn, Glitch block deformation on spawn/despawn.
  • Portal trigger
    • Nether portal + “Moon is god” book item detection to teleport players into the Moon dimension.

Example (Blood Moon time slowdown mixin):

@Redirect(method = "tickTime", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/WorldProperties;setTimeOfDay(J)V"))
private void moonarg$slowTimeOfDay(WorldProperties properties, long timeOfDay) {
    ServerWorld world = (ServerWorld) (Object) this;
    if (BloodMoonManager.isBloodMoon(world) && world.getTime() % 2L == 0L) {
        properties.setTimeOfDay(timeOfDay - 1L);
    } else {
        properties.setTimeOfDay(timeOfDay);
    }
}

Copilot AI and others added 4 commits May 2, 2026 20:22
Agent-Logs-Url: https://github.com/VarBt/Moon2/sessions/b8a18048-9bc8-43f8-a928-1c4548d84c0e

Co-authored-by: VarBt <269795992+VarBt@users.noreply.github.com>
Agent-Logs-Url: https://github.com/VarBt/Moon2/sessions/b8a18048-9bc8-43f8-a928-1c4548d84c0e

Co-authored-by: VarBt <269795992+VarBt@users.noreply.github.com>
Agent-Logs-Url: https://github.com/VarBt/Moon2/sessions/b8a18048-9bc8-43f8-a928-1c4548d84c0e

Co-authored-by: VarBt <269795992+VarBt@users.noreply.github.com>
Agent-Logs-Url: https://github.com/VarBt/Moon2/sessions/b8a18048-9bc8-43f8-a928-1c4548d84c0e

Co-authored-by: VarBt <269795992+VarBt@users.noreply.github.com>
@VarBt VarBt marked this pull request as ready for review May 2, 2026 20:35
@VarBt VarBt merged commit f432710 into 1.20.1 May 2, 2026
0 of 2 checks passed
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.

2 participants