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.

FiberSprite

Members
  • Joined

  • Last visited

Everything posted by FiberSprite

  1. 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.
  2. 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
  3. 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.
  4. 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
  5. 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
  6. Fixed it. I didnt check constants and the file got reset some how and there wasnt a MOD_ID set lol . Im dumb sorry.
  7. it is its the string name of the block in the block file
  8. I added it to the preInit and it still isnt working. Heres My PreInit
  9. 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

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.