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