Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/24/17 in all areas

  1. World#destroyBlock sets the block to air, spawns particles, makes the break sound, and drops items if applicable.
    1 point
  2. You don't need to do anything, Forge automatically loads every file in the recipes directory of each mod's assets.
    1 point
  3. I made my own Ingredient class for this, but it would make sense for minecraft:item_nbt to create an NBT-sensitive Ingredient.
    1 point
  4. Replace "modID" with your actual mod ID and include your mod ID in the unlocalised name (e.g. by making it the String form of the registry name ResourceLocation). The numeric ID can be any number unique to your mod, though it's probably easiest if you start from 0 and increment by 1 each time you register an entity. It's used in the entity spawn packet. You can see how I register my mod's entities here.
    1 point
  5. These methods need to be static.
    1 point
×
×
  • Create New...

Important Information

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