
Tslat
Members-
Posts
40 -
Joined
-
Last visited
Everything posted by Tslat
-
Can you post the crash log here
-
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..
-
[1.7.10] Get a Player from a String in the Client
Tslat replied to TheDav1311's topic in Modder Support
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? -
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?
-
[1.7.10] Get a Player from a String in the Client
Tslat replied to TheDav1311's topic in Modder Support
Minecraft.getMinecraft().thePlayer Perhaps? -
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
-
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.
-
"Connection reset" when downloadingClient in gradlew
Tslat replied to Emd4600's topic in Modder Support
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. -
"Connection reset" when downloadingClient in gradlew
Tslat replied to Emd4600's topic in Modder Support
And you downloaded the "1.7.10 Latest" from here: http://files.minecraftforge.net/ ?? -
"Connection reset" when downloadingClient in gradlew
Tslat replied to Emd4600's topic in Modder Support
What happens if you run this: gradlew.bat clean setupDecompWorkspace --assetIndex 1.7.10 --assetsDir %userprofile%\.gradle\caches\minecraft\assets -
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.
-
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
-
hmm... ok thanks Feel free to lock this, unless you have other ideas
-
Cast custom entity class object into EntityLivingBase
Tslat replied to Damian_RastMan's topic in Modder Support
Maybe some better background would be helpful.. what are you trying to achieve by doing this? -
Why would making a coremod not be recommended in this case?
-
"Connection reset" when downloadingClient in gradlew
Tslat replied to Emd4600's topic in Modder Support
You could just copy the client files over from your .minecraft folder -
Track/modify what happens when a nether portal is created (by whatever means)
-
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
-
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
-
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.
-
[SOLVED][1.7.10] My first attempt with ore generation...
Tslat replied to DeadEnd78's topic in Modder Support
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 -
Is there a/what's the best way to override default forge commands? Just so they could be re-purposed and/or improved.
-
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..
-
[1.7.2][unsolved] save mana in world [mana is glitching]
Tslat replied to knokko's topic in Modder Support
Couldn't you just store it as a basic int, then draw from it each time? -
Any specific reasons for that