Commit Graph
3 Commits
Author SHA1 Message Date
Algent 3efd603939 docs: demonstrate block converter lifecycle 2026-09-05 18:14:43 +02:00
Algent 9ee7415981 fix: preserve virtual multipart tile accessors 2026-09-04 14:08:47 +02:00
Algent 1b9eb05726 refactor: port TMultiPart to Java
Converts the base class every part extends. The cleanest port so far:
every descriptor is identical to the reference across all members, no
public member is lost or added, @SideOnly sits on the same seven members,
and the same two members stay deprecated.

No in-repo Scala call site needed changing, which is a first for a type
this widely used. Scala resolves the empty-paren Java accessors as it did
the Scala ones, and assignment to tile still desugars to tile_$eq.

The only real implementation is collisionRayTrace. getSubParts was
traversed through JavaConversions purely to get Scala's map, but
rayTraceCuboids already took a java.util.List, so the Java loop builds
that list directly and the conversion disappears along with the single
anonfun class.

Validated with 90 plain-JVM tests, a clean build, and the Java 8 Forge
dedicated-server suite.
2026-08-15 11:23:42 +02:00