and go to minecraft Block#addCollisionBoxesToList and match the arguments with your addCollisionBoxesToList
You have to read well the post
His mod is in 1.8 that have a ton of differences from 1.7.10.
the addCollisionBoxesToList is public void addCollisionBoxesToList(World, int, int, int, AxisAlignedBB, List, Entity) and then you have to adapt the super.addCollisionBoxesToList.
N.B. As I saw you simply have to remove IBlockState state in function and then super.addCollisionBoxesToList seems to be correct
@SubscribeEvent
public void onInteract(PlayerInteractEvent evt) {
if (evt.action != Action.RIGHT_CLICK_BLOCK) return;
evt.world.getBlock(evt.x, evt.y, evt.z); //this is for getting the block
}
when obtained the block if it is a furnace a crafting or a chest you memorize it and then you calculate the most used of each one and calculate distances between them.
EDIT: Well that was fixed pretty fast. Now, I'm not sure if this is the correct section (feel free to delete this topic if it is), but is anyone willing to be a texturer of this mod-to-come because I'm rubbish with art?
When it detects a player with the flight potion active, it enables flying for them and adds their name to a map. When it detects a player without the flight potion active, it only disables flying if their name is in the map.
Yes I used this in my mod too but it's more difficult to implement compared to the other.
And I did it in 1.6.4 but it has a problem: it wasn't checking for armor. it was blocking on the first if statement.
0
Sorry for being rude but you have to learn the java basics!
That said you don't have to call UtilM on the result because you want to call your util...
you have to call your util and the result as argument (that you already did)
0
np
I know is the same message that wrote Lapis but I don't know what to say other than that
0
in the EntitySkeleton constructor there is this:
it tell to attack the nearest player. I think (but I'm not sure that works) you have to do in your custom skeleton constructor:
1
the source are contained in "mdk" and yes, it is a zip file
EDIT: the zip doesn't contain the proper source but it contain gradle. run it and it will download the needed files
0
Yeah lapis failed in part
the problem was the same: the AABB constructor is not visible...
0
You have to read well the post
His mod is in 1.8 that have a ton of differences from 1.7.10.
the addCollisionBoxesToList is public void addCollisionBoxesToList(World, int, int, int, AxisAlignedBB, List, Entity) and then you have to adapt the super.addCollisionBoxesToList.
N.B. As I saw you simply have to remove IBlockState state in function and then super.addCollisionBoxesToList seems to be correct
1
to get the direction, in the onPlaceBlock use this to get direction:
use it in rendering and save it in nbt to get it the next time
1
In the last argument of drawString you added a 0 too (you wrote 0x4040400 it should be 0x404040)
0
you can use event to know used block:
when obtained the block if it is a furnace a crafting or a chest you memorize it and then you calculate the most used of each one and calculate distances between them.
I don't think there is a simplest way to do this.
0
He said he fixed it
0
hmm. a strange situation :/
0
Your IDE should tell you what are the errors, simply pass the mouse over the errors
0
HappyKiller1O1, I think he know that there is online-mode property but he want to "troll" the people that access using cracked profile
0
Yes I used this in my mod too but it's more difficult to implement compared to the other.
And I did it in 1.6.4 but it has a problem: it wasn't checking for armor. it was blocking on the first if statement.
0
ah sorry I hadn't read well