Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Erfurt

Erfurt

Members
 View Profile  See their activity
  • Content Count

    244
  • Joined

    February 27, 2015
  • Last visited

    June 10, 2020

Community Reputation

0 Neutral

About Erfurt

  • Rank
    Creeper Killer
  • Birthday 08/15/1992

Converted

  • Gender
    Male
  • Location
    Denmark
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Erfurt

    [1.13.2] Mod dependencies

    Erfurt replied to Erfurt's topic in Modder Support

    Fair enough, I just thought that you could do it without creating addon mods. Might look into hiding them.
    • June 8, 2019
    • 15 replies
  2. Erfurt

    [1.13.2] Mod dependencies

    Erfurt replied to Erfurt's topic in Modder Support

    I believe I get this, but I'm not sure how I can have the blocks only be in the game if both mods are installed. I thought that I would do that with what I had done with my if statement. So I'm a bit confused at the moment. You say that all blocks always have to be registered, but what should I be doing instead then? I'm using mod1(the one that adds the new blocks) to also add block variants for mod2. So if mod2 is loaded, I want to have all the blocks, but if mod2 isn't loaded I don't want the variants for mod2. At the moment I'm not using classes or anything else from mod2. I hope you understand.
    • June 8, 2019
    • 15 replies
  3. Erfurt

    [1.13.2] Mod dependencies

    Erfurt replied to Erfurt's topic in Modder Support

    So doing it like this, is wrong? Only checking if the mod is installed, if so it's registering the blocks inside the if statement. Not sure what you mean by "reflection barrier"
    • June 8, 2019
    • 15 replies
  4. Erfurt

    [1.13.2] Mod dependencies

    Erfurt replied to Erfurt's topic in Modder Support

    I have decided to just make another constructor, in the classes that uses a block, so I can put in the properties manually instead, seems to be the best workaround for now. It does mean that if I want to include other mods that's not mine, I need to know the properties, but I might not want to do that anyway, so for now that's fine. EDIT: Just to be sure... All I have to do for a soft dependency is to have an if statement in the registry even, right?
    • June 8, 2019
    • 15 replies
  5. Erfurt

    [1.13.2] Mod dependencies

    Erfurt replied to Erfurt's topic in Modder Support

    Ah okay, so if I want to do it this way, there's no way to have the mod work without the other mod, am I correct in that assumption? Unless I do some redesigning of my classes. I assume it's the same if I create the chimney blocks in my other mod, using the classes as that would also be a direct reference, right?
    • June 8, 2019
    • 15 replies
  6. Erfurt

    [1.13.2] Mod dependencies

    Erfurt replied to Erfurt's topic in Modder Support

    I'm just passing the block through, so I can use it to get Properties.from(Block) because I want to have the same properties as the block I'm using, in this case I'm creating some chimney block variants for vanilla blocks, and I wanted to make the same for my other mod, but only if I'm able to do this with a soft dependency. And at the moment when I try to build the jar file, I get an error. So I wasn't sure if I couldn't do it with a soft dependency or if it has to do with forge 1.13.2 not being completely done.
    • June 8, 2019
    • 15 replies
  7. Erfurt

    [1.13.2] Mod dependencies

    Erfurt replied to Erfurt's topic in Modder Support

    Hey again, If I want / need to access blocks or classes from the other mod, is that possible to do with a soft dependency, or do I need to make it a hard dependency for that?
    • June 7, 2019
    • 15 replies
  8. Erfurt

    [1.13.2] Check property of block above

    Erfurt replied to Erfurt's topic in Modder Support

    Well whether the names are correct or not, there's not something called getProperty, so it wont work either way, that's way I asked if you were sure you could do getProperty. I have the correct names, so that's not really an issue. Just the method that doesn't makes sense, I have tried being a little creative and do .getProperties().equals(BlockSlab.TYPE) == SlabType.BOTTOM, that just gives an incompatible error. EDIT: I'm an idiot sorry, .getProperty is just .get in 1.13.2, and it works fine
    • June 1, 2019
    • 9 replies
  9. Erfurt

    [1.13.2] Check property of block above

    Erfurt replied to Erfurt's topic in Modder Support

    Are you sure that you can do getProperty in 1.13.2, because I can't find it. All I can see is getProperties() EDIT: I'm using the latest version 25.0.219
    • June 1, 2019
    • 9 replies
  10. Erfurt

    [1.13.2] Check property of block above

    Erfurt replied to Erfurt's topic in Modder Support

    So I have been trying to get that to work, and I can only get it to check if the block above has the property, and not get the value of the property. Here's what I have, block_above.getProperties().contains(BlockSlab.TYPE) which always return true if the block above is a slab. I need to get the actual value of BlockSlab.TYPE, to see if the slab is SlabType.TOP or SlabType.BOTTOM, any ideas? Because I'm completely blank at the moment.
    • June 1, 2019
    • 9 replies
  11. Erfurt

    [1.13.2] Check property of block above

    Erfurt replied to Erfurt's topic in Modder Support

    Ok, I did that earlier and I couldn't get it to work, but I'll give it another try Thanks for now
    • June 1, 2019
    • 9 replies
  12. Erfurt

    [1.13.2] Check property of block above

    Erfurt replied to Erfurt's topic in Modder Support

    So I should do it like this? block_above.getProperties().containsKey() if so, I don't see .containsKey(), I only see .contains() and .containsAll()
    • June 1, 2019
    • 9 replies
  13. Erfurt started following [1.13.2] Check property of block above May 31, 2019
  14. Erfurt

    [1.13.2] Check property of block above

    Erfurt posted a topic in Modder Support

    Hey guys, Can someone help me, I'm really stuck. I want to do a check on the block above my custom block, to see if it's a bottom or top slab. I had something working back in 1.12 block_above.getProperties().containsValue(BlockSlab.EnumBlockHalf.TOP) Where block_above is the blockstate above my custom block. This no longer works,I assume there has been made some changes to properties or the getProperties(). At least I can't seem to do .containsValue() anymore, maybe it's just me who are dumb, and there's a simple solution that I can't seem to see. I guess that I still have to do block_above.getProperties(), but after that I'm kinda clueless atm. Any help would be appreciated.
    • May 31, 2019
    • 9 replies
  15. Erfurt

    [1.13.2] Mod dependencies

    Erfurt replied to Erfurt's topic in Modder Support

    Ahh cool, thanks mate
    • May 30, 2019
    • 15 replies
  16. Erfurt

    [1.13.2] Mod dependencies

    Erfurt posted a topic in Modder Support

    Hey guys, Can someone show me how I use dependencies in 1.13.2? I want to use a soft dependency between my two mods, so that they can work independent of each other, but have extra blocks and stuff if both are installed together. I would also like to see an example of a hard dependency, just in case. I have only been able to find some out-dated information that doesn't seem to work anymore.
    • May 30, 2019
    • 15 replies
  • All Activity
  • Home
  • Erfurt
  • Theme

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