Jump to content

KakesRevenge

Members
  • Posts

    153
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    Cezch Republic
  • Personal Text
    I want to know everything !

Recent Profile Visitors

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

KakesRevenge's Achievements

Creeper Killer

Creeper Killer (4/8)

3

Reputation

  1. 1 More question .. My game is crashing cause of this line Why ?
  2. Oh i see .. i feel like an idiot now, cause i was trying to find this method earlier Thanks
  3. Thanks but i need to know the name. With hasDisplayName i only know if its named
  4. Hey, Is it possible to find out how a certain item has been named in an anvil? Thx4Help
  5. Oh ok isnt it something with the constructor ? we had problem with armer code which was calling the constructor of playerclasshandler and it has set the current class to unset again do you have a solution 4 that ?
  6. Do you have any tutorials for packets ? and how to solve the saving thing ?
  7. We have a command (/class) which is checking what is the current class. You can look at it here : https://github.com/KakesRevenge/ProjektWow/blob/master/src/main/java/cz/grossik/projektwow/command/GetClass.java
  8. setUnlocalizedName() is for naming items setBlockName() is for naming blocks
  9. Look at TiCon code there is reciperemover class and bunch of usefull stuff in it
  10. You need to make a class for the block .. and this coding style is awful
  11. I want to do it in onBlockActivated Method
  12. Yes on a block and with no tile entity ...
  13. Hello, I want to find out is an item is laying on the block ... How should i do that ? BTW: i know laying item is an entity ... Thx in advance
  14. + You dont need to spawn item you can just do event.drops.add(youritemstack) EDIT : this code works fine for me @SubscribeEvent public void harvestDrops (HarvestDropsEvent event) { if(event.block.equals(Blocks.stained_glass)) { event.drops.add(new ItemStack(Blocks.stained_glass,1,event.blockMetadata)); } }
×
×
  • Create New...

Important Information

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