-
OnEXPCalc crashing minecraft when killed
And how do I do that?
-
OnEXPCalc crashing minecraft when killed
How do I make it not null?
-
OnEXPCalc crashing minecraft when killed
I tried to make it so that my treasure sword drops more exp than normal. The exp part works but when I die minecraft crashes. Code that gives errors @SubscribeEvent public void onEXPCalc (LivingExperienceDropEvent event) { if (event.getAttackingPlayer().getHeldItemMainhand().getItem() == ItemInit.SWORD_TREASURE) { event.setDroppedExperience(1000); } } crash report crashreport1.txt
-
1BowTiesAreCool1 changed their profile photo
-
[1.11.2] How to add ladder-climbing to mob A.I
Where do I insert it?
-
[1.11.2] How to add ladder-climbing to mob A.I
I'm trying to figure out how to make zombies pathfind ladders, I've already made it so they can go up ladders, they're just not walking toward the ladders. Please help.
-
[1.11.2] Error occurring when trying to create tool
My school can't do anything, so that's a downside. And I haven't heard about any kind of summer programs in my town, only summer school, which doesn't offer any programming as far as I know. I also begin in gymnasium(the swedish version of high school) in tenth grade. I'd love to learn it now and not wait until gymnasium.
-
[1.11.2] Error occurring when trying to create tool
I'm only in eight grade so there are no classes I can take
-
[1.11.2] Error occurring when trying to create tool
package bowtiesarecool.coulored_lights.init; import bowtiesarecool.coulored_lights.items.ItemStrangeDust; import bowtiesarecool.coulored_lights.items.ItemStrangeTool; import bowtiesarecool.coulored_lights.items.ItemWork; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; public class ModItems { public static Item work; public static Item strange_dust; public static Item strange_tool; public static void Init(){ work = new ItemWork(); strange_dust = new ItemStrangeDust(); strange_tool = new ItemStrangeTool(); } public static void register() { GameRegistry.register(work); GameRegistry.register(strange_dust); GameRegistry.register(strange_tool); } public static void registerRenders() { registerRender(work); registerRender(strange_dust); registerRender(strange_tool); } private static void registerRender(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory")); } } The error occurs in strange_tool = new ItemStrangeTool();
-
[1.11.2] Error occurring when trying to create tool
The error switches sources between ModItems(my class for the initialization of items) and ItemStrangeTool
-
[1.11.2] Error occurring when trying to create tool
None, I'm completely new
-
[1.11.2] Error occurring when trying to create tool
I don't know...
-
[1.11.2] Error occurring when trying to create tool
But it doesn't, I had the same problem with another item and solved it, but I don't remember how
-
[1.11.2] Error occurring when trying to create tool
It highlights it when I click the error icon
-
[1.11.2] Error occurring when trying to create tool
Implicit super constructor ItemTool() is undefined for default constructor. Must define an explicit constructor This error pops up in this code: public class ItemStrangeTool extends ItemTool { protected ItemStrangeTool(float attackDamageIn, float attackSpeedIn, ToolMaterial materialIn, Set<Block> effectiveBlocksIn) { super(attackDamageIn, attackSpeedIn, materialIn, effectiveBlocksIn); } } How do I fix this?
- [1.11.2] How to add simple biomes
IPS spam blocked by CleanTalk.