Skip to content

Commit

Permalink
register ParticlesTypes of server
Browse files Browse the repository at this point in the history
  • Loading branch information
dphaldes committed Nov 22, 2023
1 parent dd8ad4b commit fcd62b7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [0.4.2] - 2023-11-23

### Fixed

- Fixed Particle Type Registration on server side. Server wont crash anymore

## [0.4.1] - 2023-11-19

### Changed
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
org.gradle.jvmargs=-Xmx4G
org.gradle.daemon=false
#
mod_version=0.4.1
mod_version=0.4.2
mod_id=tomeofblood
mod_authors=mystchonky
mod_group_id=com.mystchonky.tomeofblood
Expand Down
8 changes: 7 additions & 1 deletion src/main/java/com/mystchonky/tomeofblood/TomeOfBlood.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
import com.hollingsworth.arsnouveau.setup.proxy.ClientProxy;
import com.hollingsworth.arsnouveau.setup.proxy.IProxy;
import com.hollingsworth.arsnouveau.setup.proxy.ServerProxy;
import com.mystchonky.tomeofblood.client.registry.ParticleRegistry;
import com.mystchonky.tomeofblood.common.config.BaseConfig;
import com.mystchonky.tomeofblood.common.registry.*;
import com.mystchonky.tomeofblood.common.network.Networking;
import com.mystchonky.tomeofblood.common.registry.IntegrationRegistry;
import com.mystchonky.tomeofblood.common.registry.ItemRegistry;
import com.mystchonky.tomeofblood.common.registry.LangRegistry;
import com.mystchonky.tomeofblood.common.registry.LivingUpgradeRegistry;
import com.mystchonky.tomeofblood.common.registry.MobEffectRegistry;
import com.tterrag.registrate.Registrate;
import net.minecraft.resources.ResourceLocation;
import net.minecraftforge.common.MinecraftForge;
Expand Down Expand Up @@ -56,6 +61,7 @@ public TomeOfBlood() {
ItemRegistry.register();
LivingUpgradeRegistry.register();
MobEffectRegistry.register();
ParticleRegistry.register();
IntegrationRegistry.init();

LangRegistry.register();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ public class ParticleRegistry {
public static void registerProviders(RegisterParticleProvidersEvent event) {
event.registerSpriteSet(WRATH_SLASH.get(), WrathSlashParticle.Provider::new);
}

public static void register() {
}
}

0 comments on commit fcd62b7

Please sign in to comment.