DrMango14 / Create-The_Factory_Must_Grow

Other
17 stars 18 forks source link

More compatible mixins #106

Open IThundxr opened 2 months ago

IThundxr commented 2 months ago

1. This can be a simple @ModifyExpressionValue from Mixin Extra's instead, target the has call and then just original.call(instance, ...) && MyBlock.SOMETHING.has(targetState) && && MyBlock.SOMETHING2.has(targetState) 2. you can use a @Inject here with shift = At.Shift.AFTER 3. This mixin can also use inject's, if TFMGPipeModelData extends PipeModelData you can target the existing new PipeModelData() call and swap it our with your own ModelData, the rest can use inject's with shift set to after