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] How i can spawn an item
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
Klarks

[1.16.4] How i can spawn an item

By Klarks, January 13 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

Klarks    0

Klarks

Klarks    0

  • Stone Miner
  • Klarks
  • Members
  • 0
  • 94 posts
Posted January 13

How to spawn an Item like player drops it. 

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7614

diesieben07

diesieben07    7614

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7614
  • 55193 posts
Posted January 13

Spawn an ItemEntity.

  • Quote

Share this post


Link to post
Share on other sites

Klarks    0

Klarks

Klarks    0

  • Stone Miner
  • Klarks
  • Members
  • 0
  • 94 posts
Posted January 13

how i can spawn it like it drops out of the player

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7614

diesieben07

diesieben07    7614

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7614
  • 55193 posts
Posted January 13

Look at PlayerEntity#dropItem.

  • 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

    • BBoi69
      My modpack takes years to load

      By BBoi69 · Posted 3 minutes ago

      So i wanted to play ATM6, but cuz my laptop cant handle all that, i made my Lite version with like half the mods. it ran a couple times already but then i decided to add just one more mod and now, it takes 7 years to load up. The nether background and MOJANG STUDIOS text is there and the white bar is about 8/10 full and it goes fast until that. the numbers in the left corner are moving digit by digit and it has been like this for the last hour. yes i restarted it already.
    • AGENTO_PATENTO
      (1.16.4) Avalon, The Ragnarok is Here mod help.

      By AGENTO_PATENTO · Posted 31 minutes ago

      Cześć gdzie moge owy mod  POBRAĆ    
    • Luis_ST
      [1.16.5] Help with custom Glass Block

      By Luis_ST · Posted 1 hour ago

      okay i understand but if i understand this correctly i have to return 0.   but when i set the value to 0 it dosent work and when i set it to 1 (for testing) it also dosent work
    • awkx
      Server can't keep up - good hardware, 2 players

      By awkx · Posted 1 hour ago

      my forge 1.16.4 server is lagging from time to time, especially whem generating new chunks, but sometimes I'll also get the error message that it can't keep it / its overloaded even though we're not moving around very much. It's a 2 player server for me and a buddy. I have allocated 6gb of ram (from my 16gb) and they aren't being used completely, so that shouldn't be the issue I'm running the server on a home computer with a ryzen 7 3700x. I have 5 megabytes download and around 1 MB of upload speed. Any clues? I thought maybe I can use some more jvm arguments but I haven't found proper discussions for 1.16.x servers yet. We are using 71 mods, which sounds like a huge lot but can't be the problem since the server has been like this since we started out with 6 mods. The performance hasn't gotten worse nor better with the added mods.  Thanks in advance. 
    • kiou.23
      minecraft crashes as soon as I use shaders

      By kiou.23 · Posted 1 hour ago

      This problem is related to Java, not forge nor optifine I don't think. try updating the java version on your pc
  • Topics

    • BBoi69
      0
      My modpack takes years to load

      By BBoi69
      Started 3 minutes ago

    • SixSix
      1
      (1.16.4) Avalon, The Ragnarok is Here mod help.

      By SixSix
      Started December 24, 2020

    • Luis_ST
      6
      [1.16.5] Help with custom Glass Block

      By Luis_ST
      Started Friday at 07:35 AM

    • awkx
      0
      Server can't keep up - good hardware, 2 players

      By awkx
      Started 1 hour ago

    • JoehnMama
      1
      minecraft crashes as soon as I use shaders

      By JoehnMama
      Started 2 hours ago

  • Who's Online (See full list)

    • davidsks09
    • BBoi69
    • kiou.23
    • Choonster
    • AzizD
    • AGENTO_PATENTO
    • dotifo7120
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.16.4] How i can spawn an item
  • Theme

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