vmko 617d690996
Some checks failed
Build / build (push) Has been cancelled
Добавлен новый readme.md
2025-11-22 16:54:32 +03:00

2.7 KiB

CubeNet Core

A Minecraft NeoForge mod for CubeNet that adds custom items with 3D models and textures.

Features

  • Custom Items: Paper items (Paper2, Paper3, Paper4) with unique 3D models
  • Custom Textures: High-quality textures for all items
  • Creative Tab: Dedicated "CubeNet" creative mode tab with all items
  • Block Items: Includes terrain blocks (Skytech Block, Grass Block, Terrain Block)

Items

Paper Items

  • Paper2: A vertical paper item with custom 3D model and texture
  • Paper3: A wider horizontal paper item with custom display settings
  • Paper4: A tall vertical paper item with unique proportions

Block Items

  • Skytech Block: Blue terrain block
  • Grass Block: Natural grass textured block
  • Terrain Block: Green terrain block

Installation

Requirements

  • Java 21 or higher
  • Gradle (included with gradlew)
  • Minecraft 1.21.6 or compatible version

Setup

  1. Clone the repository:
git clone <repository-url>
cd cubenet_core
  1. Open in your IDE (IntelliJ IDEA or Eclipse recommended)

  2. If missing libraries, refresh dependencies:

./gradlew --refresh-dependencies
  1. Build the mod:
./gradlew build

Development

Project Structure

src/main/
├── java/com/skytech/cubenetcore/
│   ├── CubeNetCore.java          # Main mod class with item/block registration
│   ├── Config.java               # Configuration class
│   ├── block/                    # Block definitions
│   ├── blockentity/              # Block entity classes
│   ├── item/                     # Item classes
│   ├── screen/                   # UI screen classes
│   └── client/                   # Client-side events
└── resources/assets/cubenetcore/
    ├── models/item/              # Item 3D models (JSON)
    ├── models/block/             # Block models
    ├── textures/item/            # Item textures
    └── textures/block/           # Block textures

Adding New Items

To add a new item:

  1. Register in CubeNetCore.java:
public static final DeferredItem<Item> ITEM_NAME = ITEMS.registerSimpleItem("item_name");
  1. Create model file: src/main/resources/assets/cubenetcore/models/item/item_name.json

  2. Add texture: src/main/resources/assets/cubenetcore/textures/item/item_name.png

  3. Add to creative tab in the displayItems method

  4. Rebuild and test

Resources

License

See LICENSE file for more information.

Credits

Made with Blockbench for 3D models.