Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
Регаешь переменную.
public float var;
Делаешь условие
if(Minecraft.getMinecraft().thePlayer.isSprinting())
{
var = var + 0.5F; //Время поворота во время действия
}
else
{
var = var - 0.5F; //Когда модель встает на место
}
...
Быдло код
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator;
public class MyWorldGenerate extends WorldGenerator
{
/** The ID of the plant block used in this plant generator. */
private int...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':reobf'.
> MALFORMED
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
Неа
Насчет ПКМ не знаю, вроде делать обычный предмет, а вот на ЛКМ..
На короче, это в предмет))
public boolean onEntitySwing(EntityLivingBase entityLiving, ItemStack stack) { return true; }
Это отменяет анимацию перемещения предмета когда бьешь
Вроде так.
Гл.Класс мода.
public static int getUniqueID() {
return Config.itemStartID++;
}
public static int getUniqueBlockID() {
return Config.blockStartID++;
}
Создаешь новый файл(заместо Config - свой файл)
public class Config {
public static Configuration...
Ну ладно, начну.
Есть строка
public RenderUModel() {
model1 = new ModelHand();
}
Это класс с рендером рук.
Руки:
package test;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
public class ModelHand...