Jump to content

Recommended Posts

Posted

Override Block#onBlockActivated.

Some tips:

  Reveal hidden contents

 

Posted

i use intellij and juse ctrl-o shortcut to see all overridable methods and on block activated isnt in the list and if i look in the block class there is no method on block activated

 

image.png.e5f18cb79ee4ba488ba50a35ab8d8687.pngimage.png.0a7ce3f06224770ed3b26548fd4a2c71.png

Posted (edited)

The mapping name may have changed in newer versions (haven’t checked).

What version of Minecraft are you working with?

Edited by DavidM

Some tips:

  Reveal hidden contents

 

Posted

If you're on a version older than 1.14 you'll have to completely redownload the MDK and replace your gradle files.

If you're on 1.14/1.15 simply change the minecraft version in the dependencies section at the bottom of your build.gradle.

I'm eager to learn and am prone to mistakes. Don't hesitate to tell me how I can improve.

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.