mirror of
https://github.com/RoBaertschi/EnvironmentTech.git
synced 2025-04-19 23:03:28 +00:00
generate block states for env distributor
This commit is contained in:
parent
73befa1e00
commit
a22b1da189
@ -1,2 +1,3 @@
|
|||||||
// 1.21 2024-06-16T13:02:59.3372838 Block States: environmenttech
|
// 1.21 2024-06-26T15:38:42.326642 Block States: environmenttech
|
||||||
6abc8b83d4fb4316ca2dbb977510e6f349ef9e9c assets/environmenttech/blockstates/env_collector.json
|
6abc8b83d4fb4316ca2dbb977510e6f349ef9e9c assets/environmenttech/blockstates/env_collector.json
|
||||||
|
f7e8f32de50650930080d0d5d1a24176774d4bb9 assets/environmenttech/blockstates/env_distributor.json
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"variants": {
|
||||||
|
"facing=east": {
|
||||||
|
"model": "environmenttech:block/env_distributor",
|
||||||
|
"y": 90
|
||||||
|
},
|
||||||
|
"facing=north": {
|
||||||
|
"model": "environmenttech:block/env_distributor"
|
||||||
|
},
|
||||||
|
"facing=south": {
|
||||||
|
"model": "environmenttech:block/env_distributor",
|
||||||
|
"y": 180
|
||||||
|
},
|
||||||
|
"facing=west": {
|
||||||
|
"model": "environmenttech:block/env_distributor",
|
||||||
|
"y": 270
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -17,5 +17,6 @@ public class ETBlockStateProvider extends BlockStateProvider {
|
|||||||
protected void registerStatesAndModels() {
|
protected void registerStatesAndModels() {
|
||||||
// registerEnvCollector();
|
// registerEnvCollector();
|
||||||
horizontalBlock(ETBlocks.ENV_COLLECTOR_BLOCK.get(), new ModelFile.UncheckedModelFile(modLoc("block/env_collector")));
|
horizontalBlock(ETBlocks.ENV_COLLECTOR_BLOCK.get(), new ModelFile.UncheckedModelFile(modLoc("block/env_collector")));
|
||||||
|
horizontalBlock(ETBlocks.ENV_DISTRIBUTOR_BLOCK.get(), new ModelFile.UncheckedModelFile(modLoc("block/env_distributor")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,6 +21,7 @@ public class ETItemModelProvider extends ItemModelProvider {
|
|||||||
@Override
|
@Override
|
||||||
protected void registerModels() {
|
protected void registerModels() {
|
||||||
withExistingParent(ETBlocks.ENV_COLLECTOR_BLOCK.getId().getPath(), modLoc("block/" + "env_collector"));
|
withExistingParent(ETBlocks.ENV_COLLECTOR_BLOCK.getId().getPath(), modLoc("block/" + "env_collector"));
|
||||||
|
// withExistingParent(ETBlocks.ENV_DISTRIBUTOR_BLOCK.getId().getPath(), modLoc("block/" + "env_distributor"));
|
||||||
basicItem(ETItems.ENVIRONMENTAL_ESSENCE_ITEM.get());
|
basicItem(ETItems.ENVIRONMENTAL_ESSENCE_ITEM.get());
|
||||||
basicItem(ETItems.GLASS_TANK.get());
|
basicItem(ETItems.GLASS_TANK.get());
|
||||||
registerEnvDetector();
|
registerEnvDetector();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user