Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
public boolean onItemUse(ItemStack is, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ) {
int x, int y, int z
А что это за координаты? Координаты объекта, блока, или чисто тыка (то-есть на границе блока)timaxa007 написал(а):Код:public boolean onItemUse(ItemStack is, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ) {int x, int y, int z
Не, ну могли быть координаты энтити (одним словом, координаты объектов) или координаты границы коллизии.Agravaine написал(а):Што? Координаты блока, по которому кликнул.
world.getBiomeFromCoord(x, y);
The method getBiomeFromCoord(double, double) is undefined for the type World
world.getBiomeGenForCoords(1, 2);