VRobot - Visually Programmable Robots
VRobot is a unique mod that allows you to create and program specialized robots for resource gathering and construction. Programming is done through a visual development environment provided by the Visibilis API.Requirement for operation: To use VRobot, you must install the Visibilis mod.
Features and Capabilities
Resource Gathering Robots
- Use tools for resource collection, accounting for all their features
- Effectiveness depends on enchantments (such as silk touch)
- Compatible with mod tools (like hammers from TiC!)
- Require energy to operate (any furnace fuel can be used - IN DEVELOPMENT)
- Cannot pass through walls (FUNCTIONALITY BEING IMPROVED)
Construction Robots (IN DEVELOPMENT)
- Have the ability to pass through walls
- Can place various blocks
- Also require energy - IN DEVELOPMENT
Programming Principles
Robot States
The robot can be in one of two states:
- Idle mode - the robot is inactive, waiting for activation by a player, redstone signal, or other external factors
- Working mode - the robot performs programmed actions until stopped or interrupted
Switching between states is done through special commands:
- "start" or "continue" commands switch to working mode
- "pause" or "end" commands return to idle mode
Execution Cycle
The robot operates according to the following scheme:
- Visual code is executed (Tick node)
- All queued robot actions are processed
- The process repeats
Special feature: during initial startup, the Initialize node is called instead of the Tick node - it triggers only once when the robot is activated, but not when work is resumed.
Programming Strategies
Basic strategy using only the Initialize node: development of simple, predictable scenarios where all actions are added to the queue once during initialization and executed sequentially.
Advanced strategy using the Tick node: allows creation of more complex programs with the ability to dynamically change behavior and use the Immediate function.
Programming Node Types
Immediate (instant actions)
- Executed immediately without energy cost
- Take no execution time
- Processed at the time of code compilation
Robot Actions
- Added to the robot's execution queue
- Require energy consumption
- Have a certain execution duration (depends on action type and external conditions)
- Executed strictly sequentially
Other Nodes
Additional nodes for performing auxiliary operations: calculations, variable work, and other utility functions used in combination with Immediate or Robot Actions.
The modification is in active development and testing. Advanced users can obtain a robot using the chat command:
/give @p vrobot:robot