Update to 1.19.3
Took 37 seconds
This commit is contained in:
@@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G
|
||||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/develop
|
||||
minecraft_version=1.19.2
|
||||
yarn_mappings=1.19.2+build.4
|
||||
loader_version=0.14.9
|
||||
minecraft_version=1.19.3
|
||||
yarn_mappings=1.19.3+build.5
|
||||
loader_version=0.14.13
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.2.0
|
||||
@@ -13,7 +13,7 @@ org.gradle.jvmargs=-Xmx1G
|
||||
archives_base_name = cave_dust
|
||||
|
||||
# Dependencies
|
||||
fabric_version=0.59.0+1.19.2
|
||||
clothconfig_version = 8.0.75
|
||||
modmenu_version = 4.0.6
|
||||
kirin_version=1.11.1-beta.1
|
||||
fabric_version=0.72.0+1.19.3
|
||||
clothconfig_version =9.0.94
|
||||
modmenu_version =5.0.2
|
||||
kirin_version=1.13.2
|
||||
|
||||
@@ -3,8 +3,8 @@ package net.lizistired.cavedust;
|
||||
import net.lizistired.cavedust.utils.JsonFile;
|
||||
import net.minecraft.particle.ParticleEffect;
|
||||
import net.minecraft.particle.ParticleTypes;
|
||||
import net.minecraft.registry.Registries;
|
||||
import net.minecraft.util.Identifier;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import static net.lizistired.cavedust.CaveDust.*;
|
||||
import static net.lizistired.cavedust.utils.MathHelper.*;
|
||||
|
||||
@@ -168,7 +168,7 @@ public class CaveDustConfig extends JsonFile {
|
||||
|
||||
public ParticleEffect getParticle(){
|
||||
try {
|
||||
return (ParticleEffect) Registry.PARTICLE_TYPE.get(new Identifier(particleName.toLowerCase()));
|
||||
return (ParticleEffect) Registries.PARTICLE_TYPE.get(new Identifier(particleName.toLowerCase()));
|
||||
} catch (ClassCastException e) {
|
||||
LOGGER.error(e + "\nThere was an error loading the specified particle from the config, make sure a valid particle name is specified. Falling back to \"minecraft:white_ash\".");
|
||||
particleName = "minecraft:white_ash";
|
||||
|
||||
@@ -6,8 +6,7 @@ import net.lizistired.cavedust.utils.TranslatableTextHelper;
|
||||
import net.minecraft.client.gui.screen.Screen;
|
||||
import net.minecraft.client.util.math.MatrixStack;
|
||||
import net.minecraft.text.Text;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class ModMenuConfigScreen extends GameGui {
|
||||
public ModMenuConfigScreen(@Nullable Screen parent) {
|
||||
|
||||
Reference in New Issue
Block a user