
meta
Members-
Content Count
8 -
Joined
-
Last visited
Community Reputation
1 NeutralAbout meta
-
Rank
Tree Puncher
-
I have already registered the ore and it's in the game, I just want to know how I get the ore to generate like coal, iron, gold, and diamonds.
-
I am a noob, I cant find anything on the docs about this. sorry.
-
solved! it was a different issue
-
why does new ItemStack return null? public ActionResult<ItemStack> onItemRightClick(World worldIn, PlayerEntity playerIn, Hand handIn){ ItemStack itemstack = new ItemStack(Items.DIAMOND, 10); // itemstack is null here }
-
yes i know but how do i create a diamond entity, when i use "new ItemStack()" it returns null
-
when i use World.addEntity(), how do i get the entity parameter
-
i would like to spawn the items near me
-
meta joined the community
-
how would i drop for example, 10 diamonds on the ground when a player right clicks a custom item. public ActionResult<ItemStack> onItemRightClick(World worldIn, PlayerEntity playerIn, Hand handIn){ // summon diamonds here } thank you guys!