Skip to content

Commit

Permalink
render fix and spawn addition
Browse files Browse the repository at this point in the history
  • Loading branch information
finallion committed Feb 24, 2024
1 parent e6b995f commit 26957bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"replace": false,
"values": [
{"id": "minecraft:plains", "required": false},
{"id": "#c:in_overworld", "required": false},
{"id": "#forge:is_plains", "required": false},
{"id": "#forge:is_snowy", "required": false},
{"id": "#forge:is_sandy", "required": false},
{"id": "#forge:is_wasteland", "required": false},
{"id": "#forge:is_swamp", "required": false},
{"id": "#forge:is_cold/overworld", "required": false},
{"id": "#forge:is_dense/overworld", "required": false},
{"id": "#forge:is_dry/overworld", "required": false},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import net.minecraft.client.model.geom.builders.LayerDefinition;
import net.minecraft.client.particle.SonicBoomParticle;
import net.minecraft.client.renderer.BiomeColors;
import net.minecraft.client.renderer.ItemBlockRenderTypes;
import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.item.ItemProperties;
import net.minecraft.resources.ResourceLocation;
Expand Down Expand Up @@ -55,8 +56,7 @@ public static void clientInit(final FMLClientSetupEvent event) {
return 0.0F;
});

//RenderLayers.setRenderLayer(TGBlocks.TG_GRASS_BLOCK.get(), RenderType.cutoutMipped());

ItemBlockRenderTypes.setRenderLayer(TGBlocks.TG_GRASS_BLOCK.get(), RenderType.cutoutMipped());
});
}

Expand Down

0 comments on commit 26957bd

Please sign in to comment.