Skip to content

Optimizations#48

Open
BazZziliuS wants to merge 10 commits intoTarantelTM:masterfrom
Minecraft-Optimization:optimizations
Open

Optimizations#48
BazZziliuS wants to merge 10 commits intoTarantelTM:masterfrom
Minecraft-Optimization:optimizations

Conversation

@BazZziliuS
Copy link

The latest version of the mod from curseforge was taken and decompiled.
Several optimizations were made. The server now runs more smoothly.

https://github.com/BazZziliuS/Roost_Ultimate/blob/optimizations/CHANGELOG.md

- Add crlib and CC:Tweaked API dependencies to build.gradle
- Add maven.squiddev.cc repository for CC:Tweaked
- Fix ModDataComponents to use registerComponentType() instead of raw register()
- Fix unchecked cast in ModEntities for EntityType.byString()
- Remove Soul Breeder (block, tile, screen, handler, recipes, models)
- Add Feeder, Collector, Pipe system
- Add CC:Tweaked peripheral integration
- Add datagen for models, recipes, tags
- Add auto-output, round-robin, stack mode networking
- Update all recipe integrations (JEI, REI, EMI)
- Update Jade component providers
- Update entity, item, block registrations
- Update resources: blockstates, models, lang, recipes
- Cache recipe lookup result, only re-query when slots 0/1 change
- Remove unnecessary ItemStack.copy() in RecipeInput.getItem()
- Eliminate double recipe lookup in craftItem() by reusing cached recipe
- Skip recipe check entirely when chicken slot is empty
- Call setChanged() only when state actually changes, not every tick
- Update mod version to 4.2.3
- Rename archive to _opt suffix
- Add GitHub Actions workflow for build with artifact upload
- Replace per-tick level.hasNeighborSignal() with cached value
- Update cache in RoostBlock.neighborChanged() and onLoad()
- Eliminates ~1.5% overhead from redstone signal polling every tick
- Check if output slot is at max stack size before recipe lookup
- Resets progress and pauses work until output has space
Allow modpack developers to register custom chickens by placing JSON
files in crlib/custom/. The mod scans this directory at startup and
registers items and entities for each valid entry, so KubeJS recipes
referencing those items work without errors.

Files starting with "_" are ignored. An example file is auto-generated
on first launch. Includes documentation (CUSTOM_CHICKENS.md).
Replace minimal JSON entries with complete definitions including
texture names, damage flags, and proper chicken names from the
previous config. Add summary table to documentation.
@TarantelTM
Copy link
Owner

Hello,
Will check all

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