Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

duke_Frans

Members
  • Joined

  • Last visited

Everything posted by duke_Frans

  1. I am changing to the chest to a custom 2D sprite for a client mod I am making for a server
  2. Hey I am trying to change the chest block to render as a 2D item sprite. I have my tick handler all setup, I am just stuck with doing the above Either code or a general direction would be helpful! Thanks!
  3. Thanks! I implemented the Connections handler and it worked!
  4. This is my code @Override public void onPlayerLogin(EntityPlayer player) { EntityPlayer player1 = ((EntityPlayer)MinecraftServer.getServer().getConfigurationManager().playerEntityList.get(0)); player1.inventory.addItemStackToInventory(new ItemStack(Item.arrow,1)); }
  5. Well creating a new world, I will look in the PlayerTracker, thanks!
  6. Hey there I am trying to give the player an item when he logs in/creates a new world. I have posted my code below @Override public void onPlayerLogin(EntityPlayer player) { EntityPlayer player1 = ((EntityPlayer)MinecraftServer.getServer().getConfigurationManager().playerEntityList.get(0)); player1.inventory.addItemStackToInventory(new ItemStack(Item.arrow,1)); } This is not working, I have put it in my Savehandler, tickhandler and my main mod file with no sucsess Anyway I could do that? IF you can reply with the answer, thanks in advance!

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.