-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Bloody Claw Attack Particle
Co-authored-by: RhinoW <[email protected]>
- Loading branch information
1 parent
c241276
commit 8fb9bc3
Showing
13 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...agen/java/com/github/elenterius/biomancy/datagen/particles/ModParticleSpriteProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.github.elenterius.biomancy.datagen.particles; | ||
|
||
import com.github.elenterius.biomancy.BiomancyMod; | ||
import com.github.elenterius.biomancy.init.ModParticleTypes; | ||
import net.minecraft.data.DataGenerator; | ||
import net.minecraftforge.common.data.ExistingFileHelper; | ||
|
||
public class ModParticleSpriteProvider extends ParticleSpriteProvider { | ||
public ModParticleSpriteProvider(DataGenerator generator, ExistingFileHelper fileHelper) { | ||
super(generator, BiomancyMod.MOD_ID, fileHelper); | ||
} | ||
|
||
@Override | ||
public void registerParticles() { | ||
addParticle(ModParticleTypes.BLOODY_CLAWS_ATTACK, 8, 1); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/java/com/github/elenterius/biomancy/init/ModParticleTypes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.github.elenterius.biomancy.init; | ||
|
||
import com.github.elenterius.biomancy.BiomancyMod; | ||
import net.minecraft.core.particles.ParticleType; | ||
import net.minecraft.core.particles.SimpleParticleType; | ||
import net.minecraftforge.registries.DeferredRegister; | ||
import net.minecraftforge.registries.ForgeRegistries; | ||
import net.minecraftforge.registries.RegistryObject; | ||
|
||
public final class ModParticleTypes { | ||
|
||
public static final DeferredRegister<ParticleType<?>> PARTICLE_TYPES = DeferredRegister.create(ForgeRegistries.PARTICLE_TYPES, BiomancyMod.MOD_ID); | ||
public static final RegistryObject<SimpleParticleType> BLOODY_CLAWS_ATTACK = register("bloody_claws_attack", true); | ||
|
||
private ModParticleTypes() {} | ||
|
||
private static RegistryObject<SimpleParticleType> register(String name, boolean overrideLimiter) { | ||
return PARTICLE_TYPES.register(name, () -> new SimpleParticleType(overrideLimiter)); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+148 Bytes
src/main/resources/assets/biomancy/textures/particle/bloody_claws_attack_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+194 Bytes
src/main/resources/assets/biomancy/textures/particle/bloody_claws_attack_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+245 Bytes
src/main/resources/assets/biomancy/textures/particle/bloody_claws_attack_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+287 Bytes
src/main/resources/assets/biomancy/textures/particle/bloody_claws_attack_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+241 Bytes
src/main/resources/assets/biomancy/textures/particle/bloody_claws_attack_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+229 Bytes
src/main/resources/assets/biomancy/textures/particle/bloody_claws_attack_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+194 Bytes
src/main/resources/assets/biomancy/textures/particle/bloody_claws_attack_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+162 Bytes
src/main/resources/assets/biomancy/textures/particle/bloody_claws_attack_8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.