Everything posted by Crazy_sheep
-
how to make creepers charged on spawn
@loordgeki am not asking how to do the powered state but a basic usage tutorial on how to use getdatamanger
-
how to make creepers charged on spawn
@Danebibut can you give me a example code of the getDataManager() command?
-
how to make creepers charged on spawn
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
-
how to make creepers charged on spawn
@Beethoven92ok I will try to learn java but what version should I use?(and my eyes hurt because I forgot to blink)
-
how to make creepers charged on spawn
@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
-
how to make creepers charged on spawn
can someone just plz send me a example code for the if statement?
-
how to make creepers charged on spawn
@poopoodice but how do I do that because I don't get it?
-
how to make creepers charged on spawn
@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
-
how to make creepers charged on spawn
@Draco18s but how do i make a reflection or how do i make the creeper powered because i still dont have the awnser
-
how to make creepers charged on spawn
there is a setCreeperState() command can i do something with this to make it powered?
-
how to make creepers charged on spawn
@BlockyPenguin but how would i do that in a if state ment EDIT: oh i was not for a if statement sorry 😅
-
how to make creepers charged on spawn
@Draco18s it would have been helpful if you show me then how to do it Edit ignore my comment
-
how to make creepers charged on spawn
@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?
-
how to make creepers charged on spawn
@BlockyPenguin but how do i use ntb in forge?
-
how to make creepers charged on spawn
@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
-
how to make creepers charged on spawn
@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
-
how to make creepers charged on spawn
@diesieben07 why not?
-
how to make creepers charged on spawn
@diesieben07 can you send me a basic code of a entity spawn event with the code that charges the creeper?
-
how to make creepers charged on spawn
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 } }
IPS spam blocked by CleanTalk.