fix claymore tnt entity texture

This commit is contained in:
Jenny committed 2025-01-26 20:44:19 +01:00
1 parent f7bf084070
commit 2aaecd9668
2 files changed
+9 -1

No files matched your search

@@ -1,9 +1,12 @@
package com.jenny.enhancedexplosives.entities.tnt;
import com.jenny.enhancedexplosives.blocks.blocks;
import com.jenny.enhancedexplosives.entities.entities;
import net.minecraft.world.entity.EntityType;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.phys.Vec3;
import javax.annotation.Nullable;
@@ -18,4 +21,9 @@ public class ClusterPrimedTNT extends basePrimedTNT {
public ClusterPrimedTNT(EntityType<ClusterPrimedTNT> entityType, Level level) {
super(entityType, level, null);
}
@Override
public Block renderBlock() {
return Blocks.TNT;
}
}