Frinn38 / Custom-Machinery

A Minecraft Mod about creating cutom machines that works
GNU Lesser General Public License v3.0
45 stars 17 forks source link

[1.18.2]Exit the world/game,the machine does not work #74

Closed Tki-sor closed 1 year ago

Tki-sor commented 1 year ago

2023-01-08_15 08 31 Then, exit the world 2023-01-08_15 08 58 But,if exit game,join the world 2023-01-08_15 15 14 Sorry, I don't speak English.

My machine: evaporator.zip

Frinn38 commented 1 year ago

Your machine does not define a model for when it's errored so it use the default model

"appearance": {
      "errored": {}, <------ HERE
      "running": {
        "block":"custommachinery:machine/evaporator_on"
      },
      "idle": {
        "block": "custommachinery:machine/evaporator"
      },
      "paused": {}
}
Tki-sor commented 1 year ago

Your machine does not define a model for when it's errored so it use the default model

"appearance": {
      "errored": {}, <------ HERE
      "running": {
        "block":"custommachinery:machine/evaporator_on"
      },
      "idle": {
        "block": "custommachinery:machine/evaporator"
      },
      "paused": {}
}

I'm sorry for that, but I mean it can be a stable trigger error. The machine does not retain progress when exiting the game. Just as I did above.

https://user-images.githubusercontent.com/78548154/211196385-580f7057-e6d9-4d59-8799-12685752e6ad.mp4

Frinn38 commented 1 year ago

Can I see your recipe too ?

Tki-sor commented 1 year ago

onEvent('recipes', event => { event.recipes.custommachinery.custom_machine("unrealworld_machines:evaporator", 3600) .requireBlock(["minecraft:fire", "minecraft:campfire"], true, 0, -1, 0, 0, -1, 0) .requireFluid('minecraft:water') .requireItem('unrealworld:inpure_mineral_salt_dust') .produceItem('unrealworld:inpure_nitrate_dust'); })

Frinn38 commented 1 year ago

Ok I see the problem, there is indeed a bug and it will be fixed for the next update. Thanks for reporting that bug.

Frinn38 commented 1 year ago

Forgot to close this issue, that bug was fixed in a previous update (0.7.5)