-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upstream has released updates that appear to apply and compile correctly ShreddedPaper Changes: MultiPaper/ShreddedPaper@a0dd039 Limit eye of ender velocity MultiPaper/ShreddedPaper@2c77569 Don't allow breaking blocks outside of our region
- Loading branch information
Showing
7 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: 404Setup <153366651+404Setup@users.noreply.github.com> | ||
Date: Wed, 28 Aug 2024 14:20:25 +0800 | ||
Subject: [PATCH] lithium: fast powder snow check | ||
|
||
You can find the original code on https://github.com/CaffeineMC/lithium-fabric | ||
|
||
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java | ||
index eb30577154677fb42c0b4c116064e455abd4e16f..373341615b4097a0f4f137e3431846958aa0091f 100644 | ||
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java | ||
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java | ||
@@ -599,11 +599,11 @@ public abstract class LivingEntity extends Entity implements Attackable { | ||
} | ||
|
||
protected void tryAddFrost() { | ||
- if (!this.getBlockStateOnLegacy().isAir()) { | ||
+ if (true) { // Vine - lithium fast powder snow check //if (!this.getBlockStateOnLegacy().isAir()) { | ||
int i = this.getTicksFrozen(); | ||
|
||
if (i > 0) { | ||
- AttributeInstance attributemodifiable = this.getAttribute(Attributes.MOVEMENT_SPEED); | ||
+ AttributeInstance attributemodifiable = this.getBlockStateOnLegacy().isAir() ? null : this.getAttribute(Attributes.MOVEMENT_SPEED); // Vine - lithium fast powder snow check | ||
|
||
if (attributemodifiable == null) { | ||
return; |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters