Skip 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.

Animefan8888

Forge Modder
  • Joined

  • Last visited

Everything posted by Animefan8888

  1. I mean't you should post it, guess I wasn't clear enough sorry.
  2. I assume you have created a packet?
  3. You actually need to get the players UUID so Minecraft holds a client side player variable inside itself.
  4. You should register it in init. What you need to do is use packets to send the data to the server. If you don't know how to use packets here is a link. http://jabelarminecraft.blogspot.com/p/minecraft-forge.html The data should contain something like a boolean or a byte with either 0 or 1 to determine > or <
  5. You could make the variables before checking if they are != null then use them to check if they are not equal to null. Remove the println. That is all I can think of right now, everything else looks good.
  6. Exactly you are not overriding the "right" method(not any method at all), just a suggestion but whenever you are using a method that you didn't create in that class always put @Override. When it was like that it should not have worked at all in previous versions either.
  7. Try putting @Override over your method you should see the error. And if you don't does it print out the ItemStacks?
  8. What is the specific problem? No potion effect at all?
  9. Since I myself don't use IntelliJ the best I can do is give you links this looks like a good website for IntelliJ. https://www.jetbrains.com/help/idea/2016.2/debugging.html
  10. IDE's have debug mode with will allow you to run the game and make changes to the code in real time. So relocating a slot is not a problem. But if you really want to you would need to override basically every method/create your own to do this. Also you would need to extend Container/Gui... to be able to do that not something I recommend, but if you need to go for it.
  11. There is no such event or way I can think of, but you could always try what I said in my last post on your previous topic. http://www.minecraftforge.net/forum/index.php/topic,41518.0.html
  12. Typically you would want to edit these. version = "1.0" group= "com.yourname.modid" archivesBaseName = "modid"
  13. You need to override IBlockState onBlockPlaced(...) also getStateFromMeta(...)
  14. I thought of a hacky way to do that, maybe. There is a Event Called RenderHandEvent/RenderSpecificHandEvent. You could theoretically render your Item there manually. I think, but you should put in a pull request anyway like something like RenderItemLayerEvent which will get called for every layer of a JSON model when it is rendered?
  15. To register call MinecraftForge.EVENT_BUS.register(...); Doesn't matter right now, but it doesn't say it is or is not(at least for me). Make a new Class to put it in.
  16. If you read the quotes it completely overrides the elements tag, you need to go to your minecraft 1.10 jar file and find the item modrl json called generated and copy over its elements.
  17. Alsod you need to override setColor because it checks the armorMaterial after looking at the super method.
  18. Ok first off always post all code. Secondly why is this here if you set the color 5-6 lines down and also set the NBT to a new Tag. ((ItemArmor) result.getItem()).setColor(result, 25555555); Are you sure that your Alloy's have those tags?
  19. If you are going to read just a small section, you should read it all. "Loads a different model from the given path, starting in assets/minecraft/models. If both "parent" and "elements" are set, the "elements" tag overrides the "elements" tag from the previous model."
  20. If it is handled in your IRecipe class why do you need onCreated? Post your IRecipe class.
  21. You forgot the [] for elements look back at this link http://minecraft.gamepedia.com/Model
  22. Post your JSON with it in there.
  23. No what I'm saying is onCreated when it is called won't have any color because the NBT doesn't have any color to give it. Have you added crafting recipes yet?

Important Information

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

Account

Navigation

Search

Search

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.