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.

Crazy_sheep

Members
  • Joined

  • Last visited

Everything posted by Crazy_sheep

  1. @loordgeki am not asking how to do the powered state but a basic usage tutorial on how to use getdatamanger
  2. @Danebibut can you give me a example code of the getDataManager() command?
  3. but i still wanna really know how to change the creepers ntb in forge to make them charged because i still dont have the awnser
  4. @Beethoven92ok I will try to learn java but what version should I use?(and my eyes hurt because I forgot to blink)
  5. @loordgekif I learn java I then still don't know how to do stuff in forge and its a lot more fun to learn java with forge
  6. can someone just plz send me a example code for the if statement?
  7. @poopoodice but how do I do that because I don't get it?
  8. @Draco18s but what is the charged ntb called is it called powered and if i make a Reflection do i need to do this ReflectionObfuscationHelper("powered", true)? and when i try to do this CreeperEntity creeper = (CreeperEntity) event.getEntity(); if (event.getEntity() instanceof CreeperEntity) { creeper.ReflectionObfuscationHelper } ReflectionObfuscationHelper is not a command
  9. @Draco18s but how do i make a reflection or how do i make the creeper powered because i still dont have the awnser
  10. there is a setCreeperState() command can i do something with this to make it powered?
  11. @BlockyPenguin but how would i do that in a if state ment EDIT: oh i was not for a if statement sorry 😅
  12. @Draco18s it would have been helpful if you show me then how to do it Edit ignore my comment
  13. @BlockyPenguin ok i will try i will edit this post if something is wrong else i will edit the post saying that it is working EDIT:nope it does not work the serializeNBT(); part does not work its not a command and where did you get the creeper command? should it not be CreeperEntity?
  14. @BlockyPenguin but how do i use ntb in forge?
  15. @BlockyPenguin ok thats good to know that you dont learn of copying code or typing it manually i will note that in my brain to try to copy as less code as i can @diesieben07 ok but what do i need to do here then @Mod.EventBusSubscriber() do i need to do dist.client or dist.deticatedserver or dist.class or dist.new? and i need to do a if statement to detect the creeper how do i do that? and there is not setpowered or setcharged command on the CreeperEntity command
  16. @diesieben07 normaly when i see code i dont copy it and if i do copy it i will look at the code and work out how to works so plz give me some basic code on how to do that
  17. @diesieben07 can you send me a basic code of a entity spawn event with the code that charges the creeper?
  18. hello I am very new to minecraft forge modding a day ago when this post was made I started modding but I have a problem I making a mod that makes the game really hard and i want to make it so every creeper that spawns will become charged but there is no command that can make then charged so here is my code package ultrahardcore.ultrahardcore.events; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.event.entity.living.LivingSpawnEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import ultrahardcore.ultrahardcore.UltraHardCore; @Mod.EventBusSubscriber(modid = UltraHardCore.MOD_ID, bus = Mod.EventBusSubscriber.Bus.FORGE, value = Dist.CLIENT) public class Events { @SubscribeEvent public void autoChargeCreeper(LivingSpawnEvent event) { // help me make the creepers charged } }

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.