Posted February 17, 20169 yr So I'm just starting out with MC modding, I'm mostly getting some help by figuring out what the things are from my friends' code. Is there any way for me to figure out what the arguments are for attributes? For example, in this block I'm making I have some filled but some, like the onEntityCollidedWithBlock, just give me the following seemingly arbitrary numbers: Block paperLamp = new GenericBlock(Material.leaves) .setCreativeTab(CreativeTabs.tabDecorations) .setBlockTextureName(MODID + ":paperLamp") .setBlockName("paperLamp") .setLightLevel(0.8F) .onEntityCollidedWithBlock(p_149670_1_, p_149670_2_, p_149670_3_, p_149670_4_, p_149670_5_); Are these numbers pointing to something? If so, where can I find that out? I don't quite understand what each of these arguments is representing and I see that this happens all over the place. Thank you!
February 17, 20169 yr Author Okay, I think I got it. The onEntityCollidedWithBlock was just an example I put in there. Should most methods that I wouldn't have to override give me a description of their arguments? MCPBot looks like huge help, thank you!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.