Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Voidi

MeteorCraft with TFC

6 posts in this topic

I want to use MeteorCraft https://sites.google.com/site/reikasminecraft/meteorcraft with TFC.How do i describe the Ores i want to spawn?

TFC Ores consist of to Parameters Stone ADN Oretype, so how could this be doable?

 

This is the content  MeteorCraft_CustomOres.cfg where I can define new Ore Blocks to exist in Meteors.

// -------------------------------//  MeteorCraft Custom Ore Loader// -------------------------------//// Use this file to add custom ores to meteor generation.// Specify one per line, and format them as 'Name, Spawn Weight, Meteor Type, OreDictionary Name(s)'// Meteor Types://  0 - Stone (Overworld Ores)//  1 - Netherrack (Nether Ores)//  2 - End Stone (End Ores)//// Sample Lines://  Sample Ore 1, 2, 0, oreSample//  Sample Ore 2, 2, 2, oreNotSample, oreSecondName, oreHasLotsOfVariants//// Missing names or spawn weights, or less than one Ore Dictionary name are incorrect.// Incorrectly formatted lines will be ignored and will log an error in the console.// Lines beginning with '//' are comments and will be ignored, as will empty lines.//// NOTE WELL: It is your responsibility to choose the spawning blocks appropriately.//  While you can theoretically spawn anything from the Ore Dictionary in meteors,//  null or missing blocks, non-blocks and blocks with TileEntities are very likely//  to crash and corrupt the world. No support will be provided in this case.// ====================================================================================

0

Share this post


Link to post
Share on other sites

Unless Meteorcraft adds support for mod stones other than overworld, netherrack and end stone, it can't be done.

0

Share this post


Link to post
Share on other sites

I think the Stonetype option is only for the filling material of the Meteorite.

For me it would be okay to have vanillay cobblestone.

How work the ores in TFC in Terms of IDs? One ID with a lot of Metadata?

0

Share this post


Link to post
Share on other sites

TFC ores won't spawn in vanilla cobblestone. The way that TFC ores work is that they need a stone type associated with them in order to generate properly. A native copper block all by itself will be transparent, won't drop any ore, and will probably crash your game. The only way in TFC to have ores properly generate is to generate TFC stone blocks first, and then let the ore generate on top of that.

 

Edit: To clarify, Native Copper ore generates in Andesite, Basalt, Dacite and Rhyolite. In the game, these look like 4 completely separate blocks because they all have a different stone type background. However, that isn't the case. All four of those "different" ore blocks are actually the exact same ID# including metadata for a "Native Copper Ore Block." However, when TFC generates these special ore blocks, it's also scanning the stone layers in the area to determine which stone is to be the background, and applies that information to an NBT tag. There is no way just using a simple config that handles IDs and metadata that you will be able to include the stone layer NBT tag that is required for ore to properly work in TFC.

 

Edit 2: If you don't believe me, open up a TFC world in creative mode, and spawn in and place an ore block. You should still be able to find two of them in the creative menu if you search through it. As soon as you place it, you'll see that it is a weird transparent block with just stripes on it.

1

Share this post


Link to post
Share on other sites

Thanks for the explanation.

 

Asumming I specify the right NBT Tags can I get a normal Ore block?

(I know it shouldn't be possible in 1.6.4, because using NBT Data with give works only since 1.7)

I will dig through Meteorcraft(Code), maybe its possible to give the Mod more specific Information about the Block to spawn.

 

Where can I find more Information about NBT Data used for Ores? I take a quick look at the source but don't find something.

Even though I am a bit inexperienced in Java Programming, looking at the right Sourcecode part would help me.

0

Share this post


Link to post
Share on other sites

The 78 code is no longer up on a public repo, but here's a pastebin of WorldGenOre and WorldGenMinable:

 

http://pastebin.com/0yQHtZmd

http://pastebin.com/nFxLnaGd

 

If you can't find what you need there, and need the pastebin of another class, let me know the name of it and I'll get it for you.

1

Share this post


Link to post
Share on other sites