Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.16.4] Loot Table not dropping custom block
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
NeX40

[1.16.4] Loot Table not dropping custom block

By NeX40, November 21, 2020 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

NeX40    0

NeX40

NeX40    0

  • Tree Puncher
  • NeX40
  • Members
  • 0
  • 2 posts
Posted November 21, 2020

Hello everyone, i'm extremely new to Java and minecraft modding, i've been following a tutorials steps to get into it but for some reason, when i mine the custom block, it won't drop anything unless i set it to drop an already existing minecraft block.
Also, for some reason my custom block doesn't have a texture when it's in my hand or is dropped, only when placed, i don't know if this has anything to do with the drop problem, here's my .json code: 

{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "testmod:custom_block"
        }
      ]
    }
  ]
}

I don't know if i should look for the problem here or somewhere else.
And again, i'm really new to this so please don't bully me, i just couldn't find a solution anywhere.

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2406

Draco18s

Draco18s    2406

  • Reality Controller
  • Draco18s
  • Members
  • 2406
  • 15935 posts
Posted November 21, 2020
2 hours ago, NeX40 said:

Also, for some reason my custom block doesn't have a texture when it's in my hand or is dropped, only when placed

you need to show more code to resolve this.

  • Quote

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Share this post


Link to post
Share on other sites

NeX40    0

NeX40

NeX40    0

  • Tree Puncher
  • NeX40
  • Members
  • 0
  • 2 posts
Posted November 22, 2020

Here are the other .json files for the block: 

//assets.testmod.models.block
	{
  "parent": "block/cube_all",
  "textures": {
    "all": "testmod:blocks/custom_block"
  }
}

//assets.testmod.models.item
{
  "parent": "testmod:block/custom_block"
}

 

  • Quote

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Gubipe
      Minecraft.getMinecraft().thePlayer.swingItem(); wont attack

      By Gubipe · Posted 14 minutes ago

      I am making the two mods with the same functionality. One is 1.16.4 and the other is 1.8.9. The current one is 1.8.9 and then I shall try to port it over to 1.16.4
    • poopoodice
      Minecraft.getMinecraft().thePlayer.swingItem(); wont attack

      By poopoodice · Posted 31 minutes ago

      It's for animation only. Btw what version are you using?
    • TheDonkey_King
      I just started modding minecraft and I thought i had finished modding it but Titanium mod isn't loading properly. Can someone help me fix this?

      By TheDonkey_King · Posted 49 minutes ago

      What file?
    • BIGDog8808
      HELP! WORLD WONT WORK

      By BIGDog8808 · Posted 51 minutes ago

      so is there anyway that i can copy the world and use it with forge  
    • mightymoy
      Cant craft items in modded server

      By mightymoy · Posted 58 minutes ago

      we arent using Opti fine anymore and no specific reason we had just picked 1.16.1 
  • Topics

    • Gubipe
      2
      Minecraft.getMinecraft().thePlayer.swingItem(); wont attack

      By Gubipe
      Started 2 hours ago

    • TheDonkey_King
      4
      I just started modding minecraft and I thought i had finished modding it but Titanium mod isn't loading properly. Can someone help me fix this?

      By TheDonkey_King
      Started 6 hours ago

    • BIGDog8808
      10
      HELP! WORLD WONT WORK

      By BIGDog8808
      Started 7 hours ago

    • mightymoy
      8
      Cant craft items in modded server

      By mightymoy
      Started Yesterday at 03:00 AM

    • tinyborisYT
      2
      [1.12.2] Crash at Launch, No clue why

      By tinyborisYT
      Started 2 hours ago

  • Who's Online (See full list)

    • CaelTheQuail
    • LK1905
    • Eridani
    • Gubipe
    • DaemonUmbra
    • Caffeinated Pinkie
    • TheDonkey_King
    • mightymoy
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.16.4] Loot Table not dropping custom block
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community