Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • 1.15.2 ore generation help
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
DinocraftNC

1.15.2 ore generation help

By DinocraftNC, June 3, 2020 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

DinocraftNC    0

DinocraftNC

DinocraftNC    0

  • Tree Puncher
  • DinocraftNC
  • Members
  • 0
  • 2 posts
Posted June 3, 2020

i have no clue how to do ore generation and i want my ruby ore to spawn but i cant find any tutorials and dont know where to start

  • Quote

Share this post


Link to post
Share on other sites

Budschie    5

Budschie

Budschie    5

  • Creeper Killer
  • Budschie
  • Members
  • 5
  • 168 posts
Posted June 3, 2020

Look at my github, you will find an example of ore generation there:

https://github.com/Budschie/Deepnether-Mod/blob/master/src/main/java/de/budschie/deepnether/biomes/BiomeFeatureAdder.java

If you want your ore to replace stone, use the vanilla FillerBlockType.

I'd recommend you using something like a BiomeFeatureAdder or something like that, because by doing that you can be sure your custom features are registered.

Hope this helped.

  • Quote

Share this post


Link to post
Share on other sites

DinocraftNC    0

DinocraftNC

DinocraftNC    0

  • Tree Puncher
  • DinocraftNC
  • Members
  • 0
  • 2 posts
Posted June 6, 2020

Ty very mucH!11!!

 

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Draco18s
      [1.16.4] License Issue..

      By Draco18s · Posted 1 minute ago

      Seems pretty self explanatory to me.
    • BIGDog8808
      HELP! WORLD WONT WORK

      By BIGDog8808 · Posted 50 minutes ago

      https://drive.google.com/drive/folders/1lIZLDI40nI-DyAqA2PUu5TP3va3Tfb2v?usp=sharing here is the link
    • DaemonUmbra
      HELP! WORLD WONT WORK

      By DaemonUmbra · Posted 54 minutes ago

      Send it via google drive I guess
    • LK1905
      [1.16.4] How do I correctly sync capability data between Client and server?

      By LK1905 · Posted 55 minutes ago

      Okay, I believe I've done what you have told me, and my gui does update me gaining xp.   However, theres something wrong with my sync method, as whenever it is called, it resets all xp values to zero. So the values in my gui are lost when reloading the world.   Heres the sync method in my Skills class: @Override public void sync(ServerPlayerEntity player) { if(entity instanceof ServerPlayerEntity) { PacketHandler.sendTo(new SkillsPacket(serializeNBT()), player); } }   Heres my attempt at syncing on login, in my player event handler: @SubscribeEvent public static void onPlayerConnect(PlayerLoggedInEvent event) { ServerPlayerEntity player = (ServerPlayerEntity) event.getPlayer(); if(!player.world.isRemote) { player.getCapability(SkillCapability.SKILL_CAP).ifPresent(c -> c.sync(player)); } }   Updated my git repo, here.
    • DaemonUmbra
      [1.16.4] License Issue..

      By DaemonUmbra · Posted 55 minutes ago

      Show your mods.toml
  • Topics

    • TurtlesAreHot
      2
      [1.16.4] License Issue..

      By TurtlesAreHot
      Started 1 hour ago

    • BIGDog8808
      8
      HELP! WORLD WONT WORK

      By BIGDog8808
      Started 4 hours ago

    • LK1905
      25
      [1.16.4] How do I correctly sync capability data between Client and server?

      By LK1905
      Started December 31, 2020

    • Rhayzan
      0
      [SOLVED] Dependency Failure

      By Rhayzan
      Started 1 hour ago

    • S-Spirit
      3
      [1.16.4] Why recipe result calculated on server side?

      By S-Spirit
      Started 3 hours ago

  • Who's Online (See full list)

    • Quaint34
    • Draco18s
    • Cutewarriorlover
    • 通行人スライム
    • TheDonkey_King
    • xmangoz12
    • Leronus
    • yandyman
    • Lucas0710
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • 1.15.2 ore generation help
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community