
Babelincoln1809
Members-
Content Count
88 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout Babelincoln1809
-
Rank
Stone Miner
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Alright, I rewrote the entire event, and fixed the infinite fire event and I believe it also fixes the multiple players issue as well. Although, I can't really test that at the moment. Here's the code: https://pastebin.com/CTj6jbtY
-
I did not notice that was there! Probably made it's way back from undoing code so many times lol Good point, for some reason thought it would fix the issue lol What should I be looking for to get that to not be shared across players, but only to the one who has the item in their inventory? I haven't really thought about that being an issue until I made the post, and I'm focused on fixing that rather than the fire issue now
-
Babelincoln1809 started following Modifying Vanilla Loot Tables (1.16.4), Issue with Event (1.16.4), Event Won't Spawn Projectile and and 3 others
-
I'm running into a bug with an event of mine where when a player has a certain item in their inventory it'll cause whatever mob they hit to set on fire. I set the setfire method to 3 ticks, but keeps on going infinitely until the mob is dead. If throw the item out of my inventory after I hit the mob, then it'll last the intended amount of time. I tried multiple ways on fixing the issue and trying different methods of getting this to work, but to no avail. Any help would be much appreciated. Here's how I currently have it: https://pastebin.com/SHT97LJd I'm also having thoughts that multiple players will be able to cause mobs to be set on fire if only one player as the item in their inventory on a server, but that has yet to be tested, and is another bug for another day
-
Got it to work! Thank you!
-
I see what you mean. How would I go about that exactly? The OnlyIn annotation above the subscribe event? That's all I can really think of when making the server aware of the event
-
Wait, never mind. I've tried putting an if statement over the method spawning the entity saying only if the world isn't remote, but it didn't do anything
-
That was easier than what I imagined lol, thank you!
-
I'm creating a weapon that when left clicked it'll fire a projectile and play a noise. I got the noise to work, but the projectile won't fire no matter what I do or alter. Any help would be much appreciated Here's the code: https://pastebin.com/EGQ85QqZ
-
I was wondering how to make a custom attack, like sweeping edge for swords, but for when my custom weapon's attack speed cooldown thing is fully back up. Nothing is in the SwordItem code that mentions this, so I don't know where in the reference libraries this exact thing I'm looking for would be in. I'm sorry if I didn't describe that well lol
-
Projectile Keeps Duplicating Itself (1.16.4)
Babelincoln1809 replied to Babelincoln1809's topic in Modder Support
That worked! Thank you!!! -
I'm creating projectile that when it is removed from the world it'll sorta create an area effect by spawning multiples of itself. The issue is that it keeps multiplying and multiplying. I've been referencing the SlimeEntity code when it is killed and seeing what I can do to help fix the issue, but I've hit a stump. I need some sort of parameter in the if statement where it'll only accept the original projectile, like how the SlimeEntity will only accept it if it is above 1 in its size, maybe making the multiples clones of the original? Here's my code: https://pastebin.com/63w55irr
-
I was wondering on how to get rid of arrow bounce back when a mob is doing the hurt animation, I don't know where specifically in the AbstractArrowEntity class is causing that to happen or if it's being caused by something else somewhere else entirely. Maybe an event? This topic has been brought up all the back in 1.8 so it wasn't much help. Any lead on where to look or just a solution all together would be much appreciated.
-
Modifying Vanilla Loot Tables (1.16.4)
Babelincoln1809 replied to Babelincoln1809's topic in Modder Support
Thank you!! -
I was wondering how to modify/inject vanilla loot tables and add my own items into them, like adding my own items into the simple dungeon loot table. Most guides on this subject are pretty outdated and can't find anything recent. Any guide that I can reference and look at would be much appreciated!
-
Asyncing Item Cooldown Among Itemstacks
Babelincoln1809 replied to Babelincoln1809's topic in Modder Support
I was thinking about this while making a capability for it, but could I create a new instance of the CooldownTracker class within my Repeater class? and reference what the PlayerEntity class does to create the cooldown?