Jump to content

[1.14.4] Blocks not dropping items


Chachii

Recommended Posts

I'm currently using Forge 28.0.21, which I'll update to the latest stable release once I get to a point I can release my mod, but I'm having trouble with getting the blocks to drop items/their item block.  I have looked at the source code for MC 1.14 as well as various source codes for open source mods that are 1.14, but I'm still a bit confused on how to do it.  

 

I'm not sure if I need to a block tile entity or use the List<ItemStack> getDrops function, or both.  I'm also not sure why I'm having such an issue since I'm probably just missing something obvious and my brain isn't picking it up.  

If I attach my hands to my knees, does that make me handy-cap?

Link to comment
Share on other sites

3 minutes ago, Chachii said:

I'm also not sure why I'm having such an issue since I'm probably just missing something obvious and my brain isn't picking it up.  

Block drops are controlled by loot tables now.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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