Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bektor

Forge Modder
  • Joined

  • Last visited

Everything posted by Bektor

  1. I looked there, in an radius of 30 blocks from my debug message with the coords, there is nothing! So I have no clue why its not working.
  2. So anyone else who has an idea how to fix this?
  3. I copied now the worlds and looked with the tool MCEdit into them, but I'm not able to find something that looks like my structure.
  4. Yes. The debug message is there, but not the structure
  5. Well, I want that the structure spawns completly random with a chance of 20% in Mesa biomes (well currently it spawns all over the world for testing if it will spawn...). But why is it not spawning and how can I make it then, that its spawning completly random?
  6. This will not work, too and there is no class called temple, only a package. And in the explaination I got, there was explained that I need to create a bounding box and inside of this bounding box the blocks were placed, so everything outside of the bounding box will not be placed.
  7. Ok, here is the code (on bitbucket): https://bitbucket.org/MinecraftPlaye/test/overview
  8. Hello, after a small explaination of how the Structure Component are working (by the creator of the gravestone mod) I created a small Structure Component, but its still not working. So can anyone tell me, whats wrong, that its not spawning? Here is the code: https://bitbucket.org/MinecraftPlaye/test/overview I'm using Forge 1.7.10-10.13.0.1208. Bektor
  9. Well, looking at code, thats something I did and it didn't helped really much. But yeah, I found after 1 more day of searching an forum post on minecraftforum.net where the creator of the Gravestone mod is trying to explain it. Well, he is more showing the code, so not really helpfull, but this few words that he had written there, from this few words I understand more then reading and looking hours into the code. Only problem, I need more words that are explaining this, because this few words, well not enough words to create an Structure with this system. So could anyone explain me and all other people that have problems with this, how this system is working (with an example, like an tutorial on how to create a small temple with a corridor, an room and an entrance with this system -> this would be more helpfull for me then looking into the code... and don't come me with look into the mojang code, I understand more code from an mod then from Mojang)
  10. But there could be an tutorial that is explaining this things with an example building, because from that what I saw, there is one Structure code and based on this code all structures with there pieces are done. So there could be a tutorial that is explaining how you can produce a building with and entrance, an corridor and an room. If this would be explained then it would be enough, because then I would know how I can create such basic things and I could make bigger things and could change the code in an way I need it, but if there is no tutorial that will explain the basics of this, I can't use this system, because I have no idea what I need to do that its working. And for normal structures there are tutorials, but the structures are different from people to people, too.
  11. Its a big structure that spawns in parts, like there is spawning randomly the corridor and then there is spawning a room by the corridor and the room is spawned random, too. (The only thing I found is this: https://github.com/NightKosh/GraveStone-mod/tree/master/structures and this: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/modification-development/1430173-forge-1-4-7-help-structure-generation?comment=8 ) But well, this didn't helped me that much, because I didn't understood how it works (in Code) so that I can make my own structure.
  12. Hello. Is there an tutorial or someone who can explain me, how Structure Components are working, because I didn't find a tutorial? Bektor
  13. Ok. I fixed it with nbttagstring.toString().equals("\"" + getGameProfile().getId().toString() + "\"");
  14. Ok, thanks, but this won't fix the problem. It says still that it's not my item. Oh and player.getDisplayName() is right, or need I to use player.getGameProfile().getName() ?
  15. Ok. I found something out. If I let write Minecraft my UUID and the UUID of the NBTTagString in the Chat then this happens: UUID "UUID" (Well, I replaced the UUID with the word UUID here...) But if I fix this then, then it says that this isn't my item, too: "UUID" "UUID" I tested it with nbttagstring.toString() != player.getUniqueID().toString() -> if this is true, then it says me, that this item is not yours. And I tested it with nbttagstring.equals(player.getUniqueID) and then I tested both on a way that the output is "UUID" so because NBTTagString saves it with "" (I'm don't know the english word for " ) and inside of "" its putting the UUID, so I tried it by checking that it add " before and after the player.getUniqueID() so that the chat output is the same, but for an unknown reason it returns everytime true, so everytime it thinks that I'm not the owner of the item that I'm the owner from. And the second problem is, that the method player.addChatComponentMessage(new ChatComponentTranslation("msg.wrong_player.txt")); will always return instead of the chat message that I put in the language file. So whats wrong. Bektor
  16. Possibly this could help you: http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571568-tutorial-1-6-2-changing-vanilla-without-editing http://www.minecraftforge.net/wiki/Using_Access_Transformers
  17. Ok, thanks. But is there a way that by the compiling with gradle the jar will be signed and that the value in the code for the fingerprint will be replaced with the key?
  18. Ok. I did this, but something is wrong: It says that this items didn't belong to me, but it is my item and it won't send the right chat message (only the path where I can find it in the language file...). So here is the code: So what is there wrong? Bektor
  19. Really no one who can help me?
  20. Hello, I have written a small Item that stores the UUID of the player that only this player can use it, but now I want that instead of the UUID the player name will be shown, so that every other player knows "Ok, this isn't my item". So is there a way to get the Player name by the UUID and to update it if the player name was changed? I want to use the addInformation method for that. Bektor "NEW" PROBLEM: look a bit down or use that link http://www.minecraftforge.net/forum/index.php?action=post;quote=114249;topic=22491.0;last_msg=114249
  21. My mod is compiled with Java 7 and I didn't told the community that and no one have a problem with it. But I have no idea how many people have downloaded it, because the 1.7 version is only as a Development build avaible and the only version were I know how often it was/is downloaded. But I think using Java 7 would be no problem, because I have really no idea who's still using Java 6.
  22. Anyone who knows how to use the FML Fingerprint System?
  23. Switch them back to 1.7. Just because you installed 1.8 doesn't mean 1.7 is gone. (unless you uninstalled it... in which case: why?) As far as I've read Minecraft is built on 1.6, and works on 1.7, but 1.8 messes it up a bit. So until Mojang updates you shouldn't update. Edit: Shouldn't update JDKs, I mean. All JREs should be backwards compatible. Well, how far is a JRE backwards compatible (Java 9 will only be backward compatible with Java 8 when Java 9 is released in a few years...) Well, as an developer there is a reason: I have installed Java 7 and Java 8, because for this few applications that are using Java 7 I compile them with Java 7, because Java 8 didn't support a 100% bug free Java 7 compiler (well, eclipse says that I need to install Java 7, too, if I want to compile a program 100% correct that is using Java 7...) Well, to the error, it could be a problem with the Early Access version. Try it with Java 8 Update 11. (Use stable builds, not ea (Early Access) versions, because this versions can produce problems...)

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.