Jump to content

1BowTiesAreCool1

Members
  • Posts

    31
  • Joined

  • Last visited

Recent Profile Visitors

1321 profile views

1BowTiesAreCool1's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. 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
  2. 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.
  3. 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.
  4. 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();
  5. The error switches sources between ModItems(my class for the initialization of items) and ItemStrangeTool
  6. But it doesn't, I had the same problem with another item and solved it, but I don't remember how
  7. 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?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.