Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/08/20 in all areas

  1. You're mostly on your own. There aren't tutorials for this sort of thing as worldgen is very complex.
    1 point
  2. On block placed: Check to see if structure is complete. It is? Do thing.
    1 point
  3. Make your own thread, your issues are most likely unrelated.
    1 point
  4. 1) Because you don't save that variable either and 2) You could do without it entirely by storing garbage data in the BlockPos by default (say, a y value of -1) and if the data is garbage after read has been called, do the thing you currently do in first tick.
    1 point
  5. You see this method? https://github.com/MistaOmega/Opes/blob/master/src/main/java/mistaomega/opes/tiles/TerraEngineTile.java#L198 Do you see any code related to the mining position there? No? Why not?
    1 point
  6. 1.12 is no longer supported due to age. Please update to a modern version to receive support. More information on supported versions can be found in the LTS link at the top of every page.
    1 point
  7. You will have a Bad Time trying to make a mod without knowing Java. This will only be the first question of so many, and this board is for forge, not a Java school. Not trying to be mean, just stating how it is. Eventually asking basic questions will end up attracting the attention of a moderator, and you will likely be told in a much more direct way that you will need to know some Java before making a mod. You say "I don't have time", but it will take you longer to make a mod not knowing Java, than to learn some Java then come back and make a mod using what you learned. This will be due to you not understanding basic Java/programming concepts, having to wait around for forums replies before you can do anything, and of course, being repeatedly told you need to learn Java. This is something every single developer here went through at one point or another (I'm betting anyway), writing stupid programs that don't do anything useful, and writing throwaway snippets of code while learning how it works. I do not believe there are any shortcuts, sorry
    1 point
  8. I've been working on this myself, and I can tell you it's a confusing spaghetti mess. At least to me!!! I haven't figured it all out yet, but I feel like I've found a few classes that offer the most insight: net.minecraft.world.gen.layer.BiomeLayer - used from LayerUtil net.minecraftforge.common.BiomeManager - used by BiomeLayer, this one seems like it is most useful net.minecraft.world.gen.layer.LayerUtil - seems as if it uses various Layer classes (that aren't the Layer class lol) to layout the biomes, and smooth out edges and stuff. Honestly, so many unnamed parameters in here that it's tough to know what's going on. A few of the classes/enums (i.e. EdgeLayer) have their paramters named, but not many of them. (using 20200604 mappings) I wish I had more useful information to share with you, but I'm still trying to figure it all out myself, but the BiomeManager, BiomeLayer, and LayerUtil classes are a really good place to start, because the BiomeProvider seems more or less like a frontend to all this other stuff going on. And that's probably about the most information/advice you'll find on this subject anywhere lol. I have another thread that's similar, that I will likely update if/when I figure out more stuff, feel free to add on to it if you'd like: https://www.minecraftforge.net/forum/topic/86253-1152-layerutil-layers-traits
    1 point
  9. Alternatively, you can look into my github, I have done something similar, but it can consume some time to properly implement it into your mod. https://github.com/Budschie/Deepnether-Mod/tree/master/src/main/java/de/budschie/deepnether/structures https://github.com/Budschie/Deepnether-Mod/blob/master/src/main/java/de/budschie/deepnether/structures/StructureBase.java https://github.com/Budschie/Deepnether-Mod/blob/master/src/main/java/de/budschie/deepnether/structures/PaletteStructure.java
    1 point
  10. I believe you will have to build your structure in pieces, you could check out the vanilla igloo to see how it puts itself together, it's not nearly as complicated as say the woodland mansion
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.