Storage bus/i/o blockstates
This commit is contained in:
parent
f35974e23a
commit
de1eb1af19
@ -225,6 +225,50 @@ object DataGen {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
lambda {
|
||||
with(it.getMultipartBuilder(MBlocks.STORAGE_BUS)) {
|
||||
for (dir in Direction.values()) {
|
||||
part().modelFile(models().getExistingFile(ResourceLocation(OverdriveThatMatters.MOD_ID, "storage_bus")))
|
||||
.rotationX(dir.toXRotBlockstate())
|
||||
.rotationY(dir.toYRotBlockstate())
|
||||
.addModel()
|
||||
.condition(RotatableMatteryBlock.FACING_FULL, dir)
|
||||
.end()
|
||||
}
|
||||
|
||||
part().modelFile(models().getExistingFile(ResourceLocation(OverdriveThatMatters.MOD_ID, "storage_cable_core")))
|
||||
.addModel().end()
|
||||
}
|
||||
|
||||
with(it.getMultipartBuilder(MBlocks.STORAGE_IMPORTER)) {
|
||||
for (dir in Direction.values()) {
|
||||
part().modelFile(models().getExistingFile(ResourceLocation(OverdriveThatMatters.MOD_ID, "storage_importer")))
|
||||
.rotationX(dir.toXRotBlockstate())
|
||||
.rotationY(dir.toYRotBlockstate())
|
||||
.addModel()
|
||||
.condition(RotatableMatteryBlock.FACING_FULL, dir)
|
||||
.end()
|
||||
}
|
||||
|
||||
part().modelFile(models().getExistingFile(ResourceLocation(OverdriveThatMatters.MOD_ID, "storage_cable_core")))
|
||||
.addModel().end()
|
||||
}
|
||||
|
||||
with(it.getMultipartBuilder(MBlocks.STORAGE_EXPORTER)) {
|
||||
for (dir in Direction.values()) {
|
||||
part().modelFile(models().getExistingFile(ResourceLocation(OverdriveThatMatters.MOD_ID, "storage_exporter")))
|
||||
.rotationX(dir.toXRotBlockstate())
|
||||
.rotationY(dir.toYRotBlockstate())
|
||||
.addModel()
|
||||
.condition(RotatableMatteryBlock.FACING_FULL, dir)
|
||||
.end()
|
||||
}
|
||||
|
||||
part().modelFile(models().getExistingFile(ResourceLocation(OverdriveThatMatters.MOD_ID, "storage_cable_core")))
|
||||
.addModel().end()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
with(itemModelProvider) {
|
||||
@ -293,6 +337,10 @@ object DataGen {
|
||||
block(MItems.PLATE_PRESS, "plate_press_idle")
|
||||
block(MItems.STORAGE_POWER_SUPPLIER, "storage_power_supplier")
|
||||
block(MItems.MATTER_RECYCLER, "matter_recycler_working")
|
||||
|
||||
block(MItems.STORAGE_BUS)
|
||||
block(MItems.STORAGE_IMPORTER)
|
||||
block(MItems.STORAGE_EXPORTER)
|
||||
}
|
||||
|
||||
blockStateProvider.lambda { provider ->
|
||||
|
Loading…
Reference in New Issue
Block a user