Updated ids to better match vanilla conventions (#4412)
Also changed related textures, models and recipes.
This commit is contained in:
@@ -440,22 +440,22 @@ public final class ApiBlocks implements IBlocks
|
||||
|
||||
TileEntityDefinition craftingStorage = registry.tileEntity("crafting_storage", TileCraftingStorageTile.class, TileCraftingStorageTile::new)
|
||||
.build();
|
||||
this.craftingStorage1k = crafting.block( "crafting_storage_1k", () -> new BlockCraftingStorage( craftingBlockProps, CraftingUnitType.STORAGE_1K ) )
|
||||
this.craftingStorage1k = crafting.block( "1k_crafting_storage", () -> new BlockCraftingStorage( craftingBlockProps, CraftingUnitType.STORAGE_1K ) )
|
||||
.item( ItemCraftingStorage::new )
|
||||
.tileEntity(craftingStorage)
|
||||
.rendering( new CraftingCubeRendering() )
|
||||
.build();
|
||||
this.craftingStorage4k = crafting.block( "crafting_storage_4k", () -> new BlockCraftingStorage( craftingBlockProps, CraftingUnitType.STORAGE_4K ) )
|
||||
this.craftingStorage4k = crafting.block( "4k_crafting_storage", () -> new BlockCraftingStorage( craftingBlockProps, CraftingUnitType.STORAGE_4K ) )
|
||||
.item( ItemCraftingStorage::new )
|
||||
.tileEntity(craftingStorage)
|
||||
.rendering( new CraftingCubeRendering() )
|
||||
.build();
|
||||
this.craftingStorage16k = crafting.block( "crafting_storage_16k", () -> new BlockCraftingStorage( craftingBlockProps, CraftingUnitType.STORAGE_16K ) )
|
||||
this.craftingStorage16k = crafting.block( "16k_crafting_storage", () -> new BlockCraftingStorage( craftingBlockProps, CraftingUnitType.STORAGE_16K ) )
|
||||
.item( ItemCraftingStorage::new )
|
||||
.tileEntity(craftingStorage)
|
||||
.rendering( new CraftingCubeRendering() )
|
||||
.build();
|
||||
this.craftingStorage64k = crafting.block( "crafting_storage_64k", () -> new BlockCraftingStorage( craftingBlockProps, CraftingUnitType.STORAGE_64K ) )
|
||||
this.craftingStorage64k = crafting.block( "64k_crafting_storage", () -> new BlockCraftingStorage( craftingBlockProps, CraftingUnitType.STORAGE_64K ) )
|
||||
.item( ItemCraftingStorage::new )
|
||||
.tileEntity(craftingStorage)
|
||||
.rendering( new CraftingCubeRendering() )
|
||||
|
||||
@@ -135,7 +135,7 @@ public final class ApiItems implements IItems
|
||||
.itemGroup(ItemGroup.TOOLS)
|
||||
.addFeatures( AEFeature.QUARTZ_HOE )
|
||||
.build();
|
||||
this.certusQuartzShovel = certusTools.item( "certus_quartz_spade", props -> new ToolQuartzSpade( props, AEFeature.CERTUS_QUARTZ_TOOLS ) )
|
||||
this.certusQuartzShovel = certusTools.item( "certus_quartz_shovel", props -> new ToolQuartzSpade( props, AEFeature.CERTUS_QUARTZ_TOOLS ) )
|
||||
.itemGroup(ItemGroup.TOOLS)
|
||||
.addFeatures( AEFeature.QUARTZ_SPADE )
|
||||
.build();
|
||||
@@ -169,7 +169,7 @@ public final class ApiItems implements IItems
|
||||
.itemGroup(ItemGroup.TOOLS)
|
||||
.addFeatures( AEFeature.QUARTZ_HOE )
|
||||
.build();
|
||||
this.netherQuartzShovel = netherTools.item( "nether_quartz_spade", props -> new ToolQuartzSpade( props, AEFeature.NETHER_QUARTZ_TOOLS ) )
|
||||
this.netherQuartzShovel = netherTools.item( "nether_quartz_shovel", props -> new ToolQuartzSpade( props, AEFeature.NETHER_QUARTZ_TOOLS ) )
|
||||
.itemGroup(ItemGroup.TOOLS)
|
||||
.addFeatures( AEFeature.QUARTZ_SPADE )
|
||||
.build();
|
||||
@@ -249,20 +249,20 @@ public final class ApiItems implements IItems
|
||||
.build();
|
||||
|
||||
FeatureFactory storageCells = registry.features( AEFeature.STORAGE_CELLS );
|
||||
this.cell1k = storageCells.item( "storage_cell_1k", props -> new BasicItemStorageCell(props, MaterialType.CELL1K_PART, 1 ) ).build();
|
||||
this.cell4k = storageCells.item( "storage_cell_4k", props -> new BasicItemStorageCell(props, MaterialType.CELL4K_PART, 4 ) ).build();
|
||||
this.cell16k = storageCells.item( "storage_cell_16k", props -> new BasicItemStorageCell(props, MaterialType.CELL16K_PART, 16 ) ).build();
|
||||
this.cell64k = storageCells.item( "storage_cell_64k", props -> new BasicItemStorageCell(props, MaterialType.CELL64K_PART, 64 ) ).build();
|
||||
this.cell1k = storageCells.item( "1k_storage_cell", props -> new BasicItemStorageCell(props, MaterialType.ITEM_1K_CELL_COMPONENT, 1 ) ).build();
|
||||
this.cell4k = storageCells.item( "4k_storage_cell", props -> new BasicItemStorageCell(props, MaterialType.ITEM_4K_CELL_COMPONENT, 4 ) ).build();
|
||||
this.cell16k = storageCells.item( "16k_storage_cell", props -> new BasicItemStorageCell(props, MaterialType.ITEM_16K_CELL_COMPONENT, 16 ) ).build();
|
||||
this.cell64k = storageCells.item( "64k_storage_cell", props -> new BasicItemStorageCell(props, MaterialType.ITEM_64K_CELL_COMPONENT, 64 ) ).build();
|
||||
|
||||
this.fluidCell1k = storageCells.item( "fluid_storage_cell_1k", props -> new BasicFluidStorageCell(props, MaterialType.FLUID_CELL1K_PART, 1 ) ).build();
|
||||
this.fluidCell4k = storageCells.item( "fluid_storage_cell_4k", props -> new BasicFluidStorageCell(props, MaterialType.FLUID_CELL4K_PART, 4 ) ).build();
|
||||
this.fluidCell16k = storageCells.item( "fluid_storage_cell_16k", props -> new BasicFluidStorageCell(props, MaterialType.FLUID_CELL16K_PART, 16 ) ).build();
|
||||
this.fluidCell64k = storageCells.item( "fluid_storage_cell_64k", props -> new BasicFluidStorageCell(props, MaterialType.FLUID_CELL64K_PART, 64 ) ).build();
|
||||
this.fluidCell1k = storageCells.item( "1k_fluid_storage_cell", props -> new BasicFluidStorageCell(props, MaterialType.FLUID_1K_CELL_COMPONENT, 1 ) ).build();
|
||||
this.fluidCell4k = storageCells.item( "4k_fluid_storage_cell", props -> new BasicFluidStorageCell(props, MaterialType.FLUID_4K_CELL_COMPONENT, 4 ) ).build();
|
||||
this.fluidCell16k = storageCells.item( "16k_fluid_storage_cell", props -> new BasicFluidStorageCell(props, MaterialType.FLUID_16K_CELL_COMPONENT, 16 ) ).build();
|
||||
this.fluidCell64k = storageCells.item( "64k_fluid_storage_cell", props -> new BasicFluidStorageCell(props, MaterialType.FLUID_64K_CELL_COMPONENT, 64 ) ).build();
|
||||
|
||||
FeatureFactory spatialCells = registry.features( AEFeature.SPATIAL_IO );
|
||||
this.spatialCell2 = spatialCells.item( "spatial_storage_cell_2_cubed", props -> new ItemSpatialStorageCell(props, 2 ) ).build();
|
||||
this.spatialCell16 = spatialCells.item( "spatial_storage_cell_16_cubed", props -> new ItemSpatialStorageCell(props, 16 ) ).build();
|
||||
this.spatialCell128 = spatialCells.item( "spatial_storage_cell_128_cubed", props -> new ItemSpatialStorageCell(props, 128 ) ).build();
|
||||
this.spatialCell2 = spatialCells.item( "2_cubed_spatial_storage_cell", props -> new ItemSpatialStorageCell(props, 2 ) ).build();
|
||||
this.spatialCell16 = spatialCells.item( "16_cubed_spatial_storage_cell", props -> new ItemSpatialStorageCell(props, 16 ) ).build();
|
||||
this.spatialCell128 = spatialCells.item( "128_cubed_spatial_storage_cell", props -> new ItemSpatialStorageCell(props, 128 ) ).build();
|
||||
|
||||
this.facade = registry.item( "facade", ItemFacade::new )
|
||||
.features( AEFeature.FACADES )
|
||||
|
||||
@@ -128,9 +128,9 @@ public final class ApiMaterials implements IMaterials
|
||||
.customize(builder -> builder.setTrackingRange(16).setUpdateInterval(4).setShouldReceiveVelocityUpdates(true))
|
||||
.build();
|
||||
|
||||
this.cell2SpatialPart = createMaterial(MaterialType.CELL2_SPATIAL_PART );
|
||||
this.cell16SpatialPart = createMaterial(MaterialType.CELL16_SPATIAL_PART );
|
||||
this.cell128SpatialPart = createMaterial(MaterialType.CELL128_SPATIAL_PART );
|
||||
this.cell2SpatialPart = createMaterial(MaterialType.SPATIAL_2_CELL_COMPONENT );
|
||||
this.cell16SpatialPart = createMaterial(MaterialType.SPATIAL_16_CELL_COMPONENT );
|
||||
this.cell128SpatialPart = createMaterial(MaterialType.SPATIAL_128_CELL_COMPONENT );
|
||||
this.silicon = createMaterial(MaterialType.SILICON );
|
||||
this.skyDust = createMaterial(MaterialType.SKY_DUST );
|
||||
this.calcProcessorPress = createMaterial(MaterialType.CALCULATION_PROCESSOR_PRESS );
|
||||
@@ -150,10 +150,10 @@ public final class ApiMaterials implements IMaterials
|
||||
this.purifiedCertusQuartzCrystal = createMaterial(MaterialType.PURIFIED_CERTUS_QUARTZ_CRYSTAL );
|
||||
this.purifiedNetherQuartzCrystal = createMaterial(MaterialType.PURIFIED_NETHER_QUARTZ_CRYSTAL );
|
||||
this.purifiedFluixCrystal = createMaterial(MaterialType.PURIFIED_FLUIX_CRYSTAL );
|
||||
this.cell1kPart = createMaterial(MaterialType.CELL1K_PART );
|
||||
this.cell4kPart = createMaterial(MaterialType.CELL4K_PART );
|
||||
this.cell16kPart = createMaterial(MaterialType.CELL16K_PART );
|
||||
this.cell64kPart = createMaterial(MaterialType.CELL64K_PART );
|
||||
this.cell1kPart = createMaterial(MaterialType.ITEM_1K_CELL_COMPONENT );
|
||||
this.cell4kPart = createMaterial(MaterialType.ITEM_4K_CELL_COMPONENT );
|
||||
this.cell16kPart = createMaterial(MaterialType.ITEM_16K_CELL_COMPONENT );
|
||||
this.cell64kPart = createMaterial(MaterialType.ITEM_64K_CELL_COMPONENT );
|
||||
this.emptyStorageCell = createMaterial(MaterialType.EMPTY_STORAGE_CELL );
|
||||
this.cardRedstone = createMaterial(MaterialType.CARD_REDSTONE );
|
||||
this.cardSpeed = createMaterial(MaterialType.CARD_SPEED );
|
||||
@@ -181,10 +181,10 @@ public final class ApiMaterials implements IMaterials
|
||||
this.singularity = createMaterial(MaterialType.SINGULARITY );
|
||||
this.qESingularity = createMaterial(MaterialType.QUANTUM_ENTANGLED_SINGULARITY );
|
||||
this.blankPattern = createMaterial(MaterialType.BLANK_PATTERN );
|
||||
this.fluidCell1kPart = createMaterial(MaterialType.FLUID_CELL1K_PART );
|
||||
this.fluidCell4kPart = createMaterial(MaterialType.FLUID_CELL4K_PART );
|
||||
this.fluidCell16kPart = createMaterial(MaterialType.FLUID_CELL16K_PART );
|
||||
this.fluidCell64kPart = createMaterial(MaterialType.FLUID_CELL64K_PART );
|
||||
this.fluidCell1kPart = createMaterial(MaterialType.FLUID_1K_CELL_COMPONENT );
|
||||
this.fluidCell4kPart = createMaterial(MaterialType.FLUID_4K_CELL_COMPONENT );
|
||||
this.fluidCell16kPart = createMaterial(MaterialType.FLUID_16K_CELL_COMPONENT );
|
||||
this.fluidCell64kPart = createMaterial(MaterialType.FLUID_64K_CELL_COMPONENT );
|
||||
}
|
||||
|
||||
private IItemDefinition createMaterial(final MaterialType mat)
|
||||
|
||||
@@ -326,14 +326,6 @@ public final class ApiParts implements IParts
|
||||
return this.p2PTunnelLight;
|
||||
}
|
||||
|
||||
/*
|
||||
* @Override
|
||||
* public IItemDefinition p2PTunnelOpenComputers()
|
||||
* {
|
||||
* return this.p2PTunnelOpenComputers;
|
||||
* }
|
||||
*/
|
||||
|
||||
@Override
|
||||
public IItemDefinition cableAnchor()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user