Everything posted by Tslat
-
[1.7.10] How can I tweak the xpBarCap?
Can you post the crash log here
-
Modifying death message handling
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
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?
-
Modifying death message handling
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
Minecraft.getMinecraft().thePlayer Perhaps?
-
Selectively remove recipe
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
-
Selectively remove recipe
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
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
And you downloaded the "1.7.10 Latest" from here: http://files.minecraftforge.net/ ??
-
"Connection reset" when downloadingClient in gradlew
What happens if you run this: gradlew.bat clean setupDecompWorkspace --assetIndex 1.7.10 --assetsDir %userprofile%\.gradle\caches\minecraft\assets
-
How to override base minecraft code
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.
-
Custom method listener
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
-
Custom method listener
hmm... ok thanks Feel free to lock this, unless you have other ideas
-
Cast custom entity class object into EntityLivingBase
Maybe some better background would be helpful.. what are you trying to achieve by doing this?
-
Custom method listener
Why would making a coremod not be recommended in this case?
-
"Connection reset" when downloadingClient in gradlew
You could just copy the client files over from your .minecraft folder
-
Custom method listener
Track/modify what happens when a nether portal is created (by whatever means)
-
How to override base minecraft code
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
-
[1.7.10]Save data between minecraft saves
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
-
Custom method listener
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...
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
-
Overriding commands
Is there a/what's the best way to override default forge commands? Just so they could be re-purposed and/or improved.
-
[deleted]
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]
Couldn't you just store it as a basic int, then draw from it each time?
-
Best Data Storage
Any specific reasons for that
IPS spam blocked by CleanTalk.