Fish animation & egg
This commit is contained in:
parent
e76577328c
commit
112783835e
5 changed files with 79 additions and 7 deletions
|
@ -1,5 +1,7 @@
|
|||
package ru.betterend.entity.model;
|
||||
|
||||
import com.mojang.blaze3d.systems.RenderSystem;
|
||||
|
||||
import net.minecraft.client.model.ModelPart;
|
||||
import net.minecraft.client.render.VertexConsumer;
|
||||
import net.minecraft.client.util.math.MatrixStack;
|
||||
|
@ -97,6 +99,8 @@ public class ModelEntityDragonfly extends BlockBenchModel<EntityDragonfly> {
|
|||
|
||||
@Override
|
||||
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) {
|
||||
RenderSystem.enableCull();
|
||||
model.render(matrices, vertices, light, overlay);
|
||||
RenderSystem.disableCull();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue