Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. Then you did not describe step by step like Diesieben asked.
  2. Look at what EntityLiving#curePotionEffects actually does.
  3. After i did gradlew eclipse i opened it, same errors as compilation, maybe someone wanna help me with teamviewer? Did you run gradlew setupDecompWorkspace?
  4. What are you trying to do with the Skin render it as the item?
  5. Does it print it out when it is writing? Try printing out when reading.
  6. Simply using the forge configuration class. Yes that would work. I don't know the specifics of which would be better, but Configuration provided by forge is easy to use, it is already there, and so far accomplishes everything he wants to do. So I would leave the decision up to him it all comes down to taking the already present way or him making his own.
  7. No, I mean what he described in his previous post. How would you recommend him doing it?
  8. Maybe use EntityTravelToDimensionEvent. *Edit Use the one Diesieben said.
  9. Do you mean the scripting? Of course he doesn't, but if he wants to it is up to him alternatives have been given. I know that BufferedReader is a Java thing. Just not sure on how to use it. I want to make it read the file and then add something in game. For example, a player prefix in chat. I want people to enter a certain prefix and then it will show up in chat. I would also like to make permission groups have access to certain commands. Any ideas? Thanks! The prefix is a normal minecraft thing you would handle that the same way it does, if you dont know how it does that look here Changing the players permission level has to do with ICommandSender implementation which i do not know how the player interprets the level so look into that. For the reading and having something happen in game i would set tags like in Json look for those then there would be a string or number that you load for that tag ie "ranks" { "owner" { "permLevel": 5, "prefix": "Owner" } }
  10. You should be using Java 1.8 as Minecraft/Forge has moved to that.
  11. The way the item looks in the inventory is defined by your blocks item json. And everything winnetrie said.
  12. That is just a Java thing it has nothing to do with forge, yes BufferedReader is what you want. Though you said you wanted your own syntax you will need to figure out how to make it read that syntax correctly and convert it into variables that can be manipulated and used in Java.
  13. All right but I need to know how to override that method. I will probably need a series of textures to show in sequence to simulate a movement. But I don't know anything about the method to call from the RenderPlayerEvent.pre event to show my animation? Do you know about Forge Events? No? Then i suggest you read through this tutorial http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571567-forge-1-6-4-1-8-eventhandler-and If yes RenderPlayerEvent.Pre is a forge event that is called before the player is rendered ie Pre. You will cancel the event inside of your event then render your animations. *Edit this is for the player item animations should be done with an IBakedModel.
  14. You will have to override the model and render them yourself. Using the RenderPlayerEvent.Pre.
  15. Check if entity is an instance of EntityPlayer and from there look for methods that have the word capability in them.
  16. He doesn't have access to that, as he would need to modify the FallingGravelEntity.
  17. Actually that means it couldnt find an Itemmodel.json and started looking for a blockstate because yes they can have those.
  18. I'm not sure what UV stands for but 0 to 1 is either left to right most pixels or top to bottom most pixels. Calculated like a percentage.
  19. That should be your Capability variable (probably set to null) .getDefaultInstance(). That exists correct?
  20. Good to know. Still shows that I have much more to learn.
  21. Ok I didn't look to much in depth into your calculations so I didn't know about the randomness factor. Is it possible that attributes is a static variable?
  22. No, it doesn't. Really? Wow, is IWorldGenerator just provided by forge as a better alternative? I have never looked at WorldGenerator as I have not needed it.
×
×
  • Create New...

Important Information

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