diff --git a/src/generated/resources/assets/ae2/models/block/large_quartz_bud.json b/src/generated/resources/assets/ae2/models/block/large_quartz_bud.json index 502a2d40308..7014339ba6c 100644 --- a/src/generated/resources/assets/ae2/models/block/large_quartz_bud.json +++ b/src/generated/resources/assets/ae2/models/block/large_quartz_bud.json @@ -1,5 +1,6 @@ { "parent": "minecraft:block/cross", + "render_type": "minecraft:cutout", "textures": { "cross": "ae2:block/large_quartz_bud" } diff --git a/src/generated/resources/assets/ae2/models/block/medium_quartz_bud.json b/src/generated/resources/assets/ae2/models/block/medium_quartz_bud.json index 449b85068d3..41db4a3bab0 100644 --- a/src/generated/resources/assets/ae2/models/block/medium_quartz_bud.json +++ b/src/generated/resources/assets/ae2/models/block/medium_quartz_bud.json @@ -1,5 +1,6 @@ { "parent": "minecraft:block/cross", + "render_type": "minecraft:cutout", "textures": { "cross": "ae2:block/medium_quartz_bud" } diff --git a/src/generated/resources/assets/ae2/models/block/quartz_cluster.json b/src/generated/resources/assets/ae2/models/block/quartz_cluster.json index 6b989510882..f1433788f2c 100644 --- a/src/generated/resources/assets/ae2/models/block/quartz_cluster.json +++ b/src/generated/resources/assets/ae2/models/block/quartz_cluster.json @@ -1,5 +1,6 @@ { "parent": "minecraft:block/cross", + "render_type": "minecraft:cutout", "textures": { "cross": "ae2:block/quartz_cluster" } diff --git a/src/generated/resources/assets/ae2/models/block/small_quartz_bud.json b/src/generated/resources/assets/ae2/models/block/small_quartz_bud.json index 96443ea384f..9f2a3e97808 100644 --- a/src/generated/resources/assets/ae2/models/block/small_quartz_bud.json +++ b/src/generated/resources/assets/ae2/models/block/small_quartz_bud.json @@ -1,5 +1,6 @@ { "parent": "minecraft:block/cross", + "render_type": "minecraft:cutout", "textures": { "cross": "ae2:block/small_quartz_bud" } diff --git a/src/main/java/appeng/block/paint/PaintSplotchesBakedModel.java b/src/main/java/appeng/block/paint/PaintSplotchesBakedModel.java index d5965c5403a..44ea107db0a 100644 --- a/src/main/java/appeng/block/paint/PaintSplotchesBakedModel.java +++ b/src/main/java/appeng/block/paint/PaintSplotchesBakedModel.java @@ -36,6 +36,7 @@ import net.minecraft.core.Direction; import net.minecraft.util.RandomSource; import net.minecraft.world.level.block.state.BlockState; +import net.neoforged.neoforge.client.ChunkRenderTypeSet; import net.neoforged.neoforge.client.model.IDynamicBakedModel; import net.neoforged.neoforge.client.model.data.ModelData; @@ -57,6 +58,8 @@ class PaintSplotchesBakedModel implements IDynamicBakedModel { private static final Material TEXTURE_PAINT3 = new Material(TextureAtlas.LOCATION_BLOCKS, AppEng.makeId("block/paint3")); + private static final ChunkRenderTypeSet RENDER_TYPES = ChunkRenderTypeSet.of(RenderType.CUTOUT); + private final TextureAtlasSprite[] textures; PaintSplotchesBakedModel(Function bakedTextureGetter) { @@ -188,4 +191,9 @@ public boolean usesBlockLight() { static List getRequiredTextures() { return ImmutableList.of(TEXTURE_PAINT1, TEXTURE_PAINT2, TEXTURE_PAINT3); } + + @Override + public ChunkRenderTypeSet getRenderTypes(BlockState state, RandomSource rand, ModelData data) { + return RENDER_TYPES; + } } diff --git a/src/main/java/appeng/block/qnb/QnbFormedBakedModel.java b/src/main/java/appeng/block/qnb/QnbFormedBakedModel.java index bd2c403c461..bb77320d0c0 100644 --- a/src/main/java/appeng/block/qnb/QnbFormedBakedModel.java +++ b/src/main/java/appeng/block/qnb/QnbFormedBakedModel.java @@ -39,6 +39,7 @@ import net.minecraft.util.RandomSource; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.state.BlockState; +import net.neoforged.neoforge.client.ChunkRenderTypeSet; import net.neoforged.neoforge.client.model.IDynamicBakedModel; import net.neoforged.neoforge.client.model.data.ModelData; @@ -48,7 +49,7 @@ import appeng.core.definitions.AEBlocks; class QnbFormedBakedModel implements IDynamicBakedModel { - + private static final ChunkRenderTypeSet RENDER_TYPES = ChunkRenderTypeSet.of(RenderType.CUTOUT); private static final Material TEXTURE_LINK = new Material(TextureAtlas.LOCATION_BLOCKS, AppEng.makeId("block/quantum_link")); private static final Material TEXTURE_RING = new Material(TextureAtlas.LOCATION_BLOCKS, @@ -241,4 +242,9 @@ public static List getRequiredTextures() { return ImmutableList.of(TEXTURE_LINK, TEXTURE_RING, TEXTURE_CABLE_GLASS, TEXTURE_COVERED_CABLE, TEXTURE_RING_LIGHT, TEXTURE_RING_LIGHT_CORNER); } + + @Override + public ChunkRenderTypeSet getRenderTypes(BlockState state, RandomSource rand, ModelData data) { + return RENDER_TYPES; + } } diff --git a/src/main/java/appeng/client/render/cablebus/CableBusBakedModel.java b/src/main/java/appeng/client/render/cablebus/CableBusBakedModel.java index 939079f716e..f550a9a0512 100644 --- a/src/main/java/appeng/client/render/cablebus/CableBusBakedModel.java +++ b/src/main/java/appeng/client/render/cablebus/CableBusBakedModel.java @@ -48,6 +48,7 @@ import net.minecraft.util.RandomSource; import net.minecraft.world.level.BlockAndTintGetter; import net.minecraft.world.level.block.state.BlockState; +import net.neoforged.neoforge.client.ChunkRenderTypeSet; import net.neoforged.neoforge.client.model.IDynamicBakedModel; import net.neoforged.neoforge.client.model.data.ModelData; import net.neoforged.neoforge.client.model.data.ModelProperty; @@ -428,4 +429,8 @@ public ItemOverrides getOverrides() { return ItemOverrides.EMPTY; } + @Override + public ChunkRenderTypeSet getRenderTypes(BlockState state, RandomSource rand, ModelData data) { + return ChunkRenderTypeSet.all(); + } } diff --git a/src/main/java/appeng/client/render/crafting/CraftingCubeBakedModel.java b/src/main/java/appeng/client/render/crafting/CraftingCubeBakedModel.java index 5a07693d5d2..791cf84d404 100644 --- a/src/main/java/appeng/client/render/crafting/CraftingCubeBakedModel.java +++ b/src/main/java/appeng/client/render/crafting/CraftingCubeBakedModel.java @@ -33,6 +33,7 @@ import net.minecraft.core.Direction.Axis; import net.minecraft.util.RandomSource; import net.minecraft.world.level.block.state.BlockState; +import net.neoforged.neoforge.client.ChunkRenderTypeSet; import net.neoforged.neoforge.client.model.IDynamicBakedModel; import net.neoforged.neoforge.client.model.data.ModelData; @@ -46,6 +47,7 @@ * "inner" part of each block to the subclasses of this class. */ abstract class CraftingCubeBakedModel implements IDynamicBakedModel { + private static final ChunkRenderTypeSet RENDER_TYPES = ChunkRenderTypeSet.of(RenderType.CUTOUT); private final TextureAtlasSprite ringCorner; @@ -267,4 +269,8 @@ public ItemOverrides getOverrides() { return ItemOverrides.EMPTY; } + @Override + public ChunkRenderTypeSet getRenderTypes(BlockState state, RandomSource rand, ModelData data) { + return RENDER_TYPES; + } } diff --git a/src/main/java/appeng/client/render/model/DriveBakedModel.java b/src/main/java/appeng/client/render/model/DriveBakedModel.java index f1d1e7d5c87..5abe37f567a 100644 --- a/src/main/java/appeng/client/render/model/DriveBakedModel.java +++ b/src/main/java/appeng/client/render/model/DriveBakedModel.java @@ -36,6 +36,7 @@ import net.minecraft.world.item.Item; import net.minecraft.world.item.Items; import net.minecraft.world.level.block.state.BlockState; +import net.neoforged.neoforge.client.ChunkRenderTypeSet; import net.neoforged.neoforge.client.model.data.ModelData; import appeng.client.render.DelegateBakedModel; @@ -43,6 +44,7 @@ import appeng.thirdparty.fabric.RenderContext; public class DriveBakedModel extends DelegateBakedModel { + private static final ChunkRenderTypeSet RENDER_TYPES = ChunkRenderTypeSet.of(RenderType.CUTOUT); private final Map cellModels; private final BakedModel defaultCellModel; @@ -161,4 +163,9 @@ public boolean transform(MutableQuadView quad) { return true; } } + + @Override + public ChunkRenderTypeSet getRenderTypes(BlockState state, RandomSource rand, ModelData data) { + return RENDER_TYPES; + } } diff --git a/src/main/java/appeng/client/render/model/GlassBakedModel.java b/src/main/java/appeng/client/render/model/GlassBakedModel.java index 371ba94b8d1..c612c286d25 100644 --- a/src/main/java/appeng/client/render/model/GlassBakedModel.java +++ b/src/main/java/appeng/client/render/model/GlassBakedModel.java @@ -45,6 +45,7 @@ import net.minecraft.world.level.BlockAndTintGetter; import net.minecraft.world.level.block.state.BlockState; import net.minecraft.world.phys.Vec3; +import net.neoforged.neoforge.client.ChunkRenderTypeSet; import net.neoforged.neoforge.client.model.IDynamicBakedModel; import net.neoforged.neoforge.client.model.data.ModelData; import net.neoforged.neoforge.client.model.data.ModelProperty; @@ -54,6 +55,7 @@ import appeng.decorative.solid.QuartzGlassBlock; class GlassBakedModel implements IDynamicBakedModel { + private static final ChunkRenderTypeSet RENDER_TYPES = ChunkRenderTypeSet.of(RenderType.CUTOUT); // This unlisted property is used to determine the actual block that should be // rendered @@ -315,4 +317,8 @@ private static boolean isGlassBlock(BlockAndTintGetter level, BlockState state, .getBlock() instanceof QuartzGlassBlock; } + @Override + public ChunkRenderTypeSet getRenderTypes(BlockState state, RandomSource rand, ModelData data) { + return RENDER_TYPES; + } } diff --git a/src/main/java/appeng/client/render/tesr/spatial/SpatialPylonBakedModel.java b/src/main/java/appeng/client/render/tesr/spatial/SpatialPylonBakedModel.java index f2fe9f55da7..0d86728df31 100644 --- a/src/main/java/appeng/client/render/tesr/spatial/SpatialPylonBakedModel.java +++ b/src/main/java/appeng/client/render/tesr/spatial/SpatialPylonBakedModel.java @@ -32,6 +32,7 @@ import net.minecraft.core.Direction; import net.minecraft.util.RandomSource; import net.minecraft.world.level.block.state.BlockState; +import net.neoforged.neoforge.client.ChunkRenderTypeSet; import net.neoforged.neoforge.client.model.IDynamicBakedModel; import net.neoforged.neoforge.client.model.data.ModelData; @@ -42,6 +43,7 @@ * The baked model that will be used for rendering the spatial pylon. */ class SpatialPylonBakedModel implements IDynamicBakedModel { + private static final ChunkRenderTypeSet RENDER_TYPES = ChunkRenderTypeSet.of(RenderType.CUTOUT); private final Map textures; @@ -199,4 +201,9 @@ public TextureAtlasSprite getParticleIcon() { public ItemOverrides getOverrides() { return ItemOverrides.EMPTY; } + + @Override + public ChunkRenderTypeSet getRenderTypes(BlockState state, RandomSource rand, ModelData data) { + return RENDER_TYPES; + } } diff --git a/src/main/java/appeng/core/AppEngClient.java b/src/main/java/appeng/core/AppEngClient.java index 0942c645984..27ee1510052 100644 --- a/src/main/java/appeng/core/AppEngClient.java +++ b/src/main/java/appeng/core/AppEngClient.java @@ -117,7 +117,6 @@ import appeng.init.client.InitEntityLayerDefinitions; import appeng.init.client.InitItemColors; import appeng.init.client.InitItemModelsProperties; -import appeng.init.client.InitRenderTypes; import appeng.init.client.InitScreens; import appeng.init.client.InitStackRenderHandlers; import appeng.items.storage.StorageCellTooltipComponent; @@ -324,7 +323,6 @@ private void registerEntityLayerDefinitions(EntityRenderersEvent.RegisterLayerDe private void postClientSetup(Minecraft minecraft) { StyleManager.initialize(minecraft.getResourceManager()); InitStackRenderHandlers.init(); - InitRenderTypes.init(); // Only activate the site exporter when we're not running a release version, since it'll // replace blocks around spawn. diff --git a/src/main/java/appeng/datagen/providers/models/BlockModelProvider.java b/src/main/java/appeng/datagen/providers/models/BlockModelProvider.java index 767dd325725..0fd3cbcd753 100644 --- a/src/main/java/appeng/datagen/providers/models/BlockModelProvider.java +++ b/src/main/java/appeng/datagen/providers/models/BlockModelProvider.java @@ -393,7 +393,7 @@ private void craftingModel(BlockDefinition block, String name) { private void generateQuartzCluster(BlockDefinition quartz) { var name = quartz.id().getPath(); var texture = makeId("block/" + name); - var model = models().cross(name, texture); + var model = models().cross(name, texture).renderType("cutout"); directionalBlock(quartz.block(), model); itemModels().withExistingParent(name, mcLoc("item/generated")).texture("layer0", texture); } diff --git a/src/main/java/appeng/init/client/InitRenderTypes.java b/src/main/java/appeng/init/client/InitRenderTypes.java deleted file mode 100644 index dd342af2a16..00000000000 --- a/src/main/java/appeng/init/client/InitRenderTypes.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - * This file is part of Applied Energistics 2. - * Copyright (c) 2021, TeamAppliedEnergistics, All rights reserved. - * - * Applied Energistics 2 is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Applied Energistics 2 is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Applied Energistics 2. If not, see . - */ - -package appeng.init.client; - -import net.minecraft.client.renderer.ItemBlockRenderTypes; -import net.minecraft.client.renderer.RenderType; -import net.neoforged.api.distmarker.Dist; -import net.neoforged.api.distmarker.OnlyIn; - -import appeng.core.definitions.AEBlocks; -import appeng.core.definitions.BlockDefinition; - -/** - * Initializes which layers specific blocks render in. - */ -@OnlyIn(Dist.CLIENT) -public final class InitRenderTypes { - - /** - * List of blocks that should render in the cutout layer. - */ - private static final BlockDefinition[] CUTOUT_BLOCKS = { - AEBlocks.CRAFTING_MONITOR, - AEBlocks.CONTROLLER, - AEBlocks.MOLECULAR_ASSEMBLER, - AEBlocks.QUARTZ_GLASS, - AEBlocks.QUARTZ_VIBRANT_GLASS, - AEBlocks.QUARTZ_FIXTURE, - AEBlocks.LIGHT_DETECTOR, - AEBlocks.WIRELESS_ACCESS_POINT, - AEBlocks.PAINT, - AEBlocks.QUANTUM_RING, - AEBlocks.QUANTUM_LINK, - AEBlocks.ME_CHEST, - AEBlocks.DRIVE, - AEBlocks.CRAFTING_UNIT, - AEBlocks.CRAFTING_ACCELERATOR, - AEBlocks.CRAFTING_STORAGE_1K, - AEBlocks.CRAFTING_STORAGE_4K, - AEBlocks.CRAFTING_STORAGE_16K, - AEBlocks.CRAFTING_STORAGE_64K, - AEBlocks.CRAFTING_STORAGE_256K, - AEBlocks.SPATIAL_PYLON, - AEBlocks.SKY_STONE_TANK, - AEBlocks.SMALL_QUARTZ_BUD, - AEBlocks.MEDIUM_QUARTZ_BUD, - AEBlocks.LARGE_QUARTZ_BUD, - AEBlocks.QUARTZ_CLUSTER, - AEBlocks.MYSTERIOUS_CUBE, - AEBlocks.NOT_SO_MYSTERIOUS_CUBE, - AEBlocks.CRYSTAL_RESONANCE_GENERATOR, - }; - - private InitRenderTypes() { - } - - public static void init() { - for (var definition : CUTOUT_BLOCKS) { - ItemBlockRenderTypes.setRenderLayer(definition.block(), RenderType.cutout()); - } - - // Cable bus multiblock renders in all layers - ItemBlockRenderTypes.setRenderLayer(AEBlocks.CABLE_BUS.block(), rt -> true); - } - -} diff --git a/src/main/resources/assets/ae2/models/block/chest/base.json b/src/main/resources/assets/ae2/models/block/chest/base.json index f36b369f47c..2a2b6ea5768 100644 --- a/src/main/resources/assets/ae2/models/block/chest/base.json +++ b/src/main/resources/assets/ae2/models/block/chest/base.json @@ -9,6 +9,7 @@ "details": "ae2:block/chest/details", "particle": "ae2:block/chest/top_item" }, + "render_type": "cutout", "elements": [ { "from": [0, 7, 0], diff --git a/src/main/resources/assets/ae2/models/block/chest/lights_off.json b/src/main/resources/assets/ae2/models/block/chest/lights_off.json index 87079670303..316184acf85 100644 --- a/src/main/resources/assets/ae2/models/block/chest/lights_off.json +++ b/src/main/resources/assets/ae2/models/block/chest/lights_off.json @@ -3,6 +3,7 @@ "textures": { "lights": "ae2:block/chest/lights_off" }, + "render_type": "cutout", "elements": [ { "from": [0, 0, 0], diff --git a/src/main/resources/assets/ae2/models/block/chest/lights_on.json b/src/main/resources/assets/ae2/models/block/chest/lights_on.json index dfb1b90d4ef..a4aa6af41e3 100644 --- a/src/main/resources/assets/ae2/models/block/chest/lights_on.json +++ b/src/main/resources/assets/ae2/models/block/chest/lights_on.json @@ -5,6 +5,7 @@ "lights_medium": "ae2:block/chest/lights_on_medium", "lights_dark": "ae2:block/chest/lights_on_dark" }, + "render_type": "cutout", "elements": [ { "from": [0, 0, 0], diff --git a/src/main/resources/assets/ae2/models/block/controller/controller_block_lights.json b/src/main/resources/assets/ae2/models/block/controller/controller_block_lights.json index f9b4f7eafcf..f700af39f6a 100644 --- a/src/main/resources/assets/ae2/models/block/controller/controller_block_lights.json +++ b/src/main/resources/assets/ae2/models/block/controller/controller_block_lights.json @@ -3,6 +3,7 @@ "textures": { "particle": "ae2:block/controller" }, + "render_type": "cutout", "elements": [ { "faces": { diff --git a/src/main/resources/assets/ae2/models/block/controller/controller_column_conflicted.json b/src/main/resources/assets/ae2/models/block/controller/controller_column_conflicted.json index 8effbd66b4a..9126ebebaa3 100644 --- a/src/main/resources/assets/ae2/models/block/controller/controller_column_conflicted.json +++ b/src/main/resources/assets/ae2/models/block/controller/controller_column_conflicted.json @@ -5,6 +5,7 @@ "lights": "ae2:block/controller_column_conflict", "particle": "ae2:block/controller" }, + "render_type": "cutout", "elements": [ { "faces": { diff --git a/src/main/resources/assets/ae2/models/block/controller/controller_column_online.json b/src/main/resources/assets/ae2/models/block/controller/controller_column_online.json index 18e9c85aa7b..a3c66c7fd32 100644 --- a/src/main/resources/assets/ae2/models/block/controller/controller_column_online.json +++ b/src/main/resources/assets/ae2/models/block/controller/controller_column_online.json @@ -5,6 +5,7 @@ "lights": "ae2:block/controller_column_lights", "particle": "ae2:block/controller" }, + "render_type": "cutout", "elements": [ { "faces": { diff --git a/src/main/resources/assets/ae2/models/block/crystal_resonance_generator.json b/src/main/resources/assets/ae2/models/block/crystal_resonance_generator.json index 98d1e5cde7d..ecab8ccbc16 100644 --- a/src/main/resources/assets/ae2/models/block/crystal_resonance_generator.json +++ b/src/main/resources/assets/ae2/models/block/crystal_resonance_generator.json @@ -6,6 +6,7 @@ "particle": "ae2:block/crg", "base": "ae2:block/crg" }, + "render_type": "cutout", "elements": [ { "from": [4, 4, 4], diff --git a/src/main/resources/assets/ae2/models/block/molecular_assembler.json b/src/main/resources/assets/ae2/models/block/molecular_assembler.json index bc28bf93486..b0e4c0db19f 100644 --- a/src/main/resources/assets/ae2/models/block/molecular_assembler.json +++ b/src/main/resources/assets/ae2/models/block/molecular_assembler.json @@ -5,6 +5,7 @@ "particle": "ae2:block/molecular_assembler", "base": "ae2:block/molecular_assembler" }, + "render_type": "cutout", "elements": [ { "from": [0, 0, 0], diff --git a/src/main/resources/assets/ae2/models/block/molecular_assembler_lights.json b/src/main/resources/assets/ae2/models/block/molecular_assembler_lights.json index fd6ccd4f8c2..3c142d44299 100644 --- a/src/main/resources/assets/ae2/models/block/molecular_assembler_lights.json +++ b/src/main/resources/assets/ae2/models/block/molecular_assembler_lights.json @@ -3,6 +3,7 @@ "textures": { "all": "ae2:block/molecular_assembler_lights" }, + "render_type": "cutout", "elements": [ { "from": [2, 2, 2], diff --git a/src/main/resources/assets/ae2/models/block/mysterious_cube.json b/src/main/resources/assets/ae2/models/block/mysterious_cube.json index ff803ceecf6..31573168b89 100644 --- a/src/main/resources/assets/ae2/models/block/mysterious_cube.json +++ b/src/main/resources/assets/ae2/models/block/mysterious_cube.json @@ -7,6 +7,7 @@ "particle": "ae2:block/mysterious_cube_core", "core": "ae2:block/mysterious_cube_core" }, + "render_type": "cutout", "elements": [ { "from": [0.01, 0.01, 0.01], diff --git a/src/main/resources/assets/ae2/models/block/qnb/link.json b/src/main/resources/assets/ae2/models/block/qnb/link.json index 9cbe380a6a8..a91246839fb 100644 --- a/src/main/resources/assets/ae2/models/block/qnb/link.json +++ b/src/main/resources/assets/ae2/models/block/qnb/link.json @@ -4,6 +4,7 @@ "particle": "ae2:block/quantum_link", "sides": "ae2:block/quantum_link" }, + "render_type": "cutout", "elements": [ { "from": [2, 2, 2], diff --git a/src/main/resources/assets/ae2/models/block/qnb/ring.json b/src/main/resources/assets/ae2/models/block/qnb/ring.json index 5645489ccda..bc623595a17 100644 --- a/src/main/resources/assets/ae2/models/block/qnb/ring.json +++ b/src/main/resources/assets/ae2/models/block/qnb/ring.json @@ -4,6 +4,7 @@ "particle": "ae2:block/quantum_ring", "sides": "ae2:block/quantum_ring" }, + "render_type": "cutout", "elements": [ { "from": [2, 2, 2], diff --git a/src/main/resources/assets/ae2/models/block/quartz_fixture_standing.json b/src/main/resources/assets/ae2/models/block/quartz_fixture_standing.json index 9d79d9adc4e..c084c78a176 100644 --- a/src/main/resources/assets/ae2/models/block/quartz_fixture_standing.json +++ b/src/main/resources/assets/ae2/models/block/quartz_fixture_standing.json @@ -4,6 +4,7 @@ "2": "ae2:block/quartz_fixture", "particle": "ae2:block/quartz_fixture" }, + "render_type": "cutout", "elements": [ { "from": [6, 2, 6], diff --git a/src/main/resources/assets/ae2/models/block/quartz_fixture_standing_odd.json b/src/main/resources/assets/ae2/models/block/quartz_fixture_standing_odd.json index af932c2b756..f5d21b224dc 100644 --- a/src/main/resources/assets/ae2/models/block/quartz_fixture_standing_odd.json +++ b/src/main/resources/assets/ae2/models/block/quartz_fixture_standing_odd.json @@ -4,6 +4,7 @@ "2": "ae2:block/quartz_fixture", "particle": "ae2:block/quartz_fixture" }, + "render_type": "cutout", "elements": [ { "from": [8, 2, 6], diff --git a/src/main/resources/assets/ae2/models/block/quartz_fixture_wall.json b/src/main/resources/assets/ae2/models/block/quartz_fixture_wall.json index 296dfae45f1..f684bb50c95 100644 --- a/src/main/resources/assets/ae2/models/block/quartz_fixture_wall.json +++ b/src/main/resources/assets/ae2/models/block/quartz_fixture_wall.json @@ -5,6 +5,7 @@ "particle": "ae2:block/quartz_fixture", "quartz": "ae2:block/quartz_fixture" }, + "render_type": "cutout", "elements": [ { "from": [7, 8, 10], diff --git a/src/main/resources/assets/ae2/models/block/quartz_fixture_wall_odd.json b/src/main/resources/assets/ae2/models/block/quartz_fixture_wall_odd.json index f97bfb7484c..e186b8ea543 100644 --- a/src/main/resources/assets/ae2/models/block/quartz_fixture_wall_odd.json +++ b/src/main/resources/assets/ae2/models/block/quartz_fixture_wall_odd.json @@ -5,6 +5,7 @@ "particle": "ae2:block/quartz_fixture", "quartz": "ae2:block/quartz_fixture" }, + "render_type": "cutout", "elements": [ { "from": [7, 8, 10], diff --git a/src/main/resources/assets/ae2/models/block/sky_stone_tank.json b/src/main/resources/assets/ae2/models/block/sky_stone_tank.json index 986fb1a7b5c..b1f01debff8 100644 --- a/src/main/resources/assets/ae2/models/block/sky_stone_tank.json +++ b/src/main/resources/assets/ae2/models/block/sky_stone_tank.json @@ -5,6 +5,7 @@ "0": "ae2:block/sky_stone_tank", "particle": "ae2:block/sky_stone_tank" }, + "render_type": "cutout", "elements": [ { "from": [0, 0, 15], diff --git a/src/main/resources/assets/ae2/models/block/wireless_access_point_chassis.json b/src/main/resources/assets/ae2/models/block/wireless_access_point_chassis.json index b8e9e8223fb..52cd20818a8 100644 --- a/src/main/resources/assets/ae2/models/block/wireless_access_point_chassis.json +++ b/src/main/resources/assets/ae2/models/block/wireless_access_point_chassis.json @@ -6,6 +6,7 @@ "particle": "ae2:block/wireless_access_point", "base": "ae2:block/wireless_access_point" }, + "render_type": "cutout", "elements": [ { "from": [5, 5, 10], diff --git a/src/main/resources/assets/ae2/models/block/wireless_access_point_off.json b/src/main/resources/assets/ae2/models/block/wireless_access_point_off.json index 264ef784cb8..96c41f075e3 100644 --- a/src/main/resources/assets/ae2/models/block/wireless_access_point_off.json +++ b/src/main/resources/assets/ae2/models/block/wireless_access_point_off.json @@ -4,6 +4,7 @@ "textures": { "torch": "ae2:block/wireless_access_point" }, + "render_type": "cutout", "elements": [ { "from": [7, 7, 4], diff --git a/src/main/resources/assets/ae2/models/block/wireless_access_point_on.json b/src/main/resources/assets/ae2/models/block/wireless_access_point_on.json index 46219bd1cbf..9f52522526b 100644 --- a/src/main/resources/assets/ae2/models/block/wireless_access_point_on.json +++ b/src/main/resources/assets/ae2/models/block/wireless_access_point_on.json @@ -5,6 +5,7 @@ "textures": { "torch": "ae2:block/wireless_access_point" }, + "render_type": "cutout", "elements": [ { "from": [7, 7, 4], diff --git a/src/main/resources/assets/ae2/models/block/wireless_access_point_status_has_channel.json b/src/main/resources/assets/ae2/models/block/wireless_access_point_status_has_channel.json index 46431f6dae6..3876f9dfe88 100644 --- a/src/main/resources/assets/ae2/models/block/wireless_access_point_status_has_channel.json +++ b/src/main/resources/assets/ae2/models/block/wireless_access_point_status_has_channel.json @@ -5,6 +5,7 @@ "0": "ae2:block/wireless_access_point", "particle": "ae2:block/wireless_access_point" }, + "render_type": "cutout", "elements": [ { "from": [4, 4, 14], diff --git a/src/main/resources/assets/ae2/models/block/wireless_access_point_status_off.json b/src/main/resources/assets/ae2/models/block/wireless_access_point_status_off.json index 1f5ac16623e..bfe42b75d08 100644 --- a/src/main/resources/assets/ae2/models/block/wireless_access_point_status_off.json +++ b/src/main/resources/assets/ae2/models/block/wireless_access_point_status_off.json @@ -5,6 +5,7 @@ "0": "ae2:block/wireless_access_point", "particle": "ae2:block/wireless_access_point" }, + "render_type": "cutout", "elements": [ { "from": [4, 4, 14], diff --git a/src/main/resources/assets/ae2/models/block/wireless_access_point_status_on.json b/src/main/resources/assets/ae2/models/block/wireless_access_point_status_on.json index bed4eb3e1e4..9762e661570 100644 --- a/src/main/resources/assets/ae2/models/block/wireless_access_point_status_on.json +++ b/src/main/resources/assets/ae2/models/block/wireless_access_point_status_on.json @@ -5,6 +5,7 @@ "0": "ae2:block/wireless_access_point", "particle": "ae2:block/wireless_access_point" }, + "render_type": "cutout", "elements": [ { "from": [4, 4, 14],