How to create a fully-functional crawling Minecraft plugin. 

If you have ever tried doing this, you’ve noticed that calling player.setSwimming() does not work so we have to do a little trick. This will force Paper to keep player in the swimming animation.

I achieved this completely without NMS and multi-version compatible.

In this episode, we’re going to cover:

  • Fake swimming animation — Forcing the player to swim when outside of water or even when flying by using a special trick.
  • Sending fake block updates — How to send fake block data to a certain player without editing the map.
  • Optimizing lag in PlayerMoveEvent — A more efficient way to listen for player movement.

Source Codes:

 

Learn To Make Minecraft Plugins

Creating Minecraft plugins can be confusing, with most YouTube tutorials being painfully outdated, disorganized and offering no live support.

If you want to learn from the best and create truly customized plugins, see Project Orion. This is a full training tried and tested by 2,000+ people showing you step-by-step how to make plugins (minigames, custom mobs, antipiracy, dungeons, claims etc.) and much more!

You’ll get 2x/weekly 1:1 calls to review your code and get your questions answered, plus a 1,900+ community on Discord and our private portal, covered by 30-day guarantee. It’s just so much better experience than any blog post or video since I can pour my time and heart into it and teach you 100X faster than any free YouTube tutorial can. Click here to learn more!