Henry Loenwind

Results 151 comments of Henry Loenwind

I renamed the event to make it clearer what it is there for and what it isn't. I also expanded the Javadoc to include answers to questions asked here, as...

![image](https://github.com/user-attachments/assets/008929ab-5095-409d-bb86-8fae03cd1bdb) Wasn't the amount inside the bar once or was this something I invented when I copied the bar for my mod?

> For server configs: If it is saved outside a world, it should edit default server config. And if inside world, it should save into the world’s serverconfig folder. Dunno...

Just remember that the user most likely does have no idea the config could even be made world-specific. Also, I'd expect them to expect to edit the config that currently...

> You could do it similar to how old NEI did its config. I think it had global by default and world-specific was accessed by changing which set of configs...

I came here today to request exactly this. *raises hand: me, too* From an implementation standpoint, while I can only guess as I don't know the code, I figure there...

Note that getRecipeManager() is on Level, not ServerLevel. However, the client-server handling in this example is not the best. Cancelling the event only on the server and letting it run...

> Would you mind explaining how the change fixes a client/server desync? Sure. Imageine there is a listener from another mod that also listens to UseItemOnBlockEvent and plants a flower....

> supply the correct interaction result Sure. Could you take that part? I don't feel secure enough in that part yet...