mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-21 12:42:51 +00:00
* 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 <[email protected]>
7 lines
194 B
Groovy
7 lines
194 B
Groovy
// Add your dependencies here
|
|
|
|
dependencies {
|
|
api("com.github.GTNewHorizons:CodeChickenLib:1.1.8:dev")
|
|
devOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.4.13-GTNH:dev")
|
|
}
|