Edit:*******************************************
The SharpeningBlock class extends Block, The ItemSharpeningBlock is supposed to extend ItemBlock
still a little confused about how to use metaData for onBlockActivated, but I can probably figure that out
************************************************
I am very confused right now, I think this is something wrong with eclipse.
GameRegistry.registerBlock(sharpeningblock, ItemSharpeningBlock.class, RefStrings.MODID + "_" + "sharpeningblock");
The "registerBlock" call has a red line under it and when I hover over it these are my options:
Remove argument to match 'registerBlock(Block,String)'
or Change to 'registerItem(...)'
I am trying to create a block with metadata and this is the tutorial I followed
My ItemSharpeningBlock class extends my SharpeningBlock class which extends block
I have tried refreshing my project and restarting eclipse.
Any idea's on why eclipse doesn't want me to use this method?
Edit: extra info
I am using forge 10.13.4.1481 for 1.7.10
I can open documentation for the "erroring method" and it takes me to the correct place.
The SharpeningBlock class extends Block, The ItemSharpeningBlock is supposed to extend ItemBlock
still a little confused about how to use metaData for onBlockActivated, but I can probably figure that out
************************************************
I am very confused right now, I think this is something wrong with eclipse.
GameRegistry.registerBlock(sharpeningblock, ItemSharpeningBlock.class, RefStrings.MODID + "_" + "sharpeningblock");
The "registerBlock" call has a red line under it and when I hover over it these are my options:
Remove argument to match 'registerBlock(Block,String)'
or Change to 'registerItem(...)'
I am trying to create a block with metadata and this is the tutorial I followed
My ItemSharpeningBlock class extends my SharpeningBlock class which extends block
I have tried refreshing my project and restarting eclipse.
Any idea's on why eclipse doesn't want me to use this method?
Edit: extra info
I am using forge 10.13.4.1481 for 1.7.10
I can open documentation for the "erroring method" and it takes me to the correct place.
Last edited: