An all out rework on the 1.20.1 Forge branch.#15
Open
Nacolla wants to merge 10 commits intoFloofHips:mainfrom
Open
An all out rework on the 1.20.1 Forge branch.#15Nacolla wants to merge 10 commits intoFloofHips:mainfrom
Nacolla wants to merge 10 commits intoFloofHips:mainfrom
Conversation
…tion and improved water seeking.
- Fixed speed lag/glitch when controlled by helm by correctly applying speed attributes in travel() - Fixed compilation error due to missing platformsStable field - Translated Portuguese comments to English for consistent documentation
…Forge) Ports the shader compatibility system from 1.21.1 to 1.20.1 Forge: - ShaderCompatLib: Detects Oculus via net.minecraftforge.fml.ModList to choose the appropriate render path at runtime - HullbackArmorTextureManager: Pre-composites damaged armor texture by replicating vanilla's dragonExplosionAlpha alpha-test logic in software. Compares mask alpha against (progress * 255) threshold per pixel. Uses intelligent caching keyed by entity ID, armor item, and progress. - HullbackRenderer: Routes to single-pass entityCutoutNoCull when Oculus is active, falling back to vanilla dual-pass when it is not. Uses entityCutoutNoCull to preserve interior face visibility through damage holes, matching vanilla's visual behavior exactly. API adaptations for Forge 1.20.1: - Uses new ResourceLocation() instead of fromNamespaceAndPath() - Uses net.minecraftforge.fml.ModList instead of net.neoforged - Checks only Oculus (Iris is Fabric-only, not relevant on Forge)
- Add server-side config with hullbackSpawnWeight, hullbackDespawnTimeTicks, hullbackDespawnTimeMultiplier, and hullbackDespawnGraceRadius - Register SERVER_SPEC in ModLoadingContext to generate server-side config file - Add ConfigurableSpawnModifier and WBBiomeModifierRegistry for dynamic spawn weight - Add hullback_spawn.json biome modifier for ocean spawn registration - Implement despawn timer logic in tick() with grace zone support - Despawn timer pauses when a player is within the configured grace radius (default 16 blocks) - Setting grace radius to 0 disables the grace zone entirely - Wild Hullbacks (not tamed, named, or persistent) despawn after configurable time
- Fixed biome modifier codec() to return registered RegistryObject for proper Forge recognition - Removed diagnostic log statements from ConfigurableSpawnModifier - Reduced hasNearbyHullbacks detection area from 32/16/32 to 16/8/16 to allow more concurrent spawns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Pull Request is focused on: