Skip to content

Fix entities 1.21.x#2616

Open
albazavr-alba wants to merge 243 commits into
TeamTwilight:26.1.xfrom
albazavr-alba:fix-entities-1.21.x
Open

Fix entities 1.21.x#2616
albazavr-alba wants to merge 243 commits into
TeamTwilight:26.1.xfrom
albazavr-alba:fix-entities-1.21.x

Conversation

@albazavr-alba

Copy link
Copy Markdown

Changes

Minotaur:

  • MinotaurRenderer: Registered ItemInHandLayer and overrode extractRenderState with ItemModelResolver to properly sync and render main-hand weapons on the 1.21.4 engine.
  • Minotaur: Standardized the main-hand weapon drop chance to the vanilla default (0.085F).

Hydra:

  • HydraHeadContainer: Introduced forceActive() and forceInactive() states to properly reset animation ticks and bitmasks, fixing client-side head invisibility upon player respawn or tracking reloads.
  • Hydra: Updated activateHeadsOnLoad to leverage the new force-activation logic.

Frosted effect:

  • RegistrationEvents: Fixed generic type constraints and class casting issues in layer attachments for entities and player skins.
  • RegistrationEvents: Refactored registerCustomRenderData to safely calculate the positive frost level via speed attribute modifiers instead of direct effect checks.
  • IceLayer: Fixed a legacy 1.12.2 math bug by directly mapping the positive effect level, ensuring proper cube rendering.

Unstable Ice Core:

  • UnstableIceCoreRenderer: Fixed model stretching ("chewing gum effect") by normalizing state.deathTime (dividing by 60.0F) into a smooth 0.0-1.0 progress range.
  • UnstableIceCoreRenderer: Restored the intentional pre-explosion micro-vibrations based on the normalized death progress.

Lich:

  • LichRenderer: Overrode the scale method with a precise factor (1.03125F) to restore the canonical legacy height (+1 texture pixel) lost due to vanilla HumanoidMobRenderer inheritance.

Fixes #2415
Fixes #2434
Fixes #2419
Fixes #2416
Fixes #2420

Sleepy-Horse and others added 30 commits October 15, 2024 15:40
jodlodi and others added 25 commits May 24, 2025 20:52
Fixes a crash issue with candles from other mods, while still allowing other mods to add to CANDLE_MAP to add more Ominous Candle variants.
@Tamaized

Tamaized commented Jun 4, 2026

Copy link
Copy Markdown
Member

The 26.1.x branch should be the target

@albazavr-alba

Copy link
Copy Markdown
Author

Oh, I was following the "1.21.x Porting" milestone. How can I change the target?

@Tamaized Tamaized changed the base branch from 1.21.x to 26.1.x June 4, 2026 19:27
@Tamaized

Tamaized commented Jun 4, 2026

Copy link
Copy Markdown
Member

I changed it, but you're going to want to change the origin locally too.

@albazavr-alba

Copy link
Copy Markdown
Author

Done! Successfully rebased my local changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet