Skip to content

Commit d4b9d18

Browse files
committed
update to 1.19.3
1 parent 83c1180 commit d4b9d18

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@
6868

6969
- add sourcesJar to files to be uploaded to modrinth
7070
- add option to hide Beacon Beams
71+
- port to 1.19.3
7172

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ org.gradle.jvmargs = -Xmx1G
33
org.gradle.parallel = true
44

55
# Dependencies
6-
minecraft_version = 1.19.3-rc1
6+
minecraft_version = 1.19.3
77
quilt_mappings = 1
8-
loader_version = 0.18.1-beta.19
8+
loader_version = 0.18.1-beta.21
99

1010
# Quilted Fabric API
11-
qsl_version = 4.0.0-alpha.4
11+
qsl_version = 4.0.0-beta.1
1212

1313
# AxolotlClientConfig
14-
config_version = 1.0.14-beta.11
14+
config_version = 1.0.14
1515

1616
# Mod Properties
17-
version = 2.2.5
17+
version = 2.2.6
1818
maven_group = io.github.axolotlclient
1919
archives_base_name = AxolotlClient

src/main/java/io/github/axolotlclient/modules/particles/Particles.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import net.minecraft.client.particle.Particle;
3131
import net.minecraft.particle.ParticleType;
3232
import net.minecraft.particle.ParticleTypes;
33-
import net.minecraft.registry.BuiltinRegistries;
33+
import net.minecraft.registry.Registries;
3434
import org.apache.commons.lang3.StringUtils;
3535

3636
import java.util.*;
@@ -59,10 +59,10 @@ public void init() {
5959
}
6060

6161
private void addParticleOptions() {
62-
for (ParticleType<?> type : BuiltinRegistries.PARTICLE_TYPE.stream().sorted(new AlphabeticalComparator()).toList()) {
63-
if (BuiltinRegistries.PARTICLE_TYPE.getId(type) != null) {
62+
for (ParticleType<?> type : Registries.PARTICLE_TYPE.stream().sorted(new AlphabeticalComparator()).toList()) {
63+
if (Registries.PARTICLE_TYPE.getId(type) != null) {
6464
OptionCategory category = new OptionCategory(
65-
Arrays.stream(BuiltinRegistries.PARTICLE_TYPE.getId(type).getPath().split("_"))
65+
Arrays.stream(Registries.PARTICLE_TYPE.getId(type).getPath().split("_"))
6666
.map(StringUtils::capitalize).collect(Collectors.joining(" ")),
6767
false);
6868
HashMap<String, Option<?>> optionsByKey = new LinkedHashMap<>();
@@ -136,8 +136,8 @@ public int compare(ParticleType<?> s1, ParticleType<?> s2) {
136136
}
137137

138138
private String getName(ParticleType<?> type) {
139-
if (BuiltinRegistries.PARTICLE_TYPE.getId(type) != null) {
140-
return BuiltinRegistries.PARTICLE_TYPE.getId(type).getPath();
139+
if (Registries.PARTICLE_TYPE.getId(type) != null) {
140+
return Registries.PARTICLE_TYPE.getId(type).getPath();
141141
}
142142
return "";
143143
}

src/main/java/io/github/axolotlclient/modules/sky/SkyboxInstance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ protected void renderDecorations(MatrixStack matrices, Matrix4f projectionMatrix
317317
RenderSystem.setShaderColor(u, u, u, u);
318318
BackgroundRenderer.clearFog();
319319
worldRendererAccessor.getStarsBuffer().bind();
320-
worldRendererAccessor.getStarsBuffer().setShader(matrices.peek().getModel(), projectionMatrix,
320+
worldRendererAccessor.getStarsBuffer().draw(matrices.peek().getModel(), projectionMatrix,
321321
GameRenderer.getPositionShader());
322322
VertexBuffer.unbind();
323323
runnable.run();

src/main/java/io/github/axolotlclient/util/Util.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ public static double calculateDistance(double x1, double x2, double y1, double y
128128
}
129129

130130
public static void sendChatMessage(String msg) {
131-
MinecraftClient.getInstance().player.sendMessage(Text.literal(msg), false);
131+
assert MinecraftClient.getInstance().player != null;
132+
MinecraftClient.getInstance().player.networkHandler.m_gkszsvqi(msg.substring(1));
132133
}
133134

134135
public static void sendChatMessage(Text msg) {

0 commit comments

Comments
 (0)