Everything posted by FiberSprite
-
[1.7.10] Gui Button Limit?
Can i see your Button class's please? I do know in fact there is no limit on buttons cause i've made a gui with 50+ buttons on it.
-
Block wont face me when i place it.
So i don't know why but when i place my block it wont face me, it faces one direction no matter where i place it at. I don't know how to fix it, and i also couldn't find anyone post about it. FurnaceWeak: http://pastebin.com/Qdu1jxfP
-
HELP: Creating Item Cooldown[SOLVED]
Soo its pretty simple how a cooldown works. In your onItemRightClick method you would want to do something like this private int coolDown = 0; @Override public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer player) { if(coolDown <= 0) { player.motionY = 2; coolDown = 100; // Cool down time in ticks } } Then you will need to override the onUpdate method allowing the cooldown to count down. @Override public void onUpdate(ItemStack itemstack, world world, Entity entity, int i, boolean B) { if(coolDown > 0) coolDown--; } Soo yeah, Its pretty simple all your doing is making it count down in ticks so a player cant use it. You will want to add a if() statement to see if the cooldown is completed so the player can use the item again.
-
Crafting Recipes Will Not Work.
So i may be dumb or missing something but i have watched tutorials everywhere and i cant figure out why i am getting this error on crafting recipes. SampleMod: http://pastebin.com/faU9vSeQ CraftingRecipes: http://pastebin.com/w4bbsS5U The error it throws is
-
So i've tried everything not to come here, but it wouldn't work.
A Complete Log File Is Right Here
-
So i've tried everything not to come here, but it wouldn't work.
still throws a error when i change it.
-
So i've tried everything not to come here, but it wouldn't work.
So i don't know why my textures don't work and i've tried anything and everything. I researched for about a hour now and tried everyones tutorials and still cant fix it. I'm also running Forge 1.7.10 10.13.2.1230 Here's the error my client is throwing. Here's also my classes SampleMod: http://pastebin.com/faU9vSeQ ModBlocks: http://pastebin.com/fRTei7RV TestBlock: http://pastebin.com/D200Uabb My texture for testBlock is in the right directory
-
[SOLVED] Can't Add The Name (TestBlock) Without A Prefix? [SOLVED]
Fixed it. I didnt check constants and the file got reset some how and there wasnt a MOD_ID set lol . Im dumb sorry.
-
[SOLVED] Can't Add The Name (TestBlock) Without A Prefix? [SOLVED]
it is its the string name of the block in the block file
-
[SOLVED] Can't Add The Name (TestBlock) Without A Prefix? [SOLVED]
I added it to the preInit and it still isnt working. Heres My PreInit
-
[SOLVED] Can't Add The Name (TestBlock) Without A Prefix? [SOLVED]
im using forge-1.7.10-10.13.2.1230
-
[SOLVED] Can't Add The Name (TestBlock) Without A Prefix? [SOLVED]
So i'm new to coding and i am trying to make a simple block but i keep getting the error Here is my code: Core Class: http://pastebin.com/faU9vSeQ Core Blocks Class: http://pastebin.com/fRTei7RV TestBlock: http://pastebin.com/D200Uabb
IPS spam blocked by CleanTalk.