End fish prototype
This commit is contained in:
parent
df8e285757
commit
4237f5bdca
12 changed files with 152 additions and 11 deletions
13
src/main/java/ru/betterend/entity/BlockBenchModel.java
Normal file
13
src/main/java/ru/betterend/entity/BlockBenchModel.java
Normal file
|
@ -0,0 +1,13 @@
|
|||
package ru.betterend.entity;
|
||||
|
||||
import net.minecraft.client.model.ModelPart;
|
||||
import net.minecraft.client.render.entity.model.EntityModel;
|
||||
import net.minecraft.entity.Entity;
|
||||
|
||||
public abstract class BlockBenchModel<T extends Entity> extends EntityModel<T> {
|
||||
protected void setRotationAngle(ModelPart modelRenderer, float x, float y, float z) {
|
||||
modelRenderer.pitch = x;
|
||||
modelRenderer.yaw = y;
|
||||
modelRenderer.roll = z;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue