Skip to content

Commit

Permalink
Update to 1.21-pre4 and FAPI 0.100.
Browse files Browse the repository at this point in the history
- Update to 1.21-pre4
  • Loading branch information
gniftygnome committed Jun 8, 2024
1 parent 1f51cbe commit a0bc23d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import com.terraformersmc.traverse.block.TraverseBlocks;
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput;
import net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootTableProvider;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.registry.RegistryKeys;
import net.minecraft.registry.RegistryWrapper;

import java.util.concurrent.CompletableFuture;
Expand All @@ -14,6 +16,9 @@ protected TraverseBlockLootTableProvider(FabricDataOutput output, CompletableFut

@Override
public void generate() {
//noinspection unused
RegistryWrapper.Impl<Enchantment> enchantmentRegistry = this.registryLookup.getWrapperOrThrow(RegistryKeys.ENCHANTMENT);

// simple blocks
addDrop(TraverseBlocks.BROWN_AUTUMNAL_SAPLING);
addDrop(TraverseBlocks.FIR_BUTTON);
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ fabric.loom.multiProjectOptimisation=true
maven_group=com.terraformersmc
archive_name=traverse

minecraft_version=1.21-pre2
yarn_mappings=1.21-pre2+build.2
minecraft_version=1.21-pre4
yarn_mappings=1.21-pre4+build.3
loader_version=0.15.11
fabric_version=0.99.4+1.21
fabric_version=0.100.0+1.21
terraform_biome_remapper_api_version=11.0.0-alpha.1
terraform_config_api_version=11.0.0-alpha.1
terraform_surfaces_api_version=11.0.0-alpha.1
Expand Down Expand Up @@ -38,7 +38,7 @@ curseforge_optional_dependencies=
# Modrinth Metadata
modrinth_slug=traverse
modrinth_id=kXygSBVI
modrinth_game_versions=1.21-pre2
modrinth_game_versions=1.21-pre4
modrinth_mod_loaders=fabric, quilt
modrinth_required_dependencies=fabric-api
#modrinth_embedded_dependencies=biolith
Expand Down

0 comments on commit a0bc23d

Please sign in to comment.