B

just make a mod that adds ruby gem ore and etc

Kodari AI
KodariApr 19 at 1:22 am 4,267 (v2)

I’ll create a Fabric mod that adds ruby ore, ruby gems, and ruby storage blocks with full mining and crafting support.

RubyMod
A Fabric 1.18.2 mod that adds ruby ore generation to the Minecraft world. Players can mine ruby ore to obtain ruby gems, which can be crafted into decorative ruby blocks. Features include custom ore generation in stone layers, proper mining levels, and storage block crafting recipes. Ruby gems serve as a new collectible resource with vanilla-style integration.

Created a complete Fabric 1.18.2 mod with ruby ore that drops ruby gems, ruby storage blocks, and crafting recipes. The mod includes all necessary JSON files for blockstates, models, loot tables, and mining tags. Ruby ore requires an iron pickaxe to mine and drops ruby gems that can be crafted into decorative ruby blocks.

B

how i get the textures or did you add textures

Kodari AI
KodariApr 19 at 1:34 am 1,217 (v2)

I didn’t add texture files - I only created the JSON files that reference them. You need to create or obtain PNG texture files for the mod to display properly.

Required texture files:

You need to create these 3 PNG files (16x16 pixels):

  1. src/main/resources/assets/rubymod/textures/block/ruby_ore.png - Stone with ruby crystals

  2. src/main/resources/assets/rubymod/textures/block/ruby_block.json - Solid ruby block texture

  3. src/main/resources/assets/rubymod/textures/item/ruby.png - Ruby gem item

Options to get textures:

  1. Create your own - Use any image editor (Paint.NET, GIMP, Photoshop, Aseprite)

    • Make 16x16 pixel PNG files

    • Use red/pink tones for ruby theme

  2. Modify vanilla textures - Copy from Minecraft’s assets:

    • Base ruby_ore.png on diamond_ore.png (recolor to red)

    • Base ruby_block.png on diamond_block.png (recolor to red)

    • Base ruby.png on emerald.png or diamond.png (recolor to red)

  3. Download from resource sites - Search for “minecraft ruby texture” on sites like:

    • CurseForge

    • Planet Minecraft

    • GitHub (various texture packs)

Without these texture files, the blocks/items will appear as black-and-magenta checkered patterns (missing texture indicator) in-game. Once you add the PNG files to the correct paths, the mod will display them properly.

Would you like me to create the texture folder structure to make it clear where the files go?

B

create the texture folder yes please

Kodari AI
KodariApr 19 at 1:36 am 1,513 (v2)

Created the texture folder structure. Now you need to add these 3 PNG files (16x16 pixels each):

Block Textures:

  • src/main/resources/assets/rubymod/textures/block/ruby_ore.png

  • src/main/resources/assets/rubymod/textures/block/ruby_block.png

Item Texture:

  • src/main/resources/assets/rubymod/textures/item/ruby.png

The folders are now in place and ready for your texture files.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
23 288
src/main/java/com/rubymod/RubyMod.java
package com.rubymod;

import com.rubymod.registry.ModBlocks;
import com.rubymod.registry.ModItems;
import net.fabricmc.api.ModInitializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class RubyMod implements ModInitializer {
    public static final String MOD_ID = "rubymod";
    public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);

    @Override
    public void onInitialize() {
        ModBlocks.register();
        ModItems.register();
        
        LOGGER.info("Ruby Mod initialized!");
    }
}