
DevTech
Members-
Posts
150 -
Joined
-
Last visited
-
Days Won
1
Everything posted by DevTech
-
I can java he says again that it is not valid
-
what should I do there now?
-
now they want an IParticleData
-
which class should you pass when registering?
-
yes but what class should I retrieve the registration when I enter RegistryEvent.Register <ParticleTypes> it turns red and says that it is not valid
-
yes, but there is nothing with particles
-
how can i add a particle effect in registry event ?!
-
because my browser did not show my old thread! Here is the crash report: crashreport.txt
-
java.lang.IllegalStateException: The object net.minecraft.particles.BasicParticleType@16dc477f (name fa:footstep) is being added too late. Code: My ParticleTypes.class: https://pastebin.com/8T2kK2D6 Footstep Particle: https://pastebin.com/Zt3m88cr Main: https://pastebin.com/5YaeKaUE
-
Ey i have added Footstep Particles and when i start comes this message java.lang.IllegalStateException: The object net.minecraft.particles.BasicParticleType@16dc477f (name minecraft:footstep) is being added too late. Code: My ParticleTypes.class: https://pastebin.com/8T2kK2D6 Footstep Particle: https://pastebin.com/Zt3m88cr Main: https://pastebin.com/5YaeKaUE
-
how can you do it that you burn all the time while you have the effect
-
oh its works how to add a image to effect?
-
package de.krokoyt.spicy; import de.krokoyt.spicy.blocks.spicycoalblock; import net.minecraft.block.Block; import net.minecraft.potion.Effect; import net.minecraft.potion.Potion; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.event.world.BlockEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus; import net.minecraftforge.registries.ForgeRegistries; import net.minecraftforge.registries.ObjectHolder; @EventBusSubscriber(bus = Bus.MOD) @ObjectHolder("spicy") public class Events { public static final Effect cursedflames = null; @SubscribeEvent public static void registerPotion(RegistryEvent.Register<Potion> registry) {} @SubscribeEvent public static void registerEffect(RegistryEvent.Register<Effect> registry) { register("cursedflames", new CursedFlames(745784), cursedflames); } private static <T extends Effect> T register(String name, T effect, Effect e) { effect.setRegistryName(SpicyCoal.RegistryEvents.location(name)); ForgeRegistries.POTIONS.register(effect); e = effect; return effect; } }
-
I made but somehow my potion effect does not exist
-
How can i add custom potions all old methods not exist :C
-
Hello my Mod says always that my Class not found Error Log: https://pastebin.com/ALqXTqvd Main: https://pastebin.com/ikMe0UUp EntityThrowableSlimeTorch: https://pastebin.com/Wm3ETvzZ
-
Hello I want to change the texture when right-clicking and registerIcons are no longer there
-
What is the altanative for registerExtendedProperties?
-
Why can i not cast EntityPlayer to EntityLiving
DevTech replied to DevTech's topic in Modder Support
in the 1.5.2 it went -
Why can i not cast EntityPlayer to EntityLiving
DevTech replied to DevTech's topic in Modder Support
and how can i cast ? -
and how do I caste EntityPlayer to EntityLiving
-
When i cast EntityPlayer to EntityLiving comes are Error I use 1.12.2