Jump to content

Tslat

Members
  • Posts

    40
  • Joined

  • Last visited

Everything posted by Tslat

  1. Can you post the crash log here
  2. Created my own class which extends DamageSource, then used @Override for replacing the method, basically.. that onDeath thing may be what I'm looking for..
  3. The client only needs to know the packets that the SERVER sends it. Your client won't know how to grab another player, because as far as it knows, there are none. What are you trying to achieve that bars you from using server side?
  4. I'm aware of the many threads regarding adding custom death messages, replacing existing ones, etc.. But I'm more interested in replacing how the game grabs death messages. I can't even seem to find in the source where it pulls the death message from. I tried overriding the getDeathMessage method from DamageSource and its sister classes, but that method doesn't even seem to fire on player death. any ideas?
  5. Minecraft.getMinecraft().thePlayer Perhaps?
  6. Would this work for matching a list of items though? This seems to only for for matching one item, which you know the crafting recipe for. What if you don't know the recipe, and want to remove it based on what the output is
  7. Just wondering if anyone knows/has any ideas on how one would be able to selectively remove a crafting recipe, either per player, or per permission or something. It may not even be possible, I just couldn't come up with anything in the first few moments before I 'm leaving for bed. This is all spawning from the inability to track when people craft, and therefore inability to limit what people can craft.
  8. Download it manually, but I'm not entirely sure how it's meant to laid out when you do. I cleared mine so I can't check anymore lol. Are you able to do it on a different computer on a different network? You'll have to copy the assets folder from your .gradle folder to your current computer, and not the workspace.
  9. And you downloaded the "1.7.10 Latest" from here: http://files.minecraftforge.net/ ??
  10. What happens if you run this: gradlew.bat clean setupDecompWorkspace --assetIndex 1.7.10 --assetsDir %userprofile%\.gradle\caches\minecraft\assets
  11. If you're searching for copy->paste code, you won't find it here If there's been a plethora of links posted so far, if you can't figure it out from them, you need to learn java some more before you attempt making mods. Use an IDE (like Eclipse), and try some code out for yourself. No-one here will give you code to paste, as we aren't making the mods for you.
  12. Certainly, but then how do you keep track of ones that are made by coming through from the other side (The game creates it) And also those lit by ghast/dispenser/etc.. We're on the right track, just gotta figure out the other cases
  13. hmm... ok thanks Feel free to lock this, unless you have other ideas
  14. Maybe some better background would be helpful.. what are you trying to achieve by doing this?
  15. Why would making a coremod not be recommended in this case?
  16. You could just copy the client files over from your .minecraft folder
  17. Track/modify what happens when a nether portal is created (by whatever means)
  18. Searching "Forge events" on google gave me" 1. http://www.minecraftforge.net/wiki/Event_Reference 2. http://www.minecraftforum.net/forums/archive/tutorials/931112-forge-4-x-events-howto 3. http://minecraftforgetutorials.weebly.com/event-introduction.html 4. http://www.wuppy29.com/minecraft/modding-tutorials/wuppys-minecraft-forge-modding-tutorials-for-1-7-events/#sthash.rNLdxnz4.dpbs
  19. Why would you want to save in between default saves, and what exactly are you saving? Perhaps you should look at net.minecraft.world.storage.ISaveHandler
  20. I was wondering what the best way is to listen for when a method is fired. This method isn't in the events register, and is a base Minecraft class. I'm assuming to use reflection, obviously.. but I'm not entirely sure how I would go about tracking that specific method.
  21. Yeah see the thing with random is, sometimes it just won't happen for a long time, or not in your observable frame. Throw a SYSO on there with some coords, can watch it more easily then
  22. Is there a/what's the best way to override default forge commands? Just so they could be re-purposed and/or improved.
  23. At least as far as I know, itemStacks tend to get a tad buggy past 64.. You could try listening for events and setting the stack to >64 if certain requirements are met? Not too sure otherwise..
  24. Couldn't you just store it as a basic int, then draw from it each time?
  25. Any specific reasons for that
×
×
  • Create New...

Important Information

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