Posted March 3, 20223 yr I'm currently trying to learn how to make mods in forge and i have been following "Tutorials by kaupenjoe" on youtube. In the tutorial he makes a block called speedyblock. I removed the speed that the block gives, and instead wanted to make a sort of minigame where the only block that's allowed to stand on is the speedy block. I want to give the player a single speedyblock every 5 seconds. I have the event and logic all set up, i just don't know how to actually give the player the item. I tried using the players "addItem" function with a "new Itemstack(new blockItem(ModBlocks.SPEEDY_BLOCK, new Item.Properties))", however that only gave the player two items with the "missing texture" texture. Does anyone know how to do this?
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.