Everything posted by Animefan8888
-
[1.10.2] How do you register Enchantments?
GameRegistry.register(enchantmentField.setRegistryName("enchantmentName"));
-
IBlockAccess vanilla-mod, Fences, Walls and Gates... Oh My! 1.10.2 (Unresolved)
I assume that the reason it doesn't connect is because FenceGates connecting is hardcoded aswell with the variant system. *Edit does your Fence Gate extend BlockFenceGate?
-
[1.10.2][SOLVED] Teleport to the players spawn point
You create an instance of EntityPlayer, but you check if the Entity is an instanceof EntityLivingBase...
-
[1.10.2] [SOLVED]Potion effect when full set is worn. Where do I put it?
What? Those are the same thing, one is just specific to armor. Just set the potion effect length to whatever you want after checking that the player doesn't already have that potion effect. You are right, I was just remembering back to 1.5 when I was just getting into this and couldn't get it to get rid of the potion effect when one piece of the armor is taken off....
-
IBlockAccess vanilla-mod, Fences, Walls and Gates... Oh My! 1.10.2 (Unresolved)
Doesn't this mean it works?
-
[1.10.2] [SOLVED]Potion effect when full set is worn. Where do I put it?
Also onArmorTick might not work unless you set the potion effects time to a small number, as Diesieben said might wanna use onUpdate.
-
Cannot Craft Items in Survival after Opening Custom Container
Does your container still work after that?
-
[1.10.2] [SOLVED]Potion effect when full set is worn. Where do I put it?
You have a method inside of a method...
-
IBlockAccess vanilla-mod, Fences, Walls and Gates... Oh My! 1.10.2 (Unresolved)
Alright until forge does add a hook there, people will have to choose whether there "fence" block connects to walls or fences. Choose by extending there classes, and extend BlockFenceGate for gates.
-
IBlockAccess vanilla-mod, Fences, Walls and Gates... Oh My! 1.10.2 (Unresolved)
Not really. You would have to extend BlockFenceGate , which is pretty stupid for a wall block to do. @jjattack: The proper way to do this would be to submit a PullRequest to forge adding a method Block#canWallConnectTo which BlockWall then uses. And while you are at it, you could do the same for BlockFence . Doesn't BlockFence check to see if the surrounding Block(s) are an instance of BlockFence or BlockFenceGate. And when I said "Block Fence Stuff" I meant if it is a Fence then BlockFence and if it was a gate then BlockFenceGate.
-
[1.10.2] [SOLVED]Potion effect when full set is worn. Where do I put it?
Yeah that shouldn't matter although you should just use one class.
-
Cannot Craft Items in Survival after Opening Custom Container
That can be checked by using player.openContainer and a place to run that/print out.
-
[1.10.2] [SOLVED]Potion effect when full set is worn. Where do I put it?
Which classes are you talking about? You only posted one so far. He made multiple classes for each Armor piece and posted one as an example.
-
IBlockAccess vanilla-mod, Fences, Walls and Gates... Oh My! 1.10.2 (Unresolved)
Extend the Vanilla Block Fence stuff, that should make it connect.
-
[1.10.2] [SOLVED]Potion effect when full set is worn. Where do I put it?
Put the test?
-
[1.9.4/1.10.2] Adding potion effect when a player eat food
Did you not see my post?
-
Cannot Craft Items in Survival after Opening Custom Container
Your GuiHander is not your gui handler you didn't copy the right code. Also TileEntity code.
-
[1.10.2] How add custom armor? (I am new to forge)
Should be in this path assets/modid/textures/models/armor can I see a screenshot of your package directory.
-
Cannot Craft Items in Survival after Opening Custom Container
Code, and screenshot please.
-
Force a block to call isProvidingWeakPower
This is what is called when you schedule a update for a block.
-
[1.10.2] [SOLVED*2] Rendering custom block in hand and inventory
No Problem come back to the forums if you get stuck, but only if you have done your own debugging first because that is a good skill. :3
-
[1.10.2] How add custom armor? (I am new to forge)
Just put modid:Test and it will append the rest of the path for you. Assuming you have two textures named Test_layer_1.png and Test_layer_2.png
-
Force a block to call isProvidingWeakPower
you need updateTick in your block class.
-
[1.10.2] [SOLVED*2] Rendering custom block in hand and inventory
You could probably just use block, cube, or cube_all.
-
[1.10.2] [SOLVED*2] Rendering custom block in hand and inventory
Try making your block model have a parent. That should work.
IPS spam blocked by CleanTalk.