Is there any filter to select surface shapes or any way to preserve the map surface before pasting any thing on it?
I need, to select the surface "covering" everything or blocking it from edition n' then paste something on the map without changing any existing block... in this case the content added to the map should be cut to the map shape instead of erasing the map surface.
Is there any filter to select surface shapes or any way to preserve the map surface before pasting any thing on it?
I need, to select the surface "covering" everything or blocking it from edition n' then paste something on the map without changing any existing block... in this case the content added to the map should be cut to the map shape instead of erasing the map surface.
First - I don't know how to do this easily with a filter because only one selection box is available to 'perform()', but if you don't mind finding coordinates using 'G' and typing them in to specify the target area I have a 'replaceBlockIfEmpty()' function in my scripts that would do the job.
Without filters you can always blit away the surface with 'copy' before pasting your object, then place the surface back as a paste.You just need to position it carefully where it was.
Is there a filter that makes it so sand/gravel cannot be updated or atleast allows it to float? Making a desert style map with sand dunes and i was wondering if that could be possible?
Is there a filter that makes it so sand/gravel cannot be updated or atleast allows it to float? Making a desert style map with sand dunes and i was wondering if that could be possible?
also wondering if there were any easy to use sand dune filters out there or and pyramid filters out there..
Is there a filter that makes it so sand/gravel cannot be updated or atleast allows it to float? Making a desert style map with sand dunes and i was wondering if that could be possible?
I made a filter that generates dunes in your selection box of any material you like. They are solid so don't fall.
I need it hollow so people are able to walk in and out of to find chests ect. If you don't want to do it, its ok Just wondering if you could it'd help alot!
I need it hollow so people are able to walk in and out of to find chests ect. If you don't want to do it, its ok Just wondering if you could it'd help alot!
In MCEdit you can hollow a dune without the sand falling, then place a layer of material as the roof in your hollow section. You can then copy/paste the dune around your map. You don't need a generator filter to achieve this I think.
To 'hollow' an area - select and tap 'DEL'
To place a layer of sandstone - select to the right size and use the FILL tool.
To copy the dune - select with the SELECT tool and click copy or use standard CTRL+C key sequence.
First - I don't know how to do this easily with a filter because only one selection box is available to 'perform()', but if you don't mind finding coordinates using 'G' and typing them in to specify the target area I have a 'replaceBlockIfEmpty()' function in my scripts that would do the job.
Without filters you can always blit away the surface with 'copy' before pasting your object, then place the surface back as a paste.You just need to position it carefully where it was.
Mountain Generator
This is my first stab at making a mountain/hill type terrain generator. It's quite customizable, it can create pretty much anything from plains to mountains in a selected area, although it currently won't have any trees or grass or that kind of stuff on it.
A brief explanation of all the options is in the python file.
Terrain generation is based on Perlin noise. How it generates is also dependant on the position of the selection box (where on the x & z axis it is located) but not by its height.
I made a MCEdit filter, based on SethBling's CreateShops, that will allow you to take a chest (just for MCEdit to have a reference point), and turn it into a villager that will repair any durability-based item, as of 1.4.6! I call it: Create Repair Shop.
Options are:
Villager Type (Skin of Villager)
Add Unusable Trade
Unlimited Trades
Invincible Villager
Use tool material to repair (Overrides the last and second-to-last options)
Amount of Repair Material
Repair Material Data Value
Repair Material Damage Value
Defaults (Tool Material):
Wooden: Wood
Leather: Leather
Stone: Cobblestone
Chain: Iron Ore (A reference to my WIP mod, DuhCraft, which adds or changes a lot of crafting/furnace recipes)
Iron: Iron Ingot
Gold: Gold Ingot
Diamond: Diamond
Other: Redstone
I'll update this filter every time a new tool, or other durability-based item comes out.
New filter! This one is based off ColorArmor and modifyitemstrings, both by SethBling. It allows you to make armor for a team, with the name being "Teamname's Armor" the name color being decided by you, (default text color in Minecraft is white), and the armor color being the text color. Great for Capture the Flag maps!
Options:
Team name
Color (of the armor and text)
This filter will only affect leather armor, and no other items in the chest.
I realised that there are a certain type of filter that just create blocks in the world, and you can see how it is done in Sethbling's script. It is the "setBlock" function.
Once you know you can create a block anywhere in the map, you can start looking at x,y,z positions, and how to calculate them. If you come up with a function that creates new x,y,z each step of processing, like drawing a line or a circle, you can call setBlock for each x,y,z value and get a shape.
Most of the code just calculates co-ordinares and sets the block.
Then I took another look at Sethbling's rotation script to see that he also reads the type of block at certain x,y,z positions in the world and copies it. He used getBlock. Well, by this point I had a few ideas lines up waiting for this so I made some filters that picked up a block and put it somewhere else with a little change, like building the flat map into a cylinder: http://www.reddit.com/r/Minecraft/comments/1443ra/rama_i/
Once you can getBlock and setBlock you can automate copying, building, deleting, moving, stretching, twisting, dropping, lifting, and all sorts of fun stuff.
There are other filter types. Nicolpotent on this page has been using the special tag syntax that Minecraft uses to set up the game for adventure maps, with custom trades. jsa has some neat algorithms too on this thread. I recall others earlier in the thread but I lose my post if I navigate away. have a look. Further away, on YouTube, texelelf has a superb filter for playing with entities, InHaze has a sensational rotation filter that works on selection boxes and includes some great features.
I am happy to answer any questions about my filters, though they may not stand up to a lot of scrutiny since I haven't packaged them properly nor removed comments and debug info. Let me know if you need more help.
I'm sorry, i've tried and tried, but I must keep missing it. I saw a "noise" option for the brush tool in a video and I want it... Can anyone point me in the right direction?
I realised that there are a certain type of filter that just create blocks in the world, and you can see how it is done in Sethbling's script. It is the "setBlock" function.
Once you know you can create a block anywhere in the map, you can start looking at x,y,z positions, and how to calculate them. If you come up with a function that creates new x,y,z each step of processing, like drawing a line or a circle, you can call setBlock for each x,y,z value and get a shape.
Once I played about with this for a while, I made this filter that does all sorts of shapes: http://www.planetmin...-mcedit-script/ . People from Reddit in the Math sub gave me heaps of ideas.
Most of the code just calculates co-ordinares and sets the block.
Then I took another look at Sethbling's rotation script to see that he also reads the type of block at certain x,y,z positions in the world and copies it. He used getBlock. Well, by this point I had a few ideas lines up waiting for this so I made some filters that picked up a block and put it somewhere else with a little change, like building the flat map into a cylinder: http://www.reddit.co.../1443ra/rama_i/
Once you can getBlock and setBlock you can automate copying, building, deleting, moving, stretching, twisting, dropping, lifting, and all sorts of fun stuff.
There are other filter types. Nicolpotent on this page has been using the special tag syntax that Minecraft uses to set up the game for adventure maps, with custom trades. jsa has some neat algorithms too on this thread. I recall others earlier in the thread but I lose my post if I navigate away. have a look. Further away, on YouTube, texelelf has a superb filter for playing with entities, InHaze has a sensational rotation filter that works on selection boxes and includes some great features.
I am happy to answer any questions about my filters, though they may not stand up to a lot of scrutiny since I haven't packaged them properly nor removed comments and debug info. Let me know if you need more help.
I need, to select the surface "covering" everything or blocking it from edition n' then paste something on the map without changing any existing block... in this case the content added to the map should be cut to the map shape instead of erasing the map surface.
First - I don't know how to do this easily with a filter because only one selection box is available to 'perform()', but if you don't mind finding coordinates using 'G' and typing them in to specify the target area I have a 'replaceBlockIfEmpty()' function in my scripts that would do the job.
Without filters you can always blit away the surface with 'copy' before pasting your object, then place the surface back as a paste.You just need to position it carefully where it was.
I made a filter that generates dunes in your selection box of any material you like. They are solid so don't fall.
Filter linked off the album: http://imgur.com/a/Eq4hU
Can you explain why?
In MCEdit you can hollow a dune without the sand falling, then place a layer of material as the roof in your hollow section. You can then copy/paste the dune around your map. You don't need a generator filter to achieve this I think.
To 'hollow' an area - select and tap 'DEL'
To place a layer of sandstone - select to the right size and use the FILL tool.
To copy the dune - select with the SELECT tool and click copy or use standard CTRL+C key sequence.
Thanks! I'm gonna try it!
This is fantastic. Another forum that might benefit from your input is http://www.reddit.com/r/mcedit
Options are:
Villager Type (Skin of Villager)
Add Unusable Trade
Unlimited Trades
Invincible Villager
Use tool material to repair (Overrides the last and second-to-last options)
Amount of Repair Material
Repair Material Data Value
Repair Material Damage Value
Enjoy!
https://www.dropbox.com/s/d4thhmj58bskdgd/CreateRepairVillager.py
Defaults (Tool Material):
Wooden: Wood
Leather: Leather
Stone: Cobblestone
Chain: Iron Ore (A reference to my WIP mod, DuhCraft, which adds or changes a lot of crafting/furnace recipes)
Iron: Iron Ingot
Gold: Gold Ingot
Diamond: Diamond
Other: Redstone
I'll update this filter every time a new tool, or other durability-based item comes out.
Options:
Team name
Color (of the armor and text)
This filter will only affect leather armor, and no other items in the chest.
Enjoy!
https://www.dropbox.com/s/7i5jnd24ky607u8/teamarmor.py
If anyone finds a bug in any of my filters, please report. Or if you can think of an improvement!
Short tutorial and download link here: http://imgur.com/a/v3Jaw
Wow! I used this in my adventure map. This is a amazing filter! (And easier than building a castle myself, that's for sure.)
Well, I can't direct you to a tutorial, but I can tell you what things you should learn.
If you don't know python already, learn it. It is the language filters are written in, so you need to know at least the basics.
pymclevel is the module that mcedit uses. I've included links to it in the spoiler below. This will tell you what you need to know about the commands.
https://github.com/codewarrior0/pymclevel/blob/master/mclevel.py (Documentation)
https://github.com/mcedit/pymclevel (The whole thing (Huge, I know.))
There is a demo filter Codewarrior includes with MCEdit. It is in the filters/demo directory when you unzip MCEdit.
Here is how I got started.
Sethbling posted a script that rotates your selection around 360 degrees. You can take a look at it here: http://www.reddit.com/r/Minecraft/comments/12h7o1/i_made_an_mcedit_filter_that_automatically_turns/
I realised that there are a certain type of filter that just create blocks in the world, and you can see how it is done in Sethbling's script. It is the "setBlock" function.
Once you know you can create a block anywhere in the map, you can start looking at x,y,z positions, and how to calculate them. If you come up with a function that creates new x,y,z each step of processing, like drawing a line or a circle, you can call setBlock for each x,y,z value and get a shape.
Once I played about with this for a while, I made this filter that does all sorts of shapes: http://www.planetminecraft.com/project/surface-fxz-mcedit-script/ . People from Reddit in the Math sub gave me heaps of ideas.
Most of the code just calculates co-ordinares and sets the block.
Then I took another look at Sethbling's rotation script to see that he also reads the type of block at certain x,y,z positions in the world and copies it. He used getBlock. Well, by this point I had a few ideas lines up waiting for this so I made some filters that picked up a block and put it somewhere else with a little change, like building the flat map into a cylinder: http://www.reddit.com/r/Minecraft/comments/1443ra/rama_i/
Once you can getBlock and setBlock you can automate copying, building, deleting, moving, stretching, twisting, dropping, lifting, and all sorts of fun stuff.
There are other filter types. Nicolpotent on this page has been using the special tag syntax that Minecraft uses to set up the game for adventure maps, with custom trades. jsa has some neat algorithms too on this thread. I recall others earlier in the thread but I lose my post if I navigate away. have a look. Further away, on YouTube, texelelf has a superb filter for playing with entities, InHaze has a sensational rotation filter that works on selection boxes and includes some great features.
I am happy to answer any questions about my filters, though they may not stand up to a lot of scrutiny since I haven't packaged them properly nor removed comments and debug info. Let me know if you need more help.
Thanks! ill be sure to check that out later