Everything posted by thebest108
-
Is it possible to make armor invisible?
Quick question, how did you get the Boolean getlightswitchedoff to be ItemStack specific?
-
Help with custom crafting recipes
No, the @Instance inst what's crashing it, but if another mod that puts @instance loads with yours then it will crash the game
-
Help with custom crafting recipes
Remove the @Instance stuff, I'm pretty sure the tutorial said if 2 mods do that the game will crash
-
Is it possible to make armor invisible?
Thanks, now maybe I can push my next release in about week
-
Mod Blacklist
Also, there is no way to blacklist client mods. If the client had some extra mods or hacks then why would it tell the server?
-
How to interact with a block that craft items without opening gui?
All the functions you'd need should be in EntityPlayer.inventory
-
Minecraft Modding Event Help
Don't use on its right click, use itemInteractionForEntity(something like that)
-
Detect when item swings
In the items class there is a method for left clicking. Use it
-
how to get the size of an item for a different class!
Have you tried ItemStack.stackSize ?
-
How to give a spawned mob armor?
entity.setCurrentItemOrAmor
-
How to replace block and set with a different one
Something like entityplayer.inventory.getItemStack(wand1).damageItme(1)
-
How to replace block and set with a different one
Oops I made an error, try it with removing the !worl.isremote
-
Best way to build core functionality mod
I'm pretty sure it's in IRecipeHandler, theres something like something.removeRecipeFromList(stuff goes here)
-
How to replace block and set with a different one
No, what I put was Add this to your item class public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10){ if(par3World.getBlockId(par4 + Facing.offsetsXForSide[par7], par5 + Facing.offsetsYForSide[par7], par6 + Facing.offsetsZForSide[par7]) == YourBlockId&&!par3World.isRemote){ par3World.setBlock(par4 + Facing.offsetsXForSide[par7], par5 + Facing.offsetsYForSide[par7], par6 + Facing.offsetsZForSide[par7], YourOtherBlockId); par1ItemStack.damageItem(1); } return true; } ossempeck messed u up
-
How to replace block and set with a different one
What about the method I told you about that you put in the item class?
-
How to replace block and set with a different one
Rather than instanceof use if(equipped.itemId==wand1.itemId)
-
What is up with my imports?
Corrupted workspace? Try a fresh decompile
-
Hook for PotionEffect(Resolved)
Thrown potions are indeed entities. Also, I could've sworn there was an entity death event in minecraftforge.event.entityliving
-
What is up with my imports?
Select the class and press shift+control+o and itll fix your imports
-
Server dimension unloading while empty
Bad mc server GUI? Agreed
-
Hook for PotionEffect(Resolved)
Hmm maybe something like @Forgesubscribe(entityDeathEvent event){ if(event.entity instanceof entitypotion){ Get entities within the AABB pool and do stuff to them } }
-
Question about EntityPlayer.getItemInUse() being Side.CLIENT
Also think about this, what item would a server be holding???
-
Best way to build core functionality mod
You don't need a core mod to edit recipies. Recipies are just a list in which things can be added/removed
-
Inventory item ban mod needed (edit: i made one)
Need any help with a config file? Also delete the proxies and the mod instance, theyre just wasting ram.
-
Free to use world generation files [list]
API, Y U NO BE IN FORGE???
IPS spam blocked by CleanTalk.