Cocoon

A Plugin & Mod Runtime Library

by
3.0K Downloads
bukkitfabricforgelibrary
Rent Server with this Mod

About this Mod

Cocoon

A library that provided mod compatibility layer support for plugin servers.



The main features is provide mod compatibility service for pure plugin servers, so the client features still need to rely on mods.


Unlike the mod server, the mod compatibility service provided by cocoon is optional, which means vanilla players still can join and play the server normally. 




Features

You can implement this features on the plugin server:

  1. Create custom items

  2. Create custom blocks, and custom hitboxes

  3. Create custom entities

  4. Create custom size containers

  5. Create custom container UI

How To Use

Note cocoon split the client and server versions, so careful use a wrong version.

**

For Developer:**

NOTE: API documentation is coming soon

  1. Add cocoon dependency to your plugin project

  2. Implement the classes provided by cocoon 



  3. Register the class of you implemented class into cocoon



  4. Done, the remaining work by cocoon

**

For Server Owner: 

**

  1. Install any bukkit server

  2. Install concoon server library

  3. Install compatible plug-ins that depend on cocoon

  4. Done

For Plugin Server Client User:

  1. Install fabric/forge

  2. Install cocoon client library

  3. Install the mods required for the plugin server

  4. Done

Available Versions

cocoon-server-2.0.2release
MC 1.16.5, 1.18.2, 1.19.2, 1.20.1bukkit
January 20, 2025
cocoon-client-2.0.1release
MC 1.16.5, 1.18.2, 1.19.2, 1.20.1fabric, forge
April 16, 2024
cocoon-server-2.0.1release
MC 1.16.5, 1.18.2, 1.19.2, 1.20.1bukkit
April 16, 2024

How to Install Cocoon on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set bukkit Loader

In the panel under "Egg", select the bukkit loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Cocoon". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

bukkitfabricforge

Minecraft Versions

1.20.1, 1.19.2, 1.18.2 (+1 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Cocoon server crashes on startup – what to do?

Most common cause: wrong bukkit version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Cocoon compatible with bukkit and fabric and forge?

Cocoon officially supports bukkit, fabric, forge for Minecraft 1.20.1, 1.19.2, 1.18.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Cocoon – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Cocoon consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Cocoon with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

1.20.11.19.21.18.21.16.5