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
  • Full Block Identification
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
whatzhisface

Full Block Identification

By whatzhisface, February 23 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

whatzhisface    0

whatzhisface

whatzhisface    0

  • Tree Puncher
  • whatzhisface
  • Members
  • 0
  • 3 posts
Posted February 23

Hello,

I'm new to making mods, but a long time programmer.

I'm making a mod currently and also adding it to a mod pack.

One of the mods in the modpack is causing an issue with stackable items.

Scenarios are:

1. Items won't stack and they are below their limit. ex limit 64. But we have a stack of 2 and a stack of 4 they won't combine. in that example, new items will stack on the 4 but not the 2 stack.

2. Behavior is completely random and affects all items in the game no matter what modpack or container they are in. 

3. If we break the stacks up in the 4 and two example, into 6 separate items, then try to restack them, they will only go back into their original stack and I end up with two stacks again (2 and 4)

4. 4 and 2 are just one example. the number doesn't mean anything. (13 and 1, 1 and 1, 1 and 4 and so on)

5. Unknown is HOW we got the items that won't stack. Likely scenario is a chest, lootbag, mob drop, etc.

 

My hunch is that one of the mods is modifying the characteristics of the item just enough to make it non-stackable, but we can't see what that is from the UI. I want to write a mod to give me all the information about a block, but I'm unsure where to start. 

 

Can you please give me a couple of calls/commands/whatever's that I could use to get the information I need. I'm not asking for hand-holding, just point me in the right direction.

 

Thanks!

 

 

  • Quote

Share this post


Link to post
Share on other sites

Alpvax    39

Alpvax

Alpvax    39

  • Creeper Killer
  • Alpvax
  • Members
  • 39
  • 237 posts
Posted Monday at 01:07 PM

It sounds like there is a difference between the NBT data of the different stacks.

 

You should be able to use the vanilla /data command: https://minecraft.gamepedia.com/Commands/data to find any differences. It might be a bit of work trawling through the data (I would recommend only having the 2 stacks in an empty inventory).

  • 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 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Draco18s
      [1.16.x] Custom block as a shop

      By Draco18s · Posted 3 minutes ago

      So, if your parses throw a NumberFormatException.... what values will price and quantity contain when buyItem is called? You still don't actually need this check. You don't need to do this... signTe.signText is a public ITextComponentString[]...
    • Deadlocked47
      Can't get into forge discord

      By Deadlocked47 · Posted 10 minutes ago

      Bump
    • moyas1009
      Texture for new Layer

      By moyas1009 · Posted 50 minutes ago

      Hi, I'm making a layer that goes over the player's head, so far I've gotten the model to render correctly but I don't know what to put in the json so that the texture renders or if I should even make a json in the first place, any help is greatly appreciated
    • ThisIsNotOriginal
      When I try to run my mod after I just added Deferred Registries it crashes

      By ThisIsNotOriginal · Posted 1 hour ago

      when i run it the game gets terminated and doesnt give me a log except the one i provided  
    • ThisIsNotOriginal
      When I try to run my mod after I just added Deferred Registries it crashes

      By ThisIsNotOriginal · Posted 1 hour ago

      idk where that is this si the only file it shows me  
  • Topics

    • Retsal
      5
      [1.16.x] Custom block as a shop

      By Retsal
      Started 14 hours ago

    • Deadlocked47
      2
      Can't get into forge discord

      By Deadlocked47
      Started Saturday at 06:58 PM

    • moyas1009
      0
      Texture for new Layer

      By moyas1009
      Started 50 minutes ago

    • ThisIsNotOriginal
      3
      When I try to run my mod after I just added Deferred Registries it crashes

      By ThisIsNotOriginal
      Started 3 hours ago

    • keepercreeper22
      0
      I need help with getting a old world of mine back on a older version of forge(yes i know old forge is not supported, i dont care if admins try to help even if people that are experienced would be great

      By keepercreeper22
      Started 2 hours ago

  • Who's Online (See full list)

    • veinex1728@gmail.com
    • Zari
    • Deadlocked47
    • Draco18s
    • ThisIsNotOriginal
    • mcnuggies
    • PyRoTheLifeLess
    • Megaton_216_
    • ChampionAsh5357
    • moyas1009
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Full Block Identification
  • Theme

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