
JohnBeGood
Members-
Posts
28 -
Joined
-
Last visited
Everything posted by JohnBeGood
-
How to add ambient sounds / music to dimension?
JohnBeGood replied to JohnBeGood's topic in Modder Support
I remember doing some searching and found a solution you provided back in 2012 to same the problem, but I didn't quite understand it. -
From this I can tell it isn't getting called period.
-
Still unsolved.
-
Override player death message for custom entity?
JohnBeGood replied to JohnBeGood's topic in Modder Support
That's from 1.5 so it is likely far outdated. -
Override player death message for custom entity?
JohnBeGood replied to JohnBeGood's topic in Modder Support
That does not seem like it will be an easy task. -
Hi, I'm looking to override the death message that goes into the chat when a player is killed by one of my mobs.
-
How would I go about making a combination tool? A tool that could be a pickaxe and a hatchet, or a pickaxe and a shovel, or any combination. I currently tried using a method where it can harvest all blocks except ones listed like this [for a pickaxe and shovel combo] but it is able to harvest all 3 types effectively: @Override public boolean canHarvestBlock(Block par1, ItemStack itemStack) { boolean isHarvestable; isHarvestable= (par1 == Blocks.bedrock || par1 == Blocks.log || par1 == Blocks.log2); return !(isHarvestable); }
-
Make Portal give off sound like nether portal
JohnBeGood replied to JohnBeGood's topic in Modder Support
But then if you are close to it you'll just hear the sound constantly starting, not playing once it ends. -
Make Portal give off sound like nether portal
JohnBeGood replied to JohnBeGood's topic in Modder Support
Won't this make it start the sound every tick? -
So I have my portal block and it operates, but how do I make it give off a sound when you are near it?
-
How to add ambient sounds / music to dimension?
JohnBeGood replied to JohnBeGood's topic in Modder Support
Is there any tutorials or anything regarding PlayBackgroundMusicEvent because I haven't personally ever used it. -
How to add ambient sounds / music to dimension?
JohnBeGood replied to JohnBeGood's topic in Modder Support
So, make a class and every tick check the dimension and then use the event? -
How does one go about doing something like this? Also is it possible to add music whenever a mob is alive (that doesn't repeat and doesn't keep playing after it dies).
-
So, if I have my mob entity class, how do I go about checking what that mobs current health is, and possibly changing it (adding to it). I'm just wondering if there is something like this.getHealth().
-
Mob method"attackEntityFrom" not working?
JohnBeGood replied to JohnBeGood's topic in Modder Support
Silly me, thank you. -
So I have a mob, and in it I have the attackEntityFrom method, but it isn't being called. Is there a place I need to reference it? Mob class-
-
Thank you!
-
So I have a bow that shoots this projectile, and the arrows always instantly and hit me whenever I'm on survival. Code for projectile-
-
Edit: nvm got it to work. Thanks
-
How does one go about doing this? o-o
-
How to make Bow render as bow, and shoot faster.
JohnBeGood replied to JohnBeGood's topic in Modder Support
Helped a lot. Would you happen to know how I can get the zooming in visual effect that the normal bow has when it is charged? -
How to make Bow render as bow, and shoot faster.
JohnBeGood replied to JohnBeGood's topic in Modder Support
Okay so I realized maxUseDuration is how long you can hold it for, in which case I don't know how to speed it up. -
So, I currently have a bow item. However when holding it, it doesn't look like a bow but holds on a weird angle, and appears small. I also don't know how to make it fire faster, as changing the maxuseduration doesn't seem to adjust anything, even if I change the visuals too. My bow class-
-
How would I go about implementing that into a projectile though, that's the question.