Git Product home page Git Product logo

resourceregions's Introduction

ResourceRegions

Regional texture-switching

Region

  • name: the name of the region
  • packUrl: the url to the region's resourcepack
  • weight: the 'weight' (see below) that the region holds
  • n: the number of (x, z) points to make up the region
  • xpoints: an array of x co-ordinates
  • zpoints: an array of z co-ordinates

Weight
Weights determine which region's pack will be applied when
the user is between two or more overlapping regions.

Region Commands

/resourceregions or /rr - prints available region commands
'resourceregions.region' - permission node for the /rr command

  • /rr create - create a new region with the given name
  • /rr url <http://url_to_pack.zip> - set the selected region's pack url
  • /rr weight <#weightValue> - set the selected region's weight
  • /rr bounds - set your current worldedit selection as the selected region's bounds
  • /rr save - save the changes to the selected region
  • /rr load <regionName> - load an existing region to edit
  • /rr reload - reload regions from disk - must be done to see edits made to any regions

Step-by-step - Create

  1. /rr create myAwesomeNewRegion
  2. /rr url http://herp.a/derp.zip
  3. /rr weight 3
  4. /rr bounds
  5. /rr save
  6. /rr reload

Step-by-step - Edit

  1. /rr load existingRegion
  2. /rr url http://a.new/url.zip, /rr weight 5, etc...
  3. /rr save
  4. /rr reload

resourceregions's People

Contributors

dagswell avatar erioleandur avatar

Watchers

James Cloos avatar  avatar

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.