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 @Injecthere 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
1. This can be a simple
@ModifyExpressionValue
from Mixin Extra's instead, target the has call and then justoriginal.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, ifTFMGPipeModelData
extendsPipeModelData
you can target the existingnew PipeModelData()
call and swap it our with your own ModelData, the rest can use inject's with shift set to after