Skip to content

Commit

Permalink
Remove obsolete drive cell model gen
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Jul 13, 2024
1 parent 002dc21 commit 164ecc7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/data/java/gripe/_90/megacells/datagen/MEGAModelProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ protected void registerStatesAndModels() {
MEGAItems.getItemPortables().forEach(cell -> portable(cell, itemPortableHousing));
MEGAItems.getFluidPortables().forEach(cell -> portable(cell, fluidPortableHousing));

existing.trackGenerated(AppEng.makeId("block/drive/drive_cell"), MODEL);
driveCell("mega_item_cell");
driveCell("mega_fluid_cell");
driveCell("bulk_item_cell");

var craftingPattern =
AppEng.makeId("item/" + AEItems.CRAFTING_PATTERN.id().getPath());
existing.trackGenerated(craftingPattern, ModelProvider.TEXTURE);
Expand Down Expand Up @@ -245,11 +240,6 @@ private void portable(ItemDefinition<?> portable) {
}
*/

private void driveCell(String texture) {
var path = "block/drive/cells/" + texture;
models().singleTexture(path, AppEng.makeId("block/drive/drive_cell"), "cell", MEGACells.makeId(path));
}

private void interfaceOrProviderPart(ItemDefinition<?> part) {
var id = part.id().getPath();
var partName = id.substring(id.indexOf('_') + 1);
Expand Down

0 comments on commit 164ecc7

Please sign in to comment.