Skip to content

Commit

Permalink
2.4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Aug 6, 2024
1 parent 4a1c190 commit 29a9f51
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 104 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Thank you!
Put the changelog BELOW the dashes. ANYTHING ABOVE IS IGNORED

-----------------
- Increased the protocol version to 9.
- Removed all references to Embeddium as it is no longer supported on Fabric.
- Fixed incorrect water rendering with Sodium.
- Removed modified water rendering, fixing an issue with Sodium.
- Tumbleweeds no longer render their items at the player's position.
- Fixed issues with certain sounds like Goat Horn Calls in multiplayer.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
mod_id = wilderwild
mod_version = 2.4.9
# protocol version must be changed after each update with dual env changes
protocol_version = 8
protocol_version = 9
maven_group = net.frozenblock
archives_base_name = WilderWild

# Dependencies
fabric_api_version=0.100.8+1.21
fabric_asm_version=v2.3
frozenlib_version=1.8.1-mc1.21
frozenlib_version=1.8.2-mc1.21

# External Mods
betterend_version=3.1.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@

package net.frozenblock.wilderwild;

import net.frozenblock.lib.feature_flag.api.FrozenFeatureFlags;
import net.minecraft.world.flag.FeatureFlag;

public class WilderFeatureFlags {

public static final FeatureFlag UPDATE_1_21_ADDITIONS = FrozenFeatureFlags.builder.create(WilderConstants.id("update_1_21_additions"));

public static void init() {
}
}
2 changes: 2 additions & 0 deletions src/main/java/net/frozenblock/wilderwild/WilderWild.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ public WilderWild() {
@Override //Alan Wilder Wild
public void onInitialize(String modId, ModContainer container) {
WilderConstants.startMeasuring(this);

if (WilderDatagenConstants.IS_DATAGEN) {
ConfigRegistry.register(BlockConfig.INSTANCE, new ConfigModification<>(config -> config.snowlogging.snowlogging = false));
}

WWMinecraftDataFixer.applyDataFixes(container);
WWDataFixer.applyDataFixes(container);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public boolean shouldApplyMixin(String targetClassName, @NotNull String mixinCla
boolean enableIndium = FrozenBools.HAS_INDIUM;
if (mixinClassName.contains("client.sodium")) {
return config.client_sodium && enableSodium && !hasEmbeddium;
} else if (mixinClassName.contains("client.embeddium")) {
return config.client_sodium && hasEmbeddium;
}
if (mixinClassName.contains("client.indium")) {
return config.client_indium && enableIndium;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private static Criterion<PlayerTrigger.TriggerInstance> inBiome(Holder<Biome> ho
public void initPreFreeze() {
WilderConstants.log("FrozenLib pre-freeze mod integration ran!", WilderConstants.UNSTABLE_LOGGING);
SpottingIconPredicate.register(WilderConstants.id("stella"), entity -> entity.hasCustomName() && entity.getCustomName().getString().equalsIgnoreCase("stella"));
SoundPredicate.register(INSTRUMENT_SOUND_PREDICATE, new SoundPredicate.LoopPredicate<LivingEntity>() {
SoundPredicate.register(INSTRUMENT_SOUND_PREDICATE, () -> new SoundPredicate.LoopPredicate<LivingEntity>() {

private boolean firstCheck = true;
private ItemStack lastStack;
Expand Down Expand Up @@ -189,11 +189,11 @@ public boolean test(LivingEntity entity) {
}
});

SoundPredicate.register(NECTAR_SOUND_PREDICATE, (SoundPredicate.LoopPredicate<Firefly>) entity ->
SoundPredicate.register(NECTAR_SOUND_PREDICATE, () -> (SoundPredicate.LoopPredicate<Firefly>) entity ->
!entity.isSilent() && entity.hasCustomName() && Objects.requireNonNull(entity.getCustomName()).getString().toLowerCase().contains("nectar")
);

SoundPredicate.register(ENDERMAN_ANGER_SOUND_PREDICATE, (SoundPredicate.LoopPredicate<EnderMan>) entity -> {
SoundPredicate.register(ENDERMAN_ANGER_SOUND_PREDICATE, () -> (SoundPredicate.LoopPredicate<EnderMan>) entity -> {
if (entity.isSilent() || entity.isRemoved() || entity.isDeadOrDying()) {
return false;
}
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/wilderwild.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@
"client.easter.UppyBalloo",
"client.easter.WardenEmissiveLayerMixin",
"client.enderman.EnderManMixin",
"client.liquid.LiquidBlockRendererMixin",
"client.mesoglea.BubbleColumnAmbientSoundHandlerMixin",
"client.mesoglea.EntityRenderDispatcherMixin",
"client.shrieker.LevelRendererMixin",
Expand Down

0 comments on commit 29a9f51

Please sign in to comment.