Skip to content

Commit

Permalink
Update to 24w11a.
Browse files Browse the repository at this point in the history
- Update to 24w11a
  • Loading branch information
gniftygnome committed Mar 15, 2024
1 parent 48064d8 commit 924b971
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
package com.terraformersmc.traverse;

import com.terraformersmc.terraform.boat.api.client.TerraformBoatClientHelper;
import com.terraformersmc.terraform.sign.SpriteIdentifierRegistry;
import com.terraformersmc.traverse.block.TraverseBlocks;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap;
import net.minecraft.client.render.RenderLayer;
import net.minecraft.client.render.TexturedRenderLayers;
import net.minecraft.client.util.SpriteIdentifier;
import net.minecraft.util.Identifier;

public class TraverseClient implements ClientModInitializer {
@Override
public void onInitializeClient() {
registerEntityRenderers();
registerRenderLayers();
registerTextures();
}

private static void registerEntityRenderers() {
Expand All @@ -28,9 +24,4 @@ private static void registerRenderLayers() {
BlockRenderLayerMap.INSTANCE.putBlocks(cutout, TraverseBlocks.RED_AUTUMNAL_SAPLING, TraverseBlocks.BROWN_AUTUMNAL_SAPLING, TraverseBlocks.ORANGE_AUTUMNAL_SAPLING, TraverseBlocks.YELLOW_AUTUMNAL_SAPLING);
BlockRenderLayerMap.INSTANCE.putBlocks(cutout, TraverseBlocks.POTTED_RED_AUTUMNAL_SAPLING, TraverseBlocks.POTTED_BROWN_AUTUMNAL_SAPLING, TraverseBlocks.POTTED_ORANGE_AUTUMNAL_SAPLING, TraverseBlocks.POTTED_YELLOW_AUTUMNAL_SAPLING, TraverseBlocks.POTTED_FIR_SAPLING);
}

private static void registerTextures() {
SpriteIdentifierRegistry.INSTANCE.addIdentifier(new SpriteIdentifier(TexturedRenderLayers.SIGNS_ATLAS_TEXTURE, TraverseBlocks.FIR_SIGN.getTexture()));
SpriteIdentifierRegistry.INSTANCE.addIdentifier(new SpriteIdentifier(TexturedRenderLayers.SIGNS_ATLAS_TEXTURE, TraverseBlocks.FIR_HANGING_SIGN.getTexture()));
}
}
18 changes: 9 additions & 9 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ fabric.loom.multiProjectOptimisation=true
maven_group=com.terraformersmc
archive_name=traverse

minecraft_version=24w07a
yarn_mappings=24w07a+build.4
minecraft_version=24w11a
yarn_mappings=24w11a+build.2
loader_version=0.15.7
fabric_version=0.96.3+1.20.5
terraform_biome_remapper_api_version=10.0.0-alpha.6
terraform_config_api_version=10.0.0-alpha.6
terraform_surfaces_api_version=10.0.0-alpha.6
terraform_tree_api_version=10.0.0-alpha.6
terraform_wood_api_version=10.0.0-alpha.6
fabric_version=0.96.10+1.20.5
terraform_biome_remapper_api_version=10.0.0-alpha.7
terraform_config_api_version=10.0.0-alpha.7
terraform_surfaces_api_version=10.0.0-alpha.7
terraform_tree_api_version=10.0.0-alpha.7
terraform_wood_api_version=10.0.0-alpha.7

# Biolith for worldgen module and testing
biolith_version=1.3.0-alpha.2
Expand All @@ -38,7 +38,7 @@ curseforge_optional_dependencies=
# Modrinth Metadata
modrinth_slug=traverse
modrinth_id=kXygSBVI
modrinth_game_versions=24w07a
modrinth_game_versions=24w11a
modrinth_mod_loaders=fabric, quilt
modrinth_required_dependencies=fabric-api
#modrinth_embedded_dependencies=biolith
Expand Down

0 comments on commit 924b971

Please sign in to comment.