Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DevTech

Members
  • Joined

  • Last visited

Everything posted by DevTech

  1. I can java he says again that it is not valid
  2. what should I do there now?
  3. now they want an IParticleData
  4. which class should you pass when registering?
  5. 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
  6. yes, but there is nothing with particles
  7. how can i add a particle effect in registry event ?!
  8. because my browser did not show my old thread! Here is the crash report: crashreport.txt
  9. 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
  10. 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
  11. how can you do it that you burn all the time while you have the effect
  12. oh its works how to add a image to effect?
  13. 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; } }
  14. I made but somehow my potion effect does not exist
  15. How can i add custom potions all old methods not exist :C
  16. 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
  17. Hello I want to change the texture when right-clicking and registerIcons are no longer there
  18. What is the altanative for registerExtendedProperties?
  19. and how do I caste EntityPlayer to EntityLiving
  20. When i cast EntityPlayer to EntityLiving comes are Error I use 1.12.2

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.