Commit Graph
37 Commits
Author SHA1 Message Date
Algent 5543de57c5 Merge branch 'master' into algent/java
# Conflicts:
#	dependencies.gradle
2026-10-15 16:19:52 +02:00
Martin Robertz b42613eca8 update+bs+deps+gitignore+gradle 2026-10-14 21:07:20 +02:00
Algent d3f1b561a3 Merge master with Cubic Chunks compatibility
Port PR #49's tile insertion and cube-load fixes to the Java implementation while preserving the legacy chunk loader ABI.
2026-09-15 21:33:20 +02:00
RecursivePineappleandMartin Robertz 7808254465 Fix TE interceptor for CC (#49)
Co-authored-by: Martin Robertz <dream-master@gmx.net>
2026-09-15 14:29:59 -04:00
Algent f86a31d908 feat: Tint microblock breaking particles by material colour
Covers whose texture is greyscale and coloured at render time broke into
grey particles. A grass cover hit on the top face gave stone coloured
particles while its sides and bottom looked right, and a leaves cover was
wrong on every face. The cover itself rendered correctly, because
BlockMicroMaterial.renderMicroFace already feeds colorMultiplier to the
face renderer, but nothing carried that tint through to the particles.

Add getBreakingColour to IMicroMaterial, defaulting to no tint.
BlockMicroMaterial returns the block colour multiplier and
GrassMicroMaterial restricts it to the top face, since grass_side and
dirt are already coloured, matching the carve out in vanilla
EntityDiggingFX. JIconHitEffects gains matching getBreakingColour and
getBrokenColour defaults, IconHitEffects passes them to the colour aware
EntityDigIconFX overloads, and McBlockPart uses the colour multiplier of
the block it wraps.

Microblock carries the part level override rather than the
MicroblockClient trait. A new Scala trait member is abstract on the
compiled interface, so mixins built against older FMP would fail with
AbstractMethodError, which the frozen ReferenceScalaMicroblockTraits
fixture caught. A concrete method on the class is inherited by those
mixins instead, and still wins over the interface default.

Characterization expectations are updated for the added signatures and
for the hit effect evaluation order, which now reads the colour from the
material right after the icon for the same side.

Needs the CodeChickenCore build that adds the colour aware
EntityDigIconFX overloads.
2026-09-14 11:28:11 +02:00
Algent b045c1bc4a Merge master JSON model support into Java port 2026-09-09 10:27:05 +02:00
Ryan Nasers 2d050bdd08 Additional ISBRH compat + JSONModel Compat from GTNHLib (#54) 2026-09-06 23:45:06 +02:00
Algent 7152b5e394 test: characterize microblock packet handlers
Pin the packet-handler ABI, client registry handling, and server handshake payload before the Java port.
2026-08-31 13:38:00 +02:00
Algent 370b35328f perf: remove multipart read-path wrappers 2026-08-28 17:02:02 +03:00
Algent 08ee01c97e Comment out that dep added a bit too early 2026-08-15 10:43:38 +02:00
Algent 4ae2a6d0fa test: add Forge server characterization
Run JUnit after FML server startup and gate the task on fresh XML because Forge can exit zero after a test-mod exception.
2026-08-14 17:27:18 +02:00
Algent e33d3b2493 Add first characterization tests 2026-08-14 16:52:22 +02:00
FourIsTheNumber d2ce5b7362 Add postea transformer for microblock items (#48) 2026-07-04 20:02:17 -04:00
Martin Robertz 732f64a1b4 update+gradle+deps+bs 2026-04-27 13:42:24 +02:00
Martin Robertz a1db9a100e update 2025-10-24 23:00:37 +02:00
Alexdoru f3a0ab0568 Delete DepLoader and declare depency properly (#31) 2025-08-01 00:42:50 +02:00
Maya ef67761bc3 update 2025-06-03 12:52:42 -06:00
David Lindström 05eb683a33 Forward material to shader (#27) 2025-05-27 23:22:56 +02:00
Dream Master 11b6142320 update 2025-01-15 12:39:45 +01:00
Martin Robertz ad7a1d3cea Update dependencies.gradle 2024-12-31 15:06:58 +01:00
Martin Robertz 1bd4ef4a0f update 2024-12-31 14:24:36 +01:00
Martin Robertz 38a2bf629f update 2024-05-26 12:44:42 +02:00
Martin Robertz b60993f39b update 2024-02-13 10:17:19 +01:00
bombcarandMartin Robertz f4a9610e22 Re-add dependencies.info corrected, update BS etc (#22)
* read corrected dependencies.info

* update bs, dependencies, and settings.gradle

---------

Co-authored-by: Martin Robertz <dream-master@gmx.net>
2024-01-10 00:26:17 +01:00
Martin Robertz 3a01a5bd21 update bs+deps 2024-01-08 23:48:23 +01:00
bombcar 5039fb8984 update to support 1.2.0 CCL - needs work to be more performant 2024-01-02 11:38:11 -06:00
Roadhog360andMartin Robertz d336cfbb67 Fix ButtonPart.java crashes, tweaks to allow mods to hook it (#20)
* Fix ButtonPart.java crashes, tweaks to allow mods to hook it
`ButtonPart`:
- Rewrite `getBounds()` to use a list generated from the button hitbox itself, instead of being a hardcoded list. Then mods like Et Futurum Requiem which change buttons only have to mix to `metaSideMap` and `sideMetaMap`
  - This adds an access transformer to get the button hitbox states, which are ordinarily private.
- Change `placement` to check if the corresponding side's value in `sideMetaMap` is `-1` instead of a hardcoded side check, so top/bottom is still unplaceable unless mods add it.
`McSidedMetaPart.java`:
- Fix crash from out of bounds side values from meta (notably in this commit, `-1` from buttons) by making any value below 0 or above 5 return false.

* update bs+sa+gradle+deps

* backdate ccl mod

* derp

---------

Co-authored-by: Martin Robertz <dream-master@gmx.net>
2023-12-31 16:40:51 +01:00
Martin Robertz 819d28b993 update bs+deps 2023-11-08 08:13:28 +01:00
miozune 2f6bd45e4f Update build (#16)
* Update build

* spotlessApply
2023-06-27 17:23:32 +09:00
chochem eb8256c355 dep 2023-04-27 16:31:44 +01:00
Raven Szewczyk 1ba2172e8a Fix wrong asm types being used for TypeInsnNodes 2023-01-19 17:12:21 +00:00
Raven Szewczyk 3e877b618e Update codechickenlib 2022-09-18 22:04:11 +01:00
miozune 19a6540aff Ducttape crash 2022-05-25 16:55:12 +09:00
Jason Mitchell 8ee4202610 update to explicit dependencies 2022-01-17 22:09:29 -08:00
Johann Bernhardt eb24fc8f62 Strip transitive dependencies 2021-11-22 13:49:34 +01:00
Johann Bernhardt 02aad542d6 Updated build script and switch to in-house dependencies 2021-11-22 09:12:42 +01:00
Johann Bernhardt 02c126b16c Upgraded to unified build script 2021-11-19 23:01:31 +01:00