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

I found an interessting bug with the NBT and the Rightclick Item.

But before i explain a view things before.

 

I worked on my mod and than i had the thinking that:

Chickenbones wirless redstone is awsome but very expensive and only

transmit to one side. That is sometimes usefull but most times a pain.

 

So i made my own version of a wirless redstone.

Its a full block which create a redstone signal to any side.

Or to the front of the block.

With less frequenzes (1024 Frequenzes)

But i also added that it can be exendet into infinite.

Just added a block which create extra 1024 frequnzes to 1 player.

But thats not part of interessting.

I just created wireless redstone.

 

Now i tried to add a wireless remote which stores the information with nbt.

The problem is now every time i rightclick the item the NBTData rest.^^"

 

I am still working 1.4.7. xD i know its outdated but its a stable version^^"

  • Author

2: Yeah 1.6.2 is stable. But i also make it for someone else which is using 1.4 Maybe you know him: Redled72y

 

1: Emmmm Yeah. Thats a good thing. I make an examplecode because the original does no longer there.

 

But that needs time. xD^^ i should be more prepaired^^".

 

But i figured out that it happends always when i rightclick the Item.

But why it happends I do not have a clue^^"

Now i tried to add a wireless remote which stores the information with nbt.

The problem is now every time i rightclick the item the NBTData rest.^^"

Can't understand the issue. NBT is not supposed to change unless you changed it.

  • Author

I think if found the bug. When you rightclick it then he copy the Item.

Now the problem is: That when the item is getting copied then the NBT needs 1-3 ticks longer. Because the item has exsist before the nbt can be copied.

And i had on the on update function a if which tell if the Item Has noNbt than add the starting NBT^^" And this is the problem^^" Now problem solved^^".

. Thanks.

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.