Skip to content

Adding your first ore

Regonold edited this page Dec 21, 2024 · 3 revisions

Here is the tutorial for creating a custom ore tile!

PREREQUISITES

It is highly encouraged to check out these pages before continuing!

Dataside

We will start by creating a simple item which will be the result of a drill mining our ore

see Adding your first item on how to make a custom item

image

Now we will add a "orelevel" property to our ore

"orelevel" will make it define how much of our ore we want to appear, -1 for none and 1 for the full map

image

Believe it or not, that is all we need for the dataside!!

Visualside

In any folder we will add 2 textures, one for our ore and one for the ore tile

The ore tile image has to be called [Your ore]-TILE so in my case im calling it jade-TILE

image

and now the ore will work!!

Testing

make or modify a custom map to add your ores

When editing your map's ore spawning data reference your mods identifier then your ore

image

Congrats

Now your all set! go test your ore with a drill and let your creativity run wild!!!

image

Clone this wiki locally