Compare commits

..
4 Commits
Author SHA1 Message Date
Martin Robertz 017876c80b derp 2023-12-31 12:53:35 +01:00
Martin Robertz fa58f9366a backdate ccl mod 2023-12-31 12:52:05 +01:00
Martin Robertz a416e48809 update bs+sa+gradle+deps 2023-12-31 12:36:47 +01:00
Roadhog360 d819d94422 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.
2023-12-31 03:07:59 -06:00

Diff Content Not Available