HomeJavaModsdragon-egg-plugin
dragon-egg-plugin

dragon-egg-plugin

A plugin for 1.21.11 paper / folia minecraft server to adjust the rarity of dragon egg

version

How to use it?

  1. Choose your preferred version of the plugin in the releases section
  2. Download the jar file
  3. Put the jar file in your server's plugins folder
  4. Restart your server

I made changes to the plugin, how do I build it myself?

  1. make sure you have Java and Gradle installed on your machine
  2. clone the repo
  3. cd into the directory you cloned
  4. run gradle build in terminal
  5. the plugin jar will be in build/libs/

Some common changes you might want to make

  1. Change the dragon egg drop rate: change the value of EGG_CHANCE in DragonEggDropListener.java
  2. I do not want to remove the dragon egg entity, but instead some other actions: change line 37 of DragonEggPortalListener.java

Make sure to rebuild the plugin after making changes and put the new jar file in your server's plugins folder, replacing the old one.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more