HomeJavaModsCocoon
ModsJava

Cocoon

by SAGESSE-CN · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.16.5–1.20.1 · Bukkit⬇ Download for 1.16.5–1.20.1 · Fabric⬇ Download for 1.16.5–1.20.1 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

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

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