Everything posted by laci200270
-
[1.8] Way to supress "Model definition for location XXXXX#inventory" error?
Take a look at: http://www.wuppy29.com/minecraft/1-8-tutorial/updating-1-7-to-1-8-part-3-basic-blocks/
-
[1.8] Item textures not working outside of eclipse
Fixed it
-
[1.8] Item textures not working outside of eclipse
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:
-
[1.8] Item textures not working outside of eclipse
The armor is rendering on player,but in the inventory not rendering(In the eclipse everything is good)
-
[1.8] Item textures not working outside of eclipse
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
-
Can you connect your mod to a mysql database
Tjis is offilcal mysql docs: http://dev.mysql.com/doc/connector-j/en/connector-j-usagenotes-connect-drivermanager.html
-
[1.7.10] IOException when using custom LanguageRegistry
What is in on epiclangueageregistry line 29?
-
Please Help
There is a problem when you adding the crafting recipe
-
[1.8]Button with tooltip
drawHoveringText works. Thanks!
-
[1.7.10] cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException
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
-
[1.7.10] cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException
Show your main class
-
[1.8]Button with tooltip
Eclipse can't find this method: func_146283_a(List strings, int x, int y)
-
[1.8]Button with tooltip
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
-
GUI button packet
Thanks for a tip,If I add it to initGUI() it will good?
-
[1.7.10]How to add enchants to a weapon as default
Yes,I know it
-
[1.7.10]How to add enchants to a weapon as default
OK I just reworked the code because totally wrong. Next time I only say what is the error?(I just only want to help)
-
GUI button packet
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)
-
[1.7.10]How to add enchants to a weapon as default
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); } } }
-
[1.7.10]How to add enchants to a weapon as default
The crash log says problem on line 21: int itemSlot, boolean isSelected) ,so try to delete line 21
-
[1.7.10]How to add enchants to a weapon as default
you should check item is enchanted with: if(itemstack.isItemEnchanted() == false)
-
[1.7.10]How to add enchants to a weapon as default
Crash log,please
-
[1.7.10]How to add enchants to a weapon as default
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); }
-
GUI button packet
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
-
[1.8] Rendering Crops?
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
-
[1.7.10] How to add functionality to a custom enchantment.
Look at the enderio's enchant: https://github.com/SleepyTrousers/EnderIO/blob/master/src/main/java/crazypants/enderio/enchantment/EnchantmentSoulBound.java
IPS spam blocked by CleanTalk.