quat1024 / BotaniaTweaks

small tweaks to botania, such as nerfable mana fluxfields and automatable ender air
Mozilla Public License 2.0
6 stars 7 forks source link

Make Agglomeration Plate Multiblock Ignore Direction #39

Closed whizzball1 closed 5 years ago

whizzball1 commented 5 years ago

it don't work

and it only matters because YAEH

Shadows: "if you accepted a proper state predicate direction could be ignored"

quat1024 commented 5 years ago

how do i do state predicates with crafttweaker

whizzball1 commented 5 years ago

It's not in CrT that you need to do it. It's in https://github.com/quat1024/BotaniaTweaks/blob/master/src/main/java/quaternary/botaniatweaks/modules/botania/recipe/AgglomerationRecipe.java In multiblockmatches

quat1024 commented 5 years ago

Ok, I'm not really sure how state predicates can help me here but I did play around with removing "direction"-like properties before comparing the iblockstates. Should work OK. I tried placing stairs in a bunch of different directions.

They do all get getdefaultstate-d if you use e.g. stairs as a multiblock replacement - I guess I could copy over state properties? not sure if people care enough for that though.