Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/14/17 in all areas

  1. I gotta go to sleep, I'll help more tomorrow! Try to figure it out while I'm gone!
    1 point
  2. I mean, my method would, in this case, be more accurate... and, since you're getting false for the boolean, and the fact that my method says CLIENT, then only the client runs, which means you need to start sending packets!
    1 point
  3. Some events are only read by the logical client, or logical server, or both, depending on the result of the event. Therefore, if only a client responds, you need to send packets to the logical server telling it to perform certain code that the client is not responsible for performing, like @diesieben07 mentioned. NOTE: if you perform server-side code on client-side, it may not work... packets...
    1 point
  4. You can yes, but you shouldn't. If you have all the data you need at compile time, then just generate the json files. As for your second question, we're looking into it, but due to how the recipe book works, you need to specify all sub-items in recipes.
    1 point
  5. You don't need to mess with individual if-statements. All of these crops extend BlockCrops Check if the block extends BlockCrops, then cast it. From there, call BlockCrops::isMaxAge(IBlockState), if so, call BlockCrops::withAge(0) to get a new IBlockState of the crop, with age of 0.
    1 point
  6. You can copy the itemstacks from the entity items in the list, then create new entity items for copied drops, then add those to the list.
    1 point
  7. (or you can set each stack's stacksize to double: virtually all drops are done via 1-size stacks, even in the case of dropping 3 or 5 items)
    1 point
  8. When it comes to adding new block and items, there are plenty of guides and tutorials, but I'm having a really hard time finding out how to properly edit blocks and items from Vanilla Minecraft. I just found how to remove old recipes, because all my searches lead to tutorials for new blocks and items because of keywords. Anyways, here's what I want to do next: Change the icons of Iron tools and armour to something new, since I will be using those for Steel tools and armour. Change old tools and armour to new toolMaterials and armorMaterials (which I have already added) Change old blocks to different harvestLevels (I have added pickaxes with levels 4 and 5) Change Obsidian to drop a certain quantity of items I don't think these should be too difficult to actually code, I'm just having a real hard time searching for this specific information in the ocean of basic tutorials. If anyone can point me in the right direction, that'd be awesome. Thanks!
    1 point
  9. you need to take a look at grabbing accessible instances with reflection
    1 point
  10. When it comes to adding new block and items, there are plenty of guides and tutorials, but I'm having a really hard time finding out how to properly edit blocks and items from Vanilla Minecraft. I just found how to remove old recipes, because all my searches lead to tutorials for new blocks and items because of keywords. Anyways, here's what I want to do next: Change the icons of Iron tools and armour to something new, since I will be using those for Steel tools and armour. Change old tools and armour to new toolMaterials and armorMaterials (which I have already added) Change old blocks to different harvestLevels (I have added pickaxes with levels 4 and 5) Change Obsidian to drop a certain quantity of items I don't think these should be too difficult to actually code, I'm just having a real hard time searching for this specific information in the ocean of basic tutorials. If anyone can point me in the right direction, that'd be awesome. Thanks!
    1 point
×
×
  • Create New...

Important Information

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