Skip to content

Commit 7d129b2

Browse files
fix LicoriceSpear Model
1 parent 63d4e1f commit 7d129b2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

common/src/main/java/cn/breadnicecat/candycraftce/entity/renderers/RendererLicoriceSpear.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import com.mojang.blaze3d.vertex.PoseStack;
66
import com.mojang.blaze3d.vertex.VertexConsumer;
77
import com.mojang.math.Axis;
8-
import net.minecraft.client.model.TridentModel;
98
import net.minecraft.client.renderer.MultiBufferSource;
109
import net.minecraft.client.renderer.entity.EntityRenderer;
1110
import net.minecraft.client.renderer.entity.EntityRendererProvider;
@@ -28,11 +27,11 @@
2827
**/
2928
public class RendererLicoriceSpear extends EntityRenderer<LicoriceSpear> {
3029
public static ResourceLocation TEX = entityTex("licorice_spear");
31-
private final TridentModel model;
30+
private final ModelLicoriceSpear model;
3231

3332
public RendererLicoriceSpear(EntityRendererProvider.Context context) {
3433
super(context);
35-
model = new TridentModel(context.bakeLayer(ModelLicoriceSpear.MAIN));
34+
model = new ModelLicoriceSpear(context.bakeLayer(ModelLicoriceSpear.MAIN));
3635
}
3736

3837
@Override

0 commit comments

Comments
 (0)