enable controller and smart cables registration, even with channels off
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ aebuild=7
|
|||||||
aegroup=appeng
|
aegroup=appeng
|
||||||
aebasename=appliedenergistics2
|
aebasename=appliedenergistics2
|
||||||
extended=extended_life
|
extended=extended_life
|
||||||
extendedversion=v51k
|
extendedversion=v0.52.1
|
||||||
#########################################################
|
#########################################################
|
||||||
# Versions #
|
# Versions #
|
||||||
#########################################################
|
#########################################################
|
||||||
|
|||||||
@@ -397,7 +397,6 @@ public final class ApiBlocks implements IBlocks
|
|||||||
.tileEntity( new TileEntityDefinition( TileSpatialIOPort.class ) )
|
.tileEntity( new TileEntityDefinition( TileSpatialIOPort.class ) )
|
||||||
.build();
|
.build();
|
||||||
this.controller = registry.block( "controller", BlockController::new )
|
this.controller = registry.block( "controller", BlockController::new )
|
||||||
.features( AEFeature.CHANNELS )
|
|
||||||
.tileEntity( new TileEntityDefinition( TileController.class ) )
|
.tileEntity( new TileEntityDefinition( TileController.class ) )
|
||||||
.useCustomItemModel()
|
.useCustomItemModel()
|
||||||
.rendering( new ControllerRendering() )
|
.rendering( new ControllerRendering() )
|
||||||
@@ -635,7 +634,7 @@ public final class ApiBlocks implements IBlocks
|
|||||||
} )
|
} )
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
Verify.verify(stairs.maybeBlock().isPresent());
|
Verify.verify( stairs.maybeBlock().isPresent() );
|
||||||
|
|
||||||
return stairs;
|
return stairs;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ public enum PartType
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
CABLE_SMART( 40, "cable_smart", EnumSet.of( AEFeature.CHANNELS, AEFeature.SMART_CABLES ), EnumSet.noneOf( IntegrationType.class ), PartCableSmart.class )
|
CABLE_SMART( 40, "cable_smart", EnumSet.of( AEFeature.SMART_CABLES ), EnumSet.noneOf( IntegrationType.class ), PartCableSmart.class )
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public boolean isCable()
|
public boolean isCable()
|
||||||
@@ -121,7 +121,7 @@ public enum PartType
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
CABLE_DENSE_SMART( 60, "cable_dense_smart", EnumSet.of( AEFeature.CHANNELS, AEFeature.DENSE_CABLES ), EnumSet.noneOf( IntegrationType.class ), PartDenseCableSmart.class )
|
CABLE_DENSE_SMART( 60, "cable_dense_smart", EnumSet.of( AEFeature.DENSE_CABLES ), EnumSet.noneOf( IntegrationType.class ), PartDenseCableSmart.class )
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public boolean isCable()
|
public boolean isCable()
|
||||||
@@ -137,7 +137,7 @@ public enum PartType
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
CABLE_DENSE_COVERED( 500, "cable_dense_covered", EnumSet.of( AEFeature.CHANNELS, AEFeature.DENSE_CABLES ), EnumSet.noneOf( IntegrationType.class ), PartDenseCableCovered.class )
|
CABLE_DENSE_COVERED( 500, "cable_dense_covered", EnumSet.of( AEFeature.DENSE_CABLES ), EnumSet.noneOf( IntegrationType.class ), PartDenseCableCovered.class )
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public boolean isCable()
|
public boolean isCable()
|
||||||
|
|||||||
Reference in New Issue
Block a user