Skip to content

Commit

Permalink
2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MarbleGateKeeper committed Dec 20, 2023
1 parent ae1599a commit 636de0c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ publishMods {
file = tasks.jar.archiveFile
changelog = new File("changelog/${mod_version}.md").text
version = mod_version
type = ALPHA
type = STABLE
displayName = "[NeoForge]Visuality: Reforged ${mod_version} for ${minecraft_version}"
modLoaders.add("neoforge")

Expand Down
3 changes: 0 additions & 3 deletions changelog/2.0.3-preview1.md

This file was deleted.

6 changes: 6 additions & 0 deletions changelog/2.0.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Visuality: Reforged 2.0.3

Update for Neoforge 20.2, Minecraft 1.20.2

### **PLEASE NOTICE**
If you encounter "Invalid Payload Register" problem, please use vanilla Minecraft or Other Mod Loader! This is a problem of neoforge(20.2.86) itself!
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ org.gradle.daemon=false
maven_group = plus.dragons.visuality
mod_name = visuality-forge
mod_id = visuality
mod_version = 2.0.3-preview1
mod_version = 2.0.3
minecraft_version = 1.20.2
neoforge_version = 20.2.86

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
public class VisualityRegistries {
public static final ResourceKey<Registry<ParticleType<?>>> PARTICLE_TYPES_KEY = ResourceKey.createRegistryKey(Visuality.location("particle_type"));
public static final DeferredRegister<ParticleType<?>> PARTICLE_TYPES = DeferredRegister.create(PARTICLE_TYPES_KEY, Visuality.ID);
public static final Registry<ParticleType<?>> PARTICLE_TYPES_REGISTRY = PARTICLE_TYPES.makeRegistry(builder -> builder.sync(false));
public static Registry<ParticleType<?>> PARTICLE_TYPES_REGISTRY;

public static class Registers {
public static void register(IEventBus modBus) {
PARTICLE_TYPES_REGISTRY = PARTICLE_TYPES.makeRegistry(builder -> builder.sync(false));
VisualityParticles.register();
PARTICLE_TYPES.register(modBus);
}
Expand Down

0 comments on commit 636de0c

Please sign in to comment.