Added stair blocks. (#47)
This commit is contained in:
@@ -39,7 +39,7 @@ public abstract class AEBaseStairBlock extends BlockStairs implements IAEFeature
|
||||
|
||||
protected AEBaseStairBlock( final Block block, final EnumSet<AEFeature> features, final String type )
|
||||
{
|
||||
super( block.getStateFromMeta( 0 ) );
|
||||
super( block.getDefaultState() );
|
||||
|
||||
Preconditions.checkNotNull( block );
|
||||
Preconditions.checkNotNull( block.getUnlocalizedName() );
|
||||
|
||||
@@ -90,11 +90,11 @@ public final class AEBlockFeatureHandler implements IFeatureHandler
|
||||
if( this.definition.maybeItem().isPresent() )
|
||||
{
|
||||
GameRegistry.register( this.definition.maybeItem().get().setRegistryName( registryName ) );
|
||||
}
|
||||
|
||||
if( side == Side.CLIENT )
|
||||
{
|
||||
ModelBakery.registerItemVariants( this.definition.maybeItem().get(), registryName );
|
||||
if( side == Side.CLIENT )
|
||||
{
|
||||
ModelBakery.registerItemVariants( this.definition.maybeItem().get(), registryName );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user