Yes, but you can still touch blocks and even break (but it breaks for a moment and then recovers (as if I canceled BreakBlockEvent)) so it doesn't...
Just because I know) Hm... Okay. Then I will try to ask the developer of this feature about the implementation when he joins to the server UPD:...
But on the server in attached video all players in adventure gamemode. So I need to know exactly how to do this in adventure mode.
@Kars "I was trying to do something like sending blockchange packets in PlayerInteractEvent, but in adventure gamemode this event is not called" -...
Hello. I want to understand how this works: [MEDIA] I just hold down the left mouse button and the grass breaks (in middle of the video I...
@Kars Yes, i do. But it's just a byte array with a bunch of numbers. Unfortunately, there was nothing there that would give me any clue.
On ProcolWiki in Chunk Data there is a Data field with the Byte array type. [ATTACH] If I understand correctly, this field contains most of the...
@timtower ok, got it, thanks a lot :) But now the problem is how to change the blocks in the mapchunk packet. I checked the protocol wiki, but...
@timtower Okay, but what's the difference? If I change the packet and send it, or change it and don't send it, the same thing happens
@timtower Oh, like, use event.setPacket() instead of manager.sendServerPacket()? But what's the big difference? And in my version (1.12.2) bulk...
@timtower You mean something like that? ProtocolManager manager = ProtocolLibrary.getProtocolManager(); manager.addPacketListener(new...
@timtower I tried to send PacketPlayOutMapChunk packet, but it's also disappears when player exit, and also don't sending in join event. Or maybe...
@timtower Well, my original goal is that blockchange does not disappear after the player exits. But it will not be possible to do this directly...
@timtower So, how to load it before sending blockchange in join event? At first I tried to load chunk in which I want to send blockchange. I was...
Hello. Nothing happens when trying to send a BLOCK_CHANGE packet (using ProtocolLib and PacketWrapper) at a player join event: public final class...
Separate names with a comma.