OP you simply fail to understand why most modders object to having their works distributed without their consent. For the majority of us it is not a matter of greed. Maybe you would understand if you had created anything worthwhile on these forums.
Mobs utilize a method inside World.java called getClosestVulnerablePlayerToEntity to find, well, the closest vulnerable player. It also checks to see if it is within a certain range and visible. It basically goes through the list of loaded players checking the distance on each one until it finds a suitable one. You would have to create code similar that would instead go though the list of all loaded entities and check to make sure that it is not a player.
I like the idea of this mod. It doesn't do anything too big but it adds some more fun to vanilla Minecraft.
My ideas for this mod:
- new plant: hops. (don't know if English is your first language so I'll say it again in German: Hopfen and French: houblon) You need hops to make 'proper' beer. Hops are a kind of vines that can give you nasty scratches (maybe 1/2 heart of damage) if you touch them (really, I'm not kidding, those things are vile!!) Harvested with shears
- white wine and red wine: make the seeds you get from the vines 50% green seeds and 50% red seeds so that you can grow red and green grapes. A re-texture of the vines to make them look more like wine leaves would also be nice.
- get yeast from brown mushrooms. Yeast is needed for making wine and some sorts of beer. Just to make the brewing recipes a little more realistic...
I appreciate suggestions but your ideas about the brewing process are wrong and inaccurate.
Just throw that inside the if(onGround) function and it should work fine. i, j and k are already defined earlier on and it should 'snap to' the grip fine.
"The constructor ItemSword(int, EnumMiningToolValues) is undefined"
I hadn't tried myself so I wasn't sure if that would work. The problem is that ItemSword expects an EnumToolMaterial not your custom Enum class. You're going to need to make your own ItemSword class for it.
0
Wow. Can you just stop posting? This is just getting embarrassing.
0
0
I always thought that one was supposed to be simple but I wasn't able to figure it out the other day either.
0
0
Also, ...sword trees?
0
I appreciate suggestions but your ideas about the brewing process are wrong and inaccurate.
1
1
0
You can use a mod here to to create transparent mobs.
0
1
Just throw that inside the if(onGround) function and it should work fine. i, j and k are already defined earlier on and it should 'snap to' the grip fine.
0
I thought 20 was 1 second.
0
I hadn't tried myself so I wasn't sure if that would work. The problem is that ItemSword expects an EnumToolMaterial not your custom Enum class. You're going to need to make your own ItemSword class for it.
0
That should fix it.
0