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.

CrashDbo

Members
  • Joined

  • Last visited

Everything posted by CrashDbo

  1. I see. Thank you for the explanation.
  2. @Deprecated public boolean isOpaqueCube(IBlockState state) { return true; } This method in the block class is deprecated. Before I use it is there an equivalent/other way. Also, why do other methods of the block class call a deprecated. /** * Check if the face of a block should block rendering. * * Faces which are fully opaque should return true, faces with transparency * or faces which do not span the full size of the block should return false. * * @param state The current block state * @param world The current world * @param pos Block position in world * @param face The side to check * @return True if the block is opaque on the specified side. */ public boolean doesSideBlockRendering(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing face) { return state.isOpaqueCube(); }
  3. Hello I have just used Blockbench online to create a multi-textured model. It works great, until I put it adjacent to a solid block. What causes this? Below is my code for the model. Thank you for any advice.
  4. Thanks for the Advise, I will look at both ways and see what will work best.
  5. I am working on a mod that is based off finding crystals and analyzing them to get different attributes. Some will grant an effect on use some will be used in a form of crafting like the AE2 water crafting. I am having trouble finding the code in AE2 that allows the player to toss items in water and have it spawn a new item stack. My main questions I have now are: What should I be looking for to detect my crystal is in water? Secondary is when you drop and item on the ground does is then spawn as an entity item? I'm sure I will have many more questions as this develops, but for now thanks to those reading.
  6. I think you want registerSoundEvent, not registerSOundEvent.
  7. This solved the issue. I must have misunderstood what isRemote is. Thank you for the response. Definitely need to do more research.
  8. It would be a lot easier for someone to be able to help if you gave some more about your environment and how you set it up.
  9. I have recently began to learn to mod using Forge. I am in the process of learning about dimension travel and I ran into a problem with the code I picked out of MCJTY's dimension tutorial. I am having trouble finding out how to make the code I have work. There seems to be a bit of knowledge I have missed as I don't understand why I am unable to cast the player to a server instance. Any insight and on why this error and crash is is happening will help tremendously. My two main files for the staff that has a right-click event that triggers the teleportation and the teleportation class are in my pastebin below. ItemStaff.java https://pastebin.com/Xx9SN6xx DimTeleporter.java Error on line 43 https://pastebin.com/cqxCgaF8 Here is the CrashLog crash-2019-04-07_15.14.56-client.txt

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.