Jump to content

Recommended Posts

Posted

Hello,

 

I have created a mod with tubes and I want it so that when you right click with a wrench it enables the feature that extracts from inventories. When the pipe is right clicked it want it to change texture to show what mode it is in, but when I click right click the pipe with the wrench it switches mode to extract but wont go back again. Here is my code if you have the time to look at it.

 

https://github.com/Shamboozle/TubesMod.git

Posted

In your packet class, you only do things client side. You need to do it server side, as the client will automaticly update from the server.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted

I know that, but you're never setting it on the server, only on the client. Try putting that code from the packet class in the client method, in the server method in the packet class.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted

You probably did think at this but sometimes it's worth checking the little but possible issues: Did you remember sneaking while clicking? I think in your BlockTube class you want the player to sneak while clicking.

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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