Skip to content

Commit

Permalink
1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
PinkGoosik committed Sep 22, 2023
1 parent cc4bfc9 commit 11a8cda
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions buildscript/buildscript.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Mod Properties
name = winterly
modVersion = 0.9.3+1.20
modVersion = 0.9.4+1.20.2
javaVersion = 17

# Dependencies
minecraftVersion = 1.20.1
yarnMappings = 1.20.1+build.10
fabricLoader = 0.14.21
minecraftVersion = 1.20.2
yarnMappings = 1.20.2+build.1
fabricLoader = 0.14.22
vineflower = 1.9.3

fabricApi = 0.86.1+1.20.1
clothConfig = 11.1.106
trinkets = 3.7.1
cardinalComponents = 5.2.1
modmenu = 7.2.1
owo-lib = 0.11.1+1.20
fabricApi = 0.89.1+1.20.2
clothConfig = 12.0.109
trinkets = 3.8.0
cardinalComponents = 5.3.0
modmenu = 8.0.0-beta.2
owo-lib = 0.11.1+1.20
2 changes: 1 addition & 1 deletion src/main/java/winterly/mixin/common/ServerWorldMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@Mixin(ServerWorld.class)
public abstract class ServerWorldMixin {

@Redirect(method = "tickChunk", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/biome/Biome;canSetSnow(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z"))
@Redirect(method = "tickIceAndSnow", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/biome/Biome;canSetSnow(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z"))
boolean canSetSnow(Biome biome, WorldView view, BlockPos pos) {

if(!biome.doesNotSnow(pos) && (pos.getY() >= view.getBottomY() && pos.getY() < view.getTopY() && view.getLightLevel(LightType.BLOCK, pos) < 10)) {
Expand Down

0 comments on commit 11a8cda

Please sign in to comment.