Jump to content

Forge Hook Suggestion: PlayAuxSFXEvent


サムエル

Recommended Posts

I suggest an event hook for World.playAuxSFX. The specific thing I need it for is that I have custom structures in my mod that use lines of dispensers with hidden redstone circuits and I want to cancel the clicking sound for dispensers according to the BlockPos because they would otherwise click over and over and drive the player crazy.

Link to comment
Share on other sites

Pretty sure we either already have this hook or its a vanilla hook, cant remember which but there are mods that exist that do exactly what you want.

 

@Lex: Vanilla has IWorldAccess, but it is not cancelable.

 

I'm still looking for a solution to this. Is it possible for cancellation to be implemented in the existing hook? If not, I'd like to know the name of one of these mods that do what I've been trying to do.

Link to comment
Share on other sites

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.