Jump to content

CrashDbo

Members
  • Posts

    9
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

CrashDbo's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. @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(); }
  2. 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.
  3. Thanks for the Advise, I will look at both ways and see what will work best.
  4. 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.
  5. I think you want registerSoundEvent, not registerSOundEvent.
  6. This solved the issue. I must have misunderstood what isRemote is. Thank you for the response. Definitely need to do more research.
  7. 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.
  8. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.