Jump to content

Recommended Posts

Posted

I see that you've added a mod unique name parameter to register blocks. Will we be able to reference blocks this way? This would be great. I would like to see mod unique names for most things including biomes. I could reference other mods content this way without needing to worry about the ID.  IDs can change and names of blocks, items, biomes... etc. are sometimes the same between mods so this would really help.

Posted

The problem with referencing modded biomes individually like that is there's just too many of them now to really cover everything between EBXL, AS#B, Biomes O Plenty, and a few others (and without getting into details, I can say that with the next version of AS#B there's going to be a potential for way more than there are now). Blocks are a little different, as you'd likely be looking for something more specific, for instance, trying to reference something like RP2 marble for some sort of world generation structure. A tag based system for biomes is a much better solution, as it would allow a mod author to simply do something to all "Forest" biomes for instance, without having to know anything about the specific biomes in different mods. I've been working on such a system, which has mainly just become an API for AS#B  at this point, but it would be nice to have something like that in Forge where it it would actually be used.

Posted

Thank you for your suggestion.

 

The problem with your idea is that not every forest biome is the same. Just look at the diversity in EBXL and BiomesO'Plenty biomes.  I look at the biome and then determine if it suits my mob's original purpose. As for having to write a lot of code, once you do the initial legwork you would only have to update the list slightly after that. Having callable/referable mod specific names simplifies mod compatibility down to simple null checks. No APIs needed. I use biome and block names now in a class I wrote to allow my entities and structures to spawn in the many EBXL and BiomesO'Plenty biomes. Since a few blocks and biomes share the same names I really could use mod unique naming. The display names would stay the same but a callable modid.name idea for registering biomes, blocks and such would uniquely identity them as separate. 

You could probably add a generalization as you suggest but the mod unique naming really should be incorporated as you simply cannot generalize such diversity in content for all.  :)

Posted

You're right. A combination would probably work best just for those who want a little bit more control of what they're doing. Although, I still think something more general is needed to really solve the problem of mod authors ignoring non-vanilla biomes. I see what you mean about having some forest biomes for instance being vastly different from others, the majority of them are still similar enough that world generation and mobs spawning in one should most likely spawn in the other as well.

 

At the very least, you've convinced me to add an API to AS#B that allows for access to specific biomes in the mean time.

Posted

The Reptile mod author http://www.minecraftforum.net/topic/585469-147forge-crackedeggs-mods-reptiles-parachute-walkingdead/page__hl__%20reptiles__st__0 had done something similar to what you propose. He uses rainfall, temperature etc.. descriptors in the BiomeGenBase class to determine suitable biomes for spawning. What is lacking is biome type descriptors as you would suggest using. Maybe you could convince the Forge developers to add some into the BiomeGenBase class. I dont think it would require alot of changes but I would think it best to give them clear outline of what you would expect it to accomplish and what parameters would be incorporated. :)

 

Edit: Just to clarify, what I mean when I say it would probably not require much coding by the Forge team to incorporate is that it does not change a biomes function in any way it would just be a descriptor for said group of biomes. Each biome would then need an associated destriptor assigned to it in the BiomeGenBase list.

Posted

The fact that it's such a simple solution is why I suggested it in the first place. Quite a few mods now, Forestry and EBXL being some of the most well known ones, are already using biome properties to classify biomes, but standardizing the way biomes are classified within forge would cause a lot more mods to take advantage of it. Especially as we start to see more mods adding biomes, and more modders wanting to make their mods work with them. Now that I've added support for user made biomes in AS#B, it might be hard to keep up otherwise ;).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi, i'm really having problems trying to set the texture to my custom item. I thought i'm doing everything correctly, but all i see is the missing texture block for my item. I am trying this for over a week now and getting really frustrated. The only time i could make the texture work, was when i used an older Forge version (52.0.1) for Minecraft (1.21.4). Was there a fundamental change for textures and models somewhere between versions that i'm missing? I started with Forge 54.1.0 and had this problem, so in my frustration i tried many things: Upgrading to Forge 54.1.1, created multiple new projects, workspaces, redownloaded everything and setting things up multiple times, as it was suggested in an older thread. Therea are no errors in the console logs, but maybe i'm blind, so i pasted the console logs to pastebin anyway: https://pastebin.com/zAM8RiUN The only time i see an error is when i change the models JSON file to an incorrect JSON which makes sense and that suggests to me it is actually reading the JSON file.   I set the github repository to public, i would be so thankful if anyone could take a look and tell me what i did wrong: https://github.com/xLorkin/teleport_pug_forge   As a note: i'm pretty new to modding, this is my first mod ever. But i'm used to programming. I had some up and downs, but through reading the documentation, using google and experimenting, i could solve all other problems. I only started modding for Minecraft because my son is such a big fan and wanted this mod.
    • Please read the FAQ (link in orange bar at top of page), and post logs as described there.
    • Hello fellow Minecrafters! I recently returned to Minecraft and realized I needed a wiki that displays basic information easily and had great user navigation. That’s why I decided to build: MinecraftSearch — a site by a Minecraft fan, for Minecraft fans. Key Features So Far Straight-to-the-Point Info: No extra fluff; just the essentials on items, mobs, recipes, loot and more. Clean & Intuitive Layout: Easy navigation so you spend less time scrolling and more time playing. Optimized Search: Search for anything—items, mobs, blocks—and get results instantly. What I’m Thinking of Adding More data/information: Catch chances for fishing rod, traveling villager trades, biomes info and a lot more. The website is still under development and need a lot more data added. Community Contributions: Potential for user-uploaded tips for items/mobs/blocks in the future. Feature Requests Welcome: Your ideas could shape how the wiki evolves! You can see my roadmap at the About page https://minecraftsearch.com/about I’d love for you to check out MinecraftSearch and see if it helps you find the info you need faster. Feedback is crucial—I want to develop this further based on what the community needs most, so please let me know what you think. Thanks, and happy crafting!
    • Instructions on how to install newer Java can be found in the FAQ
    • That's just plain wrong... newer versions are much better optimised and start a lot faster than 1.8.9, both Forge and Minecraft itself. Comparing Fabric 1.21 with Forge 1.8 is like comparing apples and oranges... one's brand new and the other's over a decade old.
  • Topics

×
×
  • Create New...

Important Information

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