Giter Site home page Giter Site logo

vaporrrr / bteenhanced Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 89 KB

Addon to WorldEdit which provides features for the purpose of making building faster.

License: GNU General Public License v3.0

Java 100.00%
minecraft buildtheearth minecraft-plugin papermc spigot

bteenhanced's Introduction

BTEEnhanced (1.12.2) ๐Ÿ

Bukkit plugin created for the BuildtheEarth project to make creating custom forests easier. Uses Bridson's algorithm for poisson disk sampling (randomly picking packed points to place trees at).

Commands:

/wood {schematic(s)} [!]{block ID(s)} [flags: -includeAir,-dontRotate,-r:x] *(Aliases: //wood, //w)* More info in "How to use /wood"
/treebrush {type} [size] [thickness] *(Aliases: /tbr, //tbr, /treebr)* Easy to use brush specifically for trees on top of //schbr ([Schematic Brush Plugin](https://github.com/mikeprimm/SchematicBrush)). Ex: /tbr oak M thin
/bteenhanced-reload Reload config
//dell [num] *(Aliases: /dellast, /dell, //dellast)* Deletes the last `[num]` amount of points in the selection. (Currently only supports poly2d selections) If `[num]` is not specified it will delete the last point.
//delp {num} *(Aliases: /delpoint, /delp, //delpoint)* Deletes the `{num}`'th point in the selection. (Currently only supports poly2d selections)

Permissions: Look here

Config: Look here

Dependencies:

  • WorldEdit

How to use /wood

First make a region selection, all selections such as cuboid, poly, and convex work. This plugin saves edit sessions from /wood to the player's local session, so players can use WorldEdit's //undo and //redo. This means players will need to have the WorldEdit permissions for //undo and //redo

{schematic(s)} is the path of a schematic file or a folder containing schematics. (From the WorldEdit schematics folder) Adding a * after the file separator will randomize the schematics from that folder (and sub folders).

[!]{block ID(s)} are the blocks you want trees to be placed above. If you add a "!" at the start it uses all blocks except the ones you mention.

Flags

All are optional

-includeAir Equivalent of not adding -a when pasting with WorldEdit. (By default command ignores air blocks)
-dontRotate Disables the random rotation (90 degree increments) of schematics.
-r:x Overrides the automatically created default radius. Radius being the minimum spacing between trees. The radius by default is calculated by averaging the width or height (whichever is larger), and dividing by 2. An example of the flag being used is -r:10

Examples

These schematic paths are for trees from the BTE tree pack.

/wood trees/oak/M/* 2,251:0 Uses all schematics in `plugins/WorldEdit/trees/oak/M/`, including subdirectories. 2 is the block ID for grass blocks, and 251:0 is the block ID for white concrete, meaning trees will only be placed above grass and white concrete.
/wood trees/snow/* 4 Uses all schematics in `plugins/WorldEdit/trees/snow/`, including subdirectories. In this case since the BTE tree pack has S,M,L snow trees, it will use all three sizes. 4 is the block data for planks, but since there are blocks that have the same block data of 4 (4 in 4:2 for ex.), and different IDs (2 of 4:2 for ex.), not including a ":" when typing "4" will include all blocks with data 4. Oak planks, jungle planks, etc.
/wood trees/snow/S/Pine_Snowy_Small !35:5 -dontRotate -r:6 Uses only the Pine_Snowy_Small.schematic. Trees are pasted above all blocks except 35:5, which is green wool. `-dontRotate` prevents a random rotation from being applied to each tree. `-r:6` overrides the radius to 6.

bteenhanced's People

Contributors

dependabot[bot] avatar yyrichy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dixiecyanide

bteenhanced's Issues

Multiple block mask

Currently you can only mask one block ID, it would be better to be able to specify multiple: 35:5,251,2

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.