Skip to content

Commit 28ceeb3

Browse files
authored
Port to 1.21.10 (#170)
* Update to 1.21.10 * Refactor event list widget to be simpler
1 parent dc320d1 commit 28ceeb3

33 files changed

Lines changed: 104 additions & 199 deletions

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'fabric-loom' version '1.11-SNAPSHOT'
2+
id 'net.fabricmc.fabric-loom-remap' version '1.14-SNAPSHOT'
33
id 'java-library'
44
id 'maven-publish'
55
}

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Find your version by looking for the file for your mod-loader:
1313
Special thanks to the Entropy Contributors: bl4ckscor3, Kanawanagasaki and slicedlime! <3
1414

1515
Available versions:
16-
- Minecraft 1.21.8
16+
- Minecraft 1.21.8, 1.21.10
1717

1818
### Added
1919

gradle.properties

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
org.gradle.jvmargs=-Xmx1G
33
# Fabric Properties
44
# check these on https://fabricmc.net/develop/
5-
minecraft_version=1.21.8
6-
parchment_minecraft_version=1.21.8
7-
parchment_mappings_version=2025.07.18
8-
loader_version=0.16.14
5+
minecraft_version=1.21.10
6+
parchment_minecraft_version=1.21.10
7+
parchment_mappings_version=2025.10.12
8+
loader_version=0.18.4
99
# Mod Properties
10-
mod_version=1.15+mc1.21.8
10+
mod_version=1.15+mc1.21.10
1111
maven_group=me.juancarloscp52
1212
archives_base_name=Entropy
1313
# Dependencies
14-
fabric_version=0.129.0+1.21.8
14+
fabric_version=0.138.4+1.21.10
1515

16-
modmenu_version=15.0.0-beta.3
16+
modmenu_version=16.0.0-rc.2
1717
pircbotx_version=2.3.1
1818
slf4j_version=1.7.36
1919
jda_version=5.6.1

gradle/wrapper/gradle-wrapper.jar

1.65 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
pluginManagement {
22
repositories {
3-
jcenter()
43
maven {
54
name = 'Fabric'
65
url = 'https://maven.fabricmc.net/'

src/main/java/me/juancarloscp52/entropy/client/ClientEventHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public void render(GuiGraphics drawContext, DeltaTracker tickCounter) {
100100

101101
Minecraft client = Minecraft.getInstance();
102102

103-
if (client.getDebugOverlay().showDebugScreen())
103+
if (client.debugEntries.isF3Visible())
104104
return;
105105

106106
double time = timerDuration - eventCountDown;

src/main/java/me/juancarloscp52/entropy/client/ConstantColorDustParticle.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import net.minecraft.client.particle.Particle;
88
import net.minecraft.client.particle.ParticleProvider;
99
import net.minecraft.client.particle.SpriteSet;
10+
import net.minecraft.util.RandomSource;
1011

1112
public class ConstantColorDustParticle extends DustParticleBase<ConstantColorDustParticleOptions>{
1213
protected ConstantColorDustParticle(ClientLevel world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ConstantColorDustParticleOptions parameters, SpriteSet spriteProvider) {
@@ -28,7 +29,8 @@ public Factory(FabricSpriteProvider spriteProvider) {
2829
this.spriteProvider = spriteProvider;
2930
}
3031

31-
public Particle createParticle(ConstantColorDustParticleOptions dustParticleEffect, ClientLevel clientWorld, double x, double y, double z, double velocityX, double velocityY, double velocityZ) {
32+
@Override
33+
public Particle createParticle(ConstantColorDustParticleOptions dustParticleEffect, ClientLevel clientWorld, double x, double y, double z, double velocityX, double velocityY, double velocityZ, RandomSource random) {
3234
return new ConstantColorDustParticle(clientWorld, x, y, z, velocityX, velocityY, velocityZ, dustParticleEffect, spriteProvider);
3335
}
3436
}

0 commit comments

Comments
 (0)