Skip to content

Commit

Permalink
Merge branch 'master' into 1.19
Browse files Browse the repository at this point in the history
# Conflicts:
#	gradle.properties
  • Loading branch information
Treetrain1 committed Oct 1, 2022
2 parents b071835 + 668b5a0 commit f6d9d54
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 23 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Checkout FrozenLib
uses: actions/checkout@v3
with:
fetch-depth: 0
repository: FrozenBlock/FrozenLib
path: 'FrozenLib'
- name: Checkout Repository
uses: actions/checkout@v3
with:
Expand All @@ -40,8 +34,13 @@ jobs:
run: chmod +x ./gradlew
- name: Build
run: ./gradlew build -PuseThirdPartyMods=false
#- name: Capture Build Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: WilderWild-Artifacts-${{ steps.ref.outputs.branch }}
# path: build/libs/
- name: Extract current branch name
shell: bash
# bash pattern expansion to grab branch name without slashes
run: ref="${GITHUB_REF#refs/heads/}" && echo "::set-output name=branch::${ref////-}"
id: ref
- name: Capture Build Artifacts
uses: actions/upload-artifact@v3
with:
name: WilderWild-Artifacts-${{ steps.ref.outputs.branch }}
path: build/libs/
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
fabric_asm_version=v2.3

# External Mods
frozenlib_version=1.1
frozenlib_version=1.1.1
modmenu_version=4.0.4
cloth_config_version=8.2.88
copperpipes_version=1.11
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pluginManagement {
rootProject.name = "Wilder Wild"


def allowLocalFrozenLibUse = true
def allowLocalFrozenLibUse = false
def allowFrozenLibInConsoleMode = false
def FrozenLibPath = '../FrozenLib'
def FrozenLibPathGitHub = '/WilderWild/Frozenlib'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package net.frozenblock.wilderwild.item;

import net.frozenblock.lib.sound.FrozenSoundPackets;
import net.frozenblock.lib.sound.StartingSounds;
import net.frozenblock.wilderwild.WilderWild;
import net.frozenblock.wilderwild.registry.RegisterItems;
import net.minecraft.core.Holder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import net.frozenblock.wilderwild.WilderWild;
import net.frozenblock.wilderwild.entity.AncientHornProjectile;
import net.frozenblock.wilderwild.misc.server.EasyPacket;
import net.frozenblock.wilderwild.registry.RegisterBlocks;
import net.frozenblock.wilderwild.registry.RegisterItems;
import net.frozenblock.wilderwild.registry.RegisterSounds;
import net.lunade.copper.CopperPipeEntrypoint;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package net.frozenblock.wilderwild.misc.mod_compat.terrablender;

import net.frozenblock.wilderwild.WilderWild;
import net.frozenblock.wilderwild.world.gen.SharedWorldgen;
import terrablender.api.Regions;
import terrablender.api.SurfaceRuleManager;
import terrablender.api.TerraBlenderApi;

public final class BlenderInitializer implements TerraBlenderApi {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class AlexDolphinRenderer {
@Inject(method = "getTextureLocation(Lnet/minecraft/world/entity/animal/Dolphin;)Lnet/minecraft/resources/ResourceLocation;", at = @At("RETURN"), cancellable = true)
public void getTextureLocation(Dolphin dolphinEntity, CallbackInfoReturnable<ResourceLocation> cir) {
String string = ChatFormatting.stripFormatting(dolphinEntity.getName().getString());
if (Objects.equals(string, "AlexTheDolphin0")) {
if (string != null && string.equalsIgnoreCase("AlexTheDolphin0")) {
cir.setReturnValue(ALEX_DOLPHIN);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Treetrain1GoatRenderer {
@Inject(method = "getTextureLocation(Lnet/minecraft/world/entity/animal/goat/Goat;)Lnet/minecraft/resources/ResourceLocation;", at = @At("RETURN"), cancellable = true)
public void getTextureLocation(Goat goatEntity, CallbackInfoReturnable<ResourceLocation> cir) {
String string = ChatFormatting.stripFormatting(goatEntity.getName().getString());
if (Objects.equals(string, "Treetrain1")) {
if (Objects.equals(string, "Treetrain1") || Objects.equals(string, "Treetrain")) {
cir.setReturnValue(TREETRAIN1_GOAT);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class XfrtrexSusFrogRenderer {
@Inject(method = "getTextureLocation(Lnet/minecraft/world/entity/animal/frog/Frog;)Lnet/minecraft/resources/ResourceLocation;", at = @At("RETURN"), cancellable = true)
public void getTextureLocation(Frog frogEntity, CallbackInfoReturnable<ResourceLocation> cir) {
String string = ChatFormatting.stripFormatting(frogEntity.getName().getString());
if (Objects.equals(string, "Xfrtrex")) {
if (string != null && string.equalsIgnoreCase("Xfrtrex")) {
cir.setReturnValue(SUS_TEXTURE);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
import net.frozenblock.wilderwild.registry.RegisterBlocks;
import net.frozenblock.wilderwild.registry.RegisterProperties;
import net.frozenblock.wilderwild.tag.WilderBlockTags;
import net.minecraft.Util;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.core.Vec3i;
import net.minecraft.util.RandomSource;
import net.minecraft.world.level.LevelAccessor;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.SculkBehaviour;
import net.minecraft.world.level.block.SculkSpreader;
import net.minecraft.world.level.block.SculkVeinBlock;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.google.common.collect.ImmutableList;
import net.frozenblock.lib.worldgen.biome.api.parameters.*;
import net.frozenblock.wilderwild.misc.config.ClothConfigInteractionHandler;
import net.frozenblock.wilderwild.registry.RegisterWorldgen;
import net.frozenblock.wilderwild.world.gen.noise.WilderNoise;
import net.minecraft.world.level.biome.Biomes;
Expand Down

1 comment on commit f6d9d54

@MerpisMe
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should i delete this branch since we've ceased 1.19 development?

Please sign in to comment.