-
Posts
53 -
Joined
-
Last visited
Everything posted by TheElementGuy
-
I am using Forge 1.19.2. Crash report - https://gist.github.com/TheElementGuy/016f5a38f3bfcd5efe2c584c848bb71e
-
Does anyone know?
-
You would need to ask somewhere else (Forge doesn't have anything like that). Maybe Planet Minecraft?
-
This forum doesn't support 1.8.x. It supports 1.19.x (Latest) and 1.18.x (LTS). If you need help, you will have to ask somewhere else.
-
For a texture, I want it to interpolate, but it won't. mcmeta: { "animation" : { "frametime": 2, "interpolate": true, "frames": [ 0, 1, 2, 3, 4 ] } } For the image file: https://github.com/TheElementGuy/Greek-Myths-Mod/blob/main/src/main/resources/assets/greekmyths/textures/item/stygian_iron_ingot.png.mcmeta
-
rendering overlay/ exit code -1 crashing
TheElementGuy replied to shawn earle's topic in Support & Bug Reports
Looks like it's a problem with the ReAuth mod. Try contacting the mod authors. -
So, I have an item, and how would I make the name yellow?
-
So Gradle stopped throwing errors, maybe I had a typo? Thank you for your help.
-
Well, you could get the position, modify it to get the position of the block underneath, check if that block is air, and then destroy the original block using: ServerLevel#destroyBlock()
-
Also, the only one that sets damage (LivingHurtEvent) doesn't let me get the target.
-
I don't want to do that because then it would still show an animation.
-
I have an AttackEntityEvent and I can't get it to cancel. public class ModEvents { @Mod.EventBusSubscriber(modid = GreekMythsMod.MOD_ID) public class ForgeEvents { @SubscribeEvent public static void onPlayerAttackEntity(AttackEntityEvent event) { ItemStack item = event.getEntity().getItemInHand(InteractionHand.MAIN_HAND); if (item == new ItemStack(ModItems.CELESTIAL_BRONZE_SWORD.get(), 1) && !(event.getTarget() instanceof Enemy)) { event.setCancelled(true); } } } } It is supposed to check if you are holding a celestial bronze sword and you are not hitting an enemy. It says that AttackEntityEvent is not cancelable.
-
How to Stop a Sword Hitting an Entity
TheElementGuy replied to TheElementGuy's topic in Modder Support
I am using the hurt entity method and it doesn't have AttackEntityEvent, LivingAttackEvent, or LivingHurtEvent. Do I create a new one or change methods? -
I ended up figuring it out. I hadn't imported the correct packages. Thank you for all the help you have given.
-
So it wasn't very clear to put that in words in the title, so here is a better explanation. I have a sword and I want it only to hurt enemies. I can distinguish between enemies and not enemies, but how do I make it not hurt non-enemies?
-
Ohhhh. I thought it meant coordinates because now the world goes beneath 0 with Caves & Cliffs. Thank you!
-
In my mod, I am trying to have celestial bronze deepslate ore generated in my world. I am using the following code and it won't work: GitHub Repo: https://github.com/TheElementGuy/Greek-Myths-Mod
-
Thank you, I will try this.
-
I want a sword that will kill all hostile mobs with one hit, so is there any way to do that?
-
My idea is when it snows it builds up on the ground.
-
[1.19.2] Is there a way to delete dimensions?
TheElementGuy replied to TheElementGuy's topic in Modder Support
Okay! Thanks. -
Here is my output: https://gist.github.com/JPermSolves/ea420040e83f427b3b1909e565cfa77c
-
I have a mod and want to delete the Nether to replace it with the Underworld from Greek mythology. Is this possible? If not is it possible to replace the Nether generation so that it is basically just the Underworld?
-
I am making a mod in VSCode and everything was working properly. Now, for some reason, whenever I try to execute gradlew runClient it fails and says "Execution failed for task :compileJava". If someone could tell me what was wrong I would appreciate it.