Jump to content

Experienced Programmer, Not Modding Though. Looking for Help


MrSamuelB

Recommended Posts

Hello,

 

So I haven't played PC Minecraft in about 3 or 4 years. Back in the day, I used to make all types of bukkit plugins and I was decently good at it too. I am playing on a survival world and I just want to add a simple mod that changes/adds drops to certain events. So for example I would want something like: 

number == rand(100);
gapple = minecrat.golden_apple();

onLeafDecayEvent event onLeafDecay(){
  if (rand>99) {
    
  loc = event.getBlock().getLocation().drop(gapple);
    
  }
}

Some of that might not be exactly perfect. It's been a while since I've coded anything but that basically the main thing I'm looking for. Any help would be much appreciated. Thanks!

 

 

EDIT: Looking for 1.14.3 help by the way

Edited by MrSamuelB
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.