Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited


  • Gender
  • Location
  • Personal Text
    Level Creator

statphantom's Achievements

Creeper Killer

Creeper Killer (4/8)



  1. if the block already has an item then you can use HarvestDropsEvent. you first add a chance float then add your item. if the block has no drops or you want the item to drop with any tool (such as allowing obsidian to drop from an iron pciaxe) then you can use BreakEvent and spawn the item in the world.
  2. to store your own variables per player you want to create a class that extends IExtendedEntityProperties, but then you will need to create your own graphic GUI overlay by creating a class that extends Gui. I suggest looking up a tutorial on those classes first.
  3. I am not sure about minecart since it is an Item not a block, I have not yet messed with it but there is a specific event dedicated to minecarts 'MinecartEvent'. sadly I have no idea how to get the destruction or death of it though
  4. What? No! you're not? that's how I did all of my commands and they work, what's the better way?
  5. for 1.8 you want to implement ICommand Also I can not see a constructor, should add one with no parameters but inside the constructor add your aliases you want it to allow.
  6. honestly I'm just guessing. but it will add a new model mesh renderer to your item.
  7. maybe you are following an out of date tutorial. try it that way.
  8. the second half of my post....
  9. coaldust = new coaldust().setUnlocalizedName("coaldust").setTextureName("al:coaldust").setCreativeTab(tabAlchimia); add these methods in the constructor instead. you are not registering your textures try this... if (event.getSide() == Side.CLIENT) { regTexture(blockSau); } public void regTexture(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(MODID + ":" + item.getUnlocalizedName().substring(5), "inventory")); }
  10. post your code. code helps, always reference code.
  11. the letter goes first. 'D', StormMastery.extraction, 'P', Items.potionitem);
  12. you need to register and render the item BEFORE calling the recipe, I do all recipes in init and all item creating, registering, rendering etc in pre-init
  13. Ok it seems I can't do this from 'Block.isToolEffective()'. I'll try just doing getStrVsBlock and see if it is > 1.0f
  14. a) I can't seem to get 'world' from playerEvent.BreakSpeed so I had to make my own to not need that parameter. b) I'm still a little confused about how the classes calculate this all, it seems pickaxes are a special, other then that it calls the getHarvestTool method on the block and checks if that is ok? or something like that. it is a bit inconsistent and hard to follow but I'm learning my way through it.
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.