Jump to content

Recommended Posts

Posted (edited)

Hi. Can someone give me an example of a block code that drops an item into a hopper or on the Ground every 30 seconds? Thanks in advance.

Edited by its_queitw
Edited version
Posted

1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.

  • Like 1

It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".

Posted

Hard to believe someone actually updated, great! I'd start with looking at how the vanilla hopper and dropper classes worked then maybe write an int that I would increment once per tick and write to NBT, then check if n % 600 == 0.

It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".

Posted
  On 6/11/2020 at 4:12 PM, its_queitw said:

which is why I would like to look at the examples

Expand  

I gave you 2 good examples, the vanilla dropper and hopper classes.

It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".

Posted (edited)

Do you know how to code? If not, please learn Java first, as this forum does not provide copy-pasta code (we prefer you to learn how it works rather than copying and pasting other's work without learning anything).

Show what you have tried.

Edited by DavidM

Some tips:

  Reveal hidden contents

 

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.