MCPcopy Index your code
hub / github.com/CloudburstMC/Nukkit

github.com/CloudburstMC/Nukkit @1.16

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.16 ↗ · + Follow
11,847 symbols 32,314 edges 1,530 files 1,433 documented · 12% updated 21d agosnapshot · 2018-07-15★ 1,35090 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

nukkit

License: GPL v3 Build Status Tests Discord

Introduction

Nukkit is nuclear-powered server software for Minecraft: Pocket Edition. It has a few key advantages over other server software:

  • Written in Java, Nukkit is faster and more stable.
  • Having a friendly structure, it's easy to contribute to Nukkit's development and rewrite plugins from other platforms into Nukkit plugins.

Nukkit is under improvement yet, we welcome contributions.

Links

Thank you for visiting our official sites. Our official websites are provided free of charge, and we do not like to place ads on the home page affecting your reading. If you like this project, please donate to us. All the donations will only be used for Nukkit websites and services.

Build JAR file

  • git clone https://github.com/CloudburstMC/Nukkit
  • cd Nukkit
  • git submodule update --init
  • chmod +x mvnw
  • ./mvnw clean package

The compiled JAR can be found in the target/ directory.

Running

Simply run java -jar nukkit-1.0-SNAPSHOT.jar.

Plugin API

Information on Nukkit's API can be found at the wiki.

Docker

Running Nukkit in Docker (17.05+ or higher).

Build image from source,

docker build -t nukkit .

Run once to generate the /data volume, default settings, and choose language,

docker run -it --rm -p 19132:19132 nukkit

Use docker-compose to start server on port 19132 and with ./data volume,

docker-compose up -d

Contributing

Please read the CONTRIBUTING guide before submitting any issue. Issues with insufficient information or in the wrong format will be closed and will not be reviewed.

Extension points exported contracts — how you extend this code

EventExecutor (Interface)
author: iNevet Nukkit Project [58 implementers]
src/main/java/cn/nukkit/plugin/EventExecutor.java
BlockEntityNameable (Interface)
表达一个能被命名的事物的接口。 An interface describes an object that can be named. @author MagicDroidX(code) @ Nukkit Project @aut [16 …
src/main/java/cn/nukkit/blockentity/BlockEntityNameable.java
BlockEntityContainer (Interface)
表达一个容器的接口。 An interface describes a container. BlockEntityContainer容器必须包含物品的Item对象。 A {@code [16 implementers]
src/main/java/cn/nukkit/blockentity/BlockEntityContainer.java
PluginIdentifiableCommand (Interface)
author: MagicDroidX Nukkit Project [8 implementers]
src/main/java/cn/nukkit/command/PluginIdentifiableCommand.java
Metadatable (Interface)
author: MagicDroidX Nukkit Project [10 implementers]
src/main/java/cn/nukkit/metadata/Metadatable.java

Core symbols most depended-on inside this repo

get
called by 619
src/main/java/cn/nukkit/level/util/BitArray.java
getLevel
called by 457
src/main/java/cn/nukkit/level/ChunkLoader.java
add
called by 425
src/main/java/cn/nukkit/math/Vector2.java
getDamage
called by 414
src/main/java/cn/nukkit/block/Block.java
put
called by 393
src/main/java/cn/nukkit/utils/BinaryStream.java
getId
called by 340
src/main/java/cn/nukkit/inventory/CraftingRecipe.java
get
called by 260
src/main/java/cn/nukkit/block/Block.java
setBlock
called by 253
src/main/java/cn/nukkit/level/format/FullChunk.java

Shape

Method 10,261
Class 1,468
Interface 63
Enum 55

Languages

Java100%

Modules by API surface

src/main/java/cn/nukkit/Player.java207 symbols
src/main/java/cn/nukkit/level/Level.java179 symbols
src/main/java/cn/nukkit/entity/Entity.java167 symbols
src/main/java/cn/nukkit/Server.java149 symbols
src/main/java/cn/nukkit/block/Block.java86 symbols
src/main/java/cn/nukkit/item/Item.java81 symbols
src/main/java/cn/nukkit/utils/BinaryStream.java79 symbols
src/main/java/cn/nukkit/level/format/FullChunk.java59 symbols
src/main/java/cn/nukkit/level/format/leveldb/LevelDB.java56 symbols
src/main/java/cn/nukkit/level/format/generic/BaseFullChunk.java55 symbols
src/main/java/cn/nukkit/utils/Config.java49 symbols
src/main/java/cn/nukkit/utils/Binary.java49 symbols

For agents

$ claude mcp add Nukkit \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact