Coder Social home page Coder Social logo

thebeems / pxt-worldbuilder Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 3.0 490 KB

Script to make building inside Minecraft:Education Edition a little easier. Inspired by, and similar as WorldEdit for Minecraft.

License: MIT License

TypeScript 99.88% PowerShell 0.12%
minecraft-education-edition makecode-programming typescript minecraft worldedit

pxt-worldbuilder's Introduction

pxt-worldBuilder

Makes building inside Minecraft:Education Edition a little easier.

  • Make a builder's life easier by speeding up the buildprocess with more than 90%!
  • Easily create geometric shapes like spheres, ellipsiods, pyramids, cylinders and walls.
  • Also supports copy/paste and editing excisting blocks.
  • Supports Minecraft Education Edition 1.14.50 or higher.

Installation

Method 1 (release-version)

  • Download the worldBuilder-<version>.mkcd file from the releases here on GitHub and save on your computer.
  • Press C on your keyboard while inside Minecraft Education Editition to open the MakeCode Editor.
  • Click on the import button and choose for File import... (currently importing from a GitHub-repo is disabled in 1.14.50)
  • Choose the worldBuilder-<version>.mkcd file that you saved earlier and press the green button.
  • You will see all the code. Finally press the run icon (the big green playbutton), to activate the script.

Method 2 (beta-version)

  • Copy all the code from main.ts.
  • Press C on your keyboard while inside Minecraft Education Editition to open the MakeCode Editor.
  • Make a new project and set it to javascript only.
  • Paste all the code that you copied earlier and press the run icon (the big green playbutton).

Usuage

Type help in the chat window (press T or enter on your keyboard). More details on how to use this script will be added in the future.

pxt-worldbuilder's People

Contributors

thebeems avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pxt-worldbuilder's Issues

Fill / replace

Is there a way to replace blocks, say sand to stone in the marked area?

Issue with fill command

Hi there @TheBeems!

I have been doing a project for school where I need to build a hub kind of thing and I wanted to speed up the process by using your Github repository. When I managed to get it into Minecraft education everything ran fine but when I start to type "fill" [Whatever Block] it just cuts the air leaving nothing in place. It might just be me not understanding but I have typed it multiple times and nothing has changed whatsoever other than that, I find it really cool that you made this! I would appreciate it if you could find my problem since this is kind of a big project I'm working on at school.

Best Wishes,
@Darkshipreturn

Request for help with using extension

Hello,

Sorry for bothering, but I gave up after long search around topic of extensions for Minecraft: Education Edition.

I would ask how can I actually build an extension like yours and use it into Minecraft: Education Edition?

I am not able to build it using npm package pxt- (i tried with core and microbit). It seems that ptx repository for Minecraft is private right now and not published by Microsoft.

I noticed that official microsoft extensions like https://github.com/microsoft/pxt-minecraft-HOC2019 can be imported as extension (simply url to github allows for import), but it didn't work for your repo.

Sorry for asking you about stuff, which should be documented somewhere else, but i will appreciate any help. It would be great to extend easily minecraft makecode API for students.

Being able to increase or decrease wall height

When using the command wall <height> to create a wall, subsequent wall commands should increase or decrease the height of the wall.

So for example wall 5 creates a wall with an height of 5. When typing the command wall 4, it should lower the wall with 1 block.

Current behaviour is that the wall of height 4 is created inside the wall of height 5. So if the same building block is being used, you don't see any difference.

Feature request: command to make stairs

A command to make stairs easily and fast ingame. For example:

stairs <num> <orientation>

<num> is the amount of stairs to make, or height if you will.
<orientation> is N, S, E, W for compass-headings.

More documentation

Some documentation would be welcome to explain what this code is doing inside Minecraft Education Edition and how to use it to decrease building time by 90% or more.

Also expand the help function inside the game for more commands and examples on how to use them.

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.