Merge pull request #457 from TheJulianJES/patch-5
Fix sound, light level and hardness of tiny tnt
This commit is contained in:
commit
5a0bbed9ac
1 changed files with 3 additions and 1 deletions
|
@ -55,9 +55,11 @@ public class BlockTinyTNT extends AEBaseBlock implements ICustomCollision
|
|||
public BlockTinyTNT() {
|
||||
super( BlockTinyTNT.class, Material.tnt );
|
||||
setFeature( EnumSet.of( AEFeature.TinyTNT ) );
|
||||
setLightOpacity( 3 );
|
||||
setLightOpacity( 1 );
|
||||
setBlockBounds( 0.25f, 0.0f, 0.25f, 0.75f, 0.5f, 0.75f );
|
||||
isFullSize = isOpaque = false;
|
||||
setStepSound( soundTypeGrass );
|
||||
setHardness( 0F );
|
||||
|
||||
EntityRegistry.registerModEntity( EntityTinyTNTPrimed.class, "EntityTinyTNTPrimed", EntityIds.TINY_TNT, AppEng.instance, 16, 4, true );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue