Open GAA775 opened 1 year ago
It should fire BlockEvent.BreakEvent, then some mixed-server implementation can process it correctly. Other mod can also process it by this way.
https://github.com/ClumsyAlien/TimelessandClassics_Reforged/issues/111 I think my issue and pull request can solve your problem https://github.com/ClumsyAlien/TimelessandClassics_Reforged/issues/111
111 I think my issue and pull request can solve your problem #111
It didn't call forge event. Other compatible mod are usually process by Forge event.
(I haven't found some way to listen game event.)
And the issue occurs on mixed-server implementation, there are some different in plain forge.
Hello, everyone I am an ordinary Mincreft player in China and also a plug-in maker. I like TAC very much and opened a server for it. And around TAC as the core, make plug-ins that simulate various competitive modes of cod.
Now I have a problem, that is, I don't want the gun to be harmful to the glass of the main world. In fact, I noticed that TAC has a configuration file that can disable the damage of the gun to the glass, but for our game mode, We may need to enable bullets to destroy glass in some worlds (the world is dynamically generated, can be destroyed, and resets after the game is completed).
I've tried all the detectable events and they don't work
I noticed that the relevant code implementation in 1.16 is as follows
It triggers the world#destroyBlock method, which I thought was caught by the #BlockBreakEvent event in spigot, but it doesn't work. Is there an event in spigot that can capture the event of firearms breaking glass? Thanks😊