Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

laci200270

Members
  • Joined

  • Last visited

Everything posted by laci200270

  1. Take a look at: http://www.wuppy29.com/minecraft/1-8-tutorial/updating-1-7-to-1-8-part-3-basic-blocks/
  2. When I debugging everything is good.But when I run gradlew build and install the output in multimc the model's can't find by forge(In the eclipse found it)My folder structure:
  3. The armor is rendering on player,but in the inventory not rendering(In the eclipse everything is good)
  4. The problem is:in eclipse all item' texture is good but when I export it the jar file conatins but I get this: [09:26:23] [Client thread/ERROR] [FML]: Model definition for location modularsuits:modularHelmet#inventory not found [09:26:23] [Client thread/ERROR] [FML]: Model definition for location modularsuits:modularChestplate#inventory not found [09:26:23] [Client thread/ERROR] [FML]: Model definition for location modularsuits:modularLeggings#inventory not found [09:26:23] [Client thread/ERROR] [FML]: Model definition for location modularsuits:modularBoots#inventory not found
  5. Tjis is offilcal mysql docs: http://dev.mysql.com/doc/connector-j/en/connector-j-usagenotes-connect-drivermanager.html
  6. What is in on epiclangueageregistry line 29?
  7. There is a problem when you adding the crafting recipe
  8. drawHoveringText works. Thanks!
  9. You typed a space: Replace with:@SidedProxy(clientSide= "net.magicalforge.daffierbags.proxy.ClientProxy", serverSide= "net.magicalforge.daffierbags.proxy.CommonProxy") EDIT: deleted a space from commonproxy
  10. Eclipse can't find this method: func_146283_a(List strings, int x, int y)
  11. I want to add my button a tooltip. (For display a recipe)The button's source code: https://github.com/laci200270/Minecraft-Modular-Suits-mod/blob/master/src/main/java/hu/laci200270/mods/modularsuits/client/gui/ModuleAddButton.java
  12. Thanks for a tip,If I add it to initGUI() it will good?
  13. OK I just reworked the code because totally wrong. Next time I only say what is the error?(I just only want to help)
  14. GUI button's source code: https://github.com/laci200270/Minecraft-Modular-Suits-mod/blob/e97696b6af6de03674d872e0dbedb944ea267d4b/src/main/java/hu/laci200270/mods/modularsuits/client/gui/ModuleAddButton.java The GUI class soruce: https://github.com/laci200270/Minecraft-Modular-Suits-mod/blob/e97696b6af6de03674d872e0dbedb944ea267d4b/src/main/java/hu/laci200270/mods/modularsuits/client/gui/GuiConstructionTable.java The packet handler source code: https://github.com/laci200270/Minecraft-Modular-Suits-mod/blob/e97696b6af6de03674d872e0dbedb944ea267d4b/src/main/java/hu/laci200270/mods/modularsuits/common/network/packets/PacketHandler.java (I'm using chickenbones packet handling system)
  15. Try this: package wearethewarriorsmod.item; import net.minecraft.enchantment.Enchantment; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemSword; import net.minecraft.potion.Potion; import net.minecraft.potion.PotionEffect; import net.minecraft.world.World; public class ItemDragonsword extends ItemSword { public ItemDragonsword(ToolMaterial material) { super(material); } public void onUpdate(ItemStack stack, World world, Entity entity, int par4, boolean par5){ super.onUpdate(stack, world, entity, par4, par5); if(itemstack.isItemEnchanted() == false) { stack.addEnchantment(Enchantment.fireAspect, 2); super.onUpdate(stack, world, entity, itemSlot, isSelected); } } }
  16. The crash log says problem on line 21: int itemSlot, boolean isSelected) ,so try to delete line 21
  17. you should check item is enchanted with: if(itemstack.isItemEnchanted() == false)
  18. Add this to sword class: @Override public void onUpdate(ItemStack stack, World worldIn, Entity entityIn, int itemSlot, boolean isSelected) { // TODO Auto-generated method stub stack.addEnchantment(ench, level); super.onUpdate(stack, worldIn, entityIn, itemSlot, isSelected); }
  19. If I press a button in my GUI it sends a packet multiple times Here is my logger service's log: http://pastebin.com/Dq76TMFL (there are lot of debug stuff, the packet got means the server got the packet) The mod's source source code: https://github.com/laci200270/Minecraft-Modular-Suits-mod
  20. You need to copy model files to src/main/resources/assets/<MODNAME>/models/blocks for blocks and src/main/resources/assets/<MODNAME>/models/item for items
  21. Look at the enderio's enchant: https://github.com/SleepyTrousers/EnderIO/blob/master/src/main/java/crazypants/enderio/enchantment/EnchantmentSoulBound.java

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.