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.

vpklotar

Members
  • Joined

  • Last visited

  1. Okay, haha, failed to notice that, at least i get a new block into my inventory but it should be a stack And though it renders there it seams to be null for some reason...
  2. Okay, so i kind of have the inventory working. The only thing i really can't get to work is picking up an item and placing it in to the inventory for the player. I've been looking for a solution a long time now and I haven't come across one yes so i search here for help! Current action: As i click the slot i get 1, only 1 cobble stone in the hand and then it removes it from the gui (as expected as i picked it up) then when i click an inventory slot (player inventory) it just goes back in to the gui (the normal inventory) and then when i exit the gui it drops a copple of stacks on the ground Gui: https://github.com/vpklotar/Industrial-Line/blob/master/src/se/vpklotar/il/gui/GuiNetController.java Container: https://github.com/vpklotar/Industrial-Line/blob/master/src/se/vpklotar/il/block/NetControllerContainer.java uNet: https://github.com/vpklotar/Industrial-Line/blob/master/src/se/vpklotar/il/power/uNet.java I would really appreciate if someone could help me sort this out!
  3. Okay, so i got this solar panel and cable tileentities rendering as TileEntitySpecialRender and well as that works all fine in actual world it doesn't work that fine in the inventory, it's just a blank spot where the item's supposed to be! Main file: https://github.com/vpklotar/Industrial-Line/blob/master/src/se/vpklotar/il/Il.java SolarPanelSpeicalRender: https://github.com/vpklotar/Industrial-Line/blob/master/src/se/vpklotar/il/power/SolarPanelSpeiclaRender.java SolarPanel (block): https://github.com/vpklotar/Industrial-Line/blob/master/src/se/vpklotar/il/power/SolarPanelSpeiclaRender.java
  4. Okay, so the getDescriptionPacket() worked Thanks!
  5. Okay, so ill try the getDataPacket() and see what i can get, i tried with the packets but i didn't get them to sync? Anyway, I'll try that out and reply if I can't get it to work, otherwise a "Thank You" will get thrown out
  6. Okay so I just got into modding, I have quite a bit experience with Java as I've created a java game as the project before this one, anyways my problem is that i have one TileEntity on the server and one on the Client, the problem is that they don't sync there variables So my problem is that I do get power into both entities, although one is drained bu the client gui still think it have power as it gets the client entity instread of the server entity :'( I've been googling around for quite a time now and haven't found any solution to this so I hope i can get some here! The TileEntity: https://github.com/vpklotar/Industrial-Line/blob/master/src/se/vpklotar/li/block/furnace/FurnaceEntity.java The block: https://github.com/vpklotar/Industrial-Line/blob/master/src/se/vpklotar/li/block/furnace/Mk1Furnace.java Main file: https://github.com/vpklotar/Industrial-Line/blob/master/src/se/vpklotar/il/Il.java

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.