Merge pull request #457 from TheJulianJES/patch-5

Fix sound, light level and hardness of tiny tnt
This commit is contained in:
thatsIch 2014-11-18 20:53:08 +01:00
commit 5a0bbed9ac

View file

@ -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 );
}