VRobot

Quick rating

Community listing page, reviews here may not be monitored by the author.

VRobot

No reviews yet

Visually Programmable Mining and Building Robots.

Tech
Energy & Resource Systems
Mod Loaders
Forge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
vrobot-1.15.2-0.4.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

About

Description

Make sure you install the following as well (version 1.15.2-1.8):

Visibilis is required to run this mod.

 

This mod is very WIP and only published for testing and to help me improve it and get ideas.

Get a robot by typing:

/give @p vrobot:robot

About

VRobot allows you to progrmm either harvesting robots or building robots. Both types of robots are programmed using a visual programming language provided by the mod API Visibilis.

Harvesting Robots

  • - Can not go through walls (TODO)
  • - Use tools to harvest; affected by enchantments (like silk touch) and other tool features (TiC hammers!)
  • - Require energy (any furnace fuel also works) (TODO)

 

Building Robots (TODO)

  • - Can go through walls
  • - Can place blocks
  • - Require energy (any furnace fuel also works) (TODO)

 

Visual Coding - How everything works

Lets talk about how it works.

 

Robot + Code

The robot can be either Idle or Working. By calling "start" or "continue" (nodes; or you click the buttons) you make the robot go into the Working state. By calling "pause" or "end" you make the robot go into the Idle state.

 

Idle State

The robot does nothing here. It waits for a player to activate it via button click or (if programmed that way) it waits for a redstone signal or possibly other factors it can react to (TODO).

 

Working State

The robot continues to work until interrupted or told to pause/stop. This happens manually or when a node is called. The robot might also stop if the robot is interrupted in doing something or can not execute a certain robot action (eg. it wants to go forward but there is a block) (TODO).

 

Code Execution Details

Generally, the robot always follows the following principle:

  • - Run the visual code (Tick node)
  • - Work down all queued robot actions
  • - Repeat

On the initial start, however, the Initialize node is called (this is done only once; only when the robot is started, NOT when it is continued), instead of the Tick node. These 2 mentioned nodes are event nodes; they are the beginning of your code. They get called from outside your coding frame and from that point on you can decide what it called next.

 

You can programm your robot using only the Initialize node

I already mentioned that the robot just works down all robot actions. So you can just queue all actions you want in the Initialize phase and not use the Tick phase at all. Eg. you tell the robot to Harvest Front and then to Move Forward, and now to repeat this 10 times. The robot does all of that and then nothing anymore, as the Initialize node is only called once. The advantage is simplicity and predictability, the disadvantage is that you do not have access to Immediates. The more advanced strategy is to programm everything in the Tick phase. This gets called every time the robot has worked down the robot action queue. This now also allows you to use Immediates.

 

Node Types

There are 2 types of nodes that are used by the robot: Immediates and Robot Actions. There is also Other node types which do not fall under the first 2 categories:

 

Immediates

  • - Do not cost energy
  • - Execute immediately on code execution
  • - Finish immediately (0 time)

 

Robot Actions

  • - Cost energy
  • - Buffered in the robot (in a queue); get executed 1 by 1 after code execution is done
  • - Take time to finish (depending on action and other factors eg. harvesting depends on tool and block)

 

Example: Possible Errors or Immediates

Lets say you call the following code on the Initialize node: 4x Forward (Robot Action), 1x Export Items (Immediate) This would actually do the reverse, it would first execute the Export Items node, and only then move Foward 4 times.

 

Other

These can be anything, from simple calculations to variable saving. These are generally just helper nodes to calculate or do something needed for Immediates or Robot Actions.

Screenshots

Gallery

  • Simple Mining Strip
    Simple Mining Strip Creates a 1x2 Mining Strip. Just moves forward and harvests everything. Change the "30" on the left, thats how far it goes.
  • Excavation Program Test
    Excavation Program Test
  • Excavation Program
    Excavation Program Excavates a customizable area. Simple set size and height on the left. Throws out all excess items. Uses tool in the top left slot. Make the size an even number.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works