fix claymore tnt entity texture
This commit is contained in:
		
							parent
							
								
									f7bf084070
								
							
						
					
					
						commit
						2aaecd9668
					
				| @ -38,7 +38,7 @@ mod_name=Enhanced Explosives | ||||
| # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. | ||||
| mod_license=All Rights Reserved | ||||
| # The mod version. See https://semver.org/ | ||||
| mod_version=0.8.9 | ||||
| mod_version=0.8.10 | ||||
| # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. | ||||
| # This should match the base package used for the mod sources. | ||||
| # See https://maven.apache.org/guides/mini/guide-naming-conventions.html | ||||
|  | ||||
| @ -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; | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user