Giter VIP home page Giter VIP logo

woodedit-for-minecraftpe's Introduction

WoodEdit-for-MinecraftPE

Extension script for fast and commandless world edit in Minecraft Pocket Edition (requires BlockLaucher)

Introduction

This script is inspired by Worldedit PE (Android) script for BlockLauncher (http://mcpedl.com/worldedit-pe/). Despite Worldedit has many helpfull features, it is based on entering text commands, wich is quite uncomfortable when you play Minecraft on phones or tablets.

Instead of using text commands, this script is based on using wooden tools:

Stick - for selecting cuboids

Wooden Shovel - for copying selected cuboid into new place
Wooden Hoe - for move selected cuboid into new place
Wooden Axe - for rotate selected cuboid around one of three axis
Fishing Rod - for replace certain block to another inside selected cuboid

Wooden Sword - for clear selected cuboid (fill with Air)
Wooden Pickaxe - for fill selected cuboid by certaind block

There are also three text commands implemented:

/undo - for undo last wooden tool operation
/save [filename] - for save selected cuboid into local file
/load [filename] - for load local file data into clipboard for further copy / rotate operations
/replace [fromId] [toId] - for replace all certain blocks type in selected cuboid to another

Tool reference

Stick

Stick is used for incremental selecting cuboid. Each time when You tap certain block with stick, this block extends existing selection. Long press with the stick on the block resets the selection (pressed block becomes first selected block). All works like this:

  • tap on first block - this block becomes a start of selection (this defines starting point - important for other wooden tools operations!), message "1st" appears on the screen
  • tap on the second block - second block extends the selection - script construct a cuboid, wich oposite corners are at selected block locations. Message "2nd" appears on then screen
  • if You want / need to - tap on the third block. Script adds this block to the selection by extend cuboid - it finds smallest one, that containt all three selected blocks. Message "3rd" appears on the screen
  • and so on, and so on...

After each tap - selected cuboid is copied to the clipboard for further copy / move / rotate operations

Wooden Shovel

Places a cuboid from clipboard into the world (copy operation). To place cuboid, simply tap with shovel on some block. Tapped block becomes destination location - cuboid is placed into world a way, that starting point of selected cuboid replaces tapped block. Rest of the cuboid is placed respectively.

By carefully decide which block is tapped by stick to begin selection (creating starting point) and which block is tapped by shovel, You can precisly control, where You'r cuboid should be pasted.

Wooden Hoe

Places a cuboid from clipboard into the world and clears the original location (move operation). All rest is like working with wooden shovel.

Wooden Axe

Rotates a selected cuboid around one of three axis. Short tap rotates cuboid clockwise, long press rotates cuboid counter clockwise. Rotation is always done around starting point of selection done with Wooden Stick.

To determine one of three axis aroud of which rotation will occur, script analizes virtual line between player position and starting point of selection. Then closest axis to this line is selected.

Fishing Rod

Used for replace all blocks of certain type with another (in selected cuboid). First tap with wooden fishing rod on one of the block to replace (this defines type of the block to be replaced). Then tap on some block of destinatin type (this defines type of block, which will replace all selected blocks in first step)

Wooden Sword

Used to clear selected cuboid, but works independend of the Stick selection! First two taps on the two blocks with the wooden sword creates a selection to clear - script construct a cuboid, wich oposite corners are at selected block locations. Third tap clears the selection.

Long press with the wooden sword on the block resets the selection (pressed block becomes first selected block).

Can be used to fast, three-tap remove of walls, ceilings, floors, whole large cuboid regions etc.

Wooden Pickaxe

Used to clear selected cuboid, but works independend of the Stick selection! First two taps on the two blocks with the wooden pickaxe creates a selection to fill - script construct a cuboid, wich oposite corners are at selected block locations. Third tap on the certain block defines a block type, wich will fill selected cuboid.

Long press with the wooden pickaxe on the block resets the selection (pressed block becomes first selected block).

Can be used to fast, three-tap construct of walls, ceilings, floors, whole large cuboid regions etc.

Predefined commands

/undo

Undoes last wooden tool operation results. This is only one level undo!

/save [filename]

Saves selected cuboid stored in clipboard to the file on the local storage. If file with this name already exists, it is overwritten.

/load [filename]

Loads cuboid stored in file into the clipboard for further operations (like copy (Wooden Shovel), move (Wooden Hoe) or rotate (Wooden Axe))

/replace [fromId] [toId]

Replaces all blocks of certain Id (determined by [fromId] parameter) to another type of block ([toId] parameter) in selected cuboid. For example: "/replace 1 2" replaces all stone blocks to grass blocks. Minecraft block id list can be found here: https://minecraft-ids.grahamedgecombe.com/

Other informations

Remember:

  • Changing tool between Stick, Wooden Sword or Wooden Pickaxe always clears Your selection!
  • Unlike a Stick, Wooden Sword and Wooden Pickaxe works like simple, two-point selection tools. Third tap with this tools always executes desired action!

woodedit-for-minecraftpe's People

Contributors

jakubynku avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

345rrrrrrrrrr

woodedit-for-minecraftpe's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.