Ceramics

Ceramics

38M Downloads

no return is not supported for clay bucket

MeedoWorld opened this issue ยท 2 comments

commented

hello i don't know if its issue or i am doing it wrong here is the code i don't want this return an empty bucket but it show error:
recipes.addShapeless(ceramics:clay_bucket:1.noReturn(), [ceramics:clay_bucket.withTag({fluids: {FluidName: "milk_friesian", Amount: 1000}}).onlyWithTag({fluids: {FluidName: "milk_friesian", Amount: 1000}})]);

commented

No return goes on the input, you have it on the output.

commented

it worked ! thank you very much!
yes you right and should goes after NBT tag
solution :
recipes.addShapeless(ceramics:clay_bucket:1, [ceramics:clay_bucket.withTag({fluids: {FluidName: "milk_sheep", Amount: 1000}}).onlyWithTag({fluids: {FluidName: "milk_sheep", Amount: 1000}}).noReturn()]);