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.

Featured Replies

Posted

.

Edited by D0XY

.

Edited by D0XY

why do you need it client side

 

12 hours ago, diesieben07 said:

inventories need storage, which requires a server-side mod

 

.

Edited by D0XY

On 3/2/2020 at 10:46 AM, D0XY said:

it doesn't need to persist.

 

i have already come up with a solution, which was to copy paste the InventoryEnderChest class and create and edit it to my liking. the point of my mod is to be able to open a chest you've opened previously from anywhere to check your contents. obviously you cant take items out as it is all client side.

Ok, it don‘t make much sense, but it is your mod. If here was one thing that i do not recommend is to copy a entire class and then simply change the name: never do this. If you really need to do it with that class the simply extends and override, else you will receive problems with Mojang then you have violate the copyright terms.

 

On 3/2/2020 at 10:46 AM, D0XY said:

obviously you cant take items out as it is all client side.

Ok, i never worked with chest, but i think that this was incorrect. You can put things while you are in the client side, yes, but first the items are not synchronized with the server. I don‘t know if this was true, but i think that this can cause that when a new chunk was loaded and the chunk, in them was your chest, was lose, then you will lose all your items that are in the chest since the don‘t are stored in the server. Second: yes, maybe you can‘t take out items (as you don‘t stored it in the server), but then the chest don‘t will have much sense: A Chest is to contain items, not a sort of trash in them you simply can put you items (like diamonds) and never can retrieve that what you have put in (yes, i know: bad english, and else you are making a troll mod i don‘t much understand).

Edited by DragonITA

New in Modding? == Still learning!

  • Guest changed the title to .

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.