
GamingTiger101
Members-
Content Count
29 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout GamingTiger101
-
Rank
Tree Puncher
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
-
I am having trouble figuring out the file format to make my code in. I have the code I need and customized it to my setting with Custom Armor Effects, but I am unsure where I should put my code or in what format it needs to be in. Should it go in my world customization folder or add it to my armor folder and what format?
-
Create Mutable Attribute - Entity Creation
GamingTiger101 replied to GamingTiger101's topic in Modder Support
It says that the file is read only, so I can't edit the mappings -
Create Mutable Attribute - Entity Creation
GamingTiger101 replied to GamingTiger101's topic in Modder Support
Where can I find those attributes, I looked but don't know where to find it -
Create Mutable Attribute - Entity Creation
GamingTiger101 replied to GamingTiger101's topic in Modder Support
How do I map it? -
I am using forge version 1.16.1-32.0.63 and I wanted to create my own custom entity. I did not know how to set the mutable attributes, so I looked it up, but every search directed me to roughly the same code: package com.gamingtiger.gttaa.entities; import com.sun.org.apache.xml.internal.utils.MutableAttrListImpl; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityType; import net.minecraft.entity.MobEntity; import net.minecraft.entity.ai.attributes.Attribute; import net.minecraft.entity.ai.attributes.AttributeModifierMap; import net.minecraft.nbt.CompoundNBT; import net.minecraft.network.IPacket; import net.minecraft.world.World; public class SuperZombieEntity extends Entity { public SuperZombieEntity(EntityType<?> entityTypeIn, World worldIn) { super(entityTypeIn, worldIn); } public static AttributeModifierMap.MutableAttribute setCustomAttribute() { return MobEntity.func_233666_p_().createMutableAttribute(Attribute.MAX_HEALTH, 100.0D); } @Override protected void registerData() { } @Override protected void readAdditional(CompoundNBT compound) { } @Override protected void writeAdditional(CompoundNBT compound) { } @Override public IPacket<?> createSpawnPacket() { return null; } } The problem is that the ".createMutableAttribute" does not exist and I don't know how to solve this. I tested this with a passive mob and a mobentity.
-
Why does it say this is deprecated on all of the .effects? public class EmeraldApple extends Item { public EmeraldApple() { super(new Item.Properties() .group(GamingTigersCrazyToolsAndArmor.TAB) .food(new Food.Builder() .hunger(6) .saturation(3.0f) .effect(new EffectInstance(Effects.HASTE, 2400, 2), 1.0f) .effect(new EffectInstance(Effects.SPEED, 2400, 1), 1.0f) .effect(new EffectInstance(Effects.ABSORPTION, 2400, 4), 1.0f) .effect(new EffectInstance(Effects.STRENGTH, 2400, 1), 0.35f) .effect(new EffectInstance(Effects.REGENERATION, 2400, 1), 1.0f) .effect(new EffectInstance(Effects.LUCK, 2400, 2), 1.0f) .effect(new EffectInstance(Effects.HEALTH_BOOST, 2400, 2), 1.0f) .setAlwaysEdible() .build()) ); } }
-
I have no Idea why this crashed or where, but here is the logs of what happened: https://pastebin.com/Lw3ZeAb8 could someone please explain where the error is so I can fix it? or why it didn't crash the second time.
-
Developer Minecraft Crashes upon loading world
GamingTiger101 replied to GamingTiger101's topic in Modder Support
Sorry, I found the problem, the data pack crafting recipe was causing the crash because it couldn't load correctly. The reason it couldn't load was because of a typo. -
Can someone explain why the game crashes everytime I load a world with this crash log: https://pastebin.com/2N8GLtpf
-
Yes, I had just realized that when you responded, I was looking over the code when I noticed that and fixed it. I know have the texture in-game. Thanks for your help!
-
It didn't make the debug.log appear, but is this what you need?: https://pastebin.com/t2gpMasj it says its offensive but all I did was paste in the log
-
I was unclear with my meaning, I meant to say that the debug.log didn't load properly, it is just a blank page.
-
I purposefully spelled it with 2 t's. As for the png.json thing, that was probably when I was renaming some things trying to find the problem. This is a different problem that I found but I don't know what file isn't being found: [21:38:39] [Server-Worker-5/ERROR] [minecraft/AtlasTexture]: Using missing texture, unable to load minecraft:textures/gttaa.items/emerald_ingott.png : java.io.FileNotFoundException: minecraft:textures/gttaa.items/emerald_ingott.png
-
DaemonUmbra, I tried to provied the debug.log file but it wouldn't send. Would a copy of the logs when starting up minecraft be the same thing?
-
I think this line of code right here is the reason it isn't working but I don't know what this means. [08:42:52] [Server-Worker-5/WARN] [minecraft/ModelBakery]: Unable to load model: 'gttaa:emerald_ingott.png#inventory' referenced from: gttaa:emerald_ingott.png#inventory: java.io.FileNotFoundException: gttaa:models/item/emerald_ingott.png.json