Search the Community
Showing results for tags 'entities'.
-
1.21.4 [Solved][Forge 1.21.4] Registry Object not present
Maxime66410 posted a topic in Modder Support
Hello, this is the first time I've created a mod for Minecraft and my mod is for an entity that plays in your world. I've survived several tutorials and documentation, but I still can't do what I want to do. Can you tell me why I'm getting this error? Everything looks good. no ?...-
- broken mod
- commands
-
(and 1 more)
Tagged with:
-
1.21.1 How to avoid the freezing effect on an entity's spawn?
Pollux23 posted a topic in Modder Support
Hey, i'm starting to create mods, for training I made an item that shoots a chicken when used, the behavior is ok, but the moment the chicken spawns it is frozen for a small noticeable fraction of time before being launched, the same behavior does not happen with an arrow, is it possible to avoid th... -
Hello I've been having some issues with Multipart entities and that it is constantly taking damage. The video below shows the issues. Also the hit boxes that are moving constantly seem to be still, because you can still be seated on the hit box where it is suppose to be. Here is...
-
Hi, this is my second post with the same content as no one answered this and it's been a long time since I made the last post, I want to make a client-only mod, everything is ok, but when I use shaders, none of the textures rendered in RenderLevelStageEvent nor the crow entity model are rendered, I...
-
I am trying to implement a model for a mob into Minecraft and am running into trouble with the ModModelLayer file and the downloaded model Java file from blockbench. Both attempt to create a new ResourceLocation instance however after browsing the code I can't find a public constructor for Resource...
-
Hello, I've decided I want to replace the default player model with a custom one but can't quite seem to figure it out. I'm somewhat new to minecraft modding so please forgive me if I'm missing something obvious. My code is also a bit jumbled and nothing atm (been deleting any code that hasn't been...
-
I have followed KaupenJoe's tutorial and wanted to make an entity. But when I implemented the animations, they broke and look weird. I think they are playing the walk animation and the idle over each other, but I am not sure. Here is my GitHub repository: https://github.com/Skwarken/KNKforge...
-
Hello! I was trying to create a mob which has two different textures: "red" and "black". It should be chosen randomly when the mob spawns and then never change. I had to find some way to save data about the variant of the mob when player go out from the game. I thought that using read/addAdditionalS...
-
I have a rideable LivingEntity and when I ride on it near a block it automatically climbs on it. How to disable it? Here is my travel method: @Override public void travel(@NotNull Vec3 travelVector) { if (!isAlive()) return; if (isVehicle() && h...
-
I'm using the newest version of forge for Minecraft 1.21, so this might be a bug, but I'm not sure if I'm just doing something wrong, because I'm kind of a noob. I'm trying to make a mod that (among other things) hurts entities when a minecart hits them. It works fine at first, but as soon as the en...
-
How can I change player jump height with attributes modifiers? I want to make boots that increase the strength of the jump. I want to make it like the jump boost effect works. I know that I can give jump boost effect to player every time when he jumps but there are several problems with th...
-
Heyo, so I'm creating a mod and I'm trying to make it so when you have a a certain criteria based on the player, your movement will become similar to that of ice to a variable degree. I've tried looking how Ice itself does it and found where it's used in the travel command, but im not certain the be...
-
My mobs are all subclasses of PathfinderMob and don't have any spawning restrictions. I added each mob to the respective biomes with weight: 100, minCount: 1, and maxCount: 2. I can send any relevant code if it helps with troubleshooting. When I first teleport to my custom dimension and run /fo...
-
I am coding the mod using Intellij community edition with the Adoptium sdk 17 download, all the models i have made using Blockbench, the minecraft version is 1.20.4 and the forge version is 49.0.30. I am trying to make a medieval furnace and i have made the model exceed the 1 block so i have made 3...
-
Hi, I have a scenario where I would like the player to die no-matter-what. Player#die(DamageSource dmgSrc) seemed like the obvious solution, but I couldn't for the life of me figure out why my custom damage source's death message wasn't displaying (I originally had DamageSource.GENERIC as a placehol...
-
I made a projectile extending the AbstractHurtingProjectile class. The relevant code and video showing the error are shown below. I want my projectile to be able to pass through blocks and hit multiple entities, it should only despawn after a certain amount of time. For some reason, it does not hit...
-
sorry,i found the issues just some stupid reasons. but idont know how to delete the post
-
I am adding in an entity identical to the Creeper. I have an Idle animation, a Running animation, and a Walking animation. At the moment, the Idle and Walk animations are conflicting whenever it stands still, causing a jittery movement. Though I followed the Minecraft modding course by KaupenJoe to...