- Lua 99.3%
- Shell 0.7%
Codihacks
This is a collection of oddball changes and features for Mineclonia. Most are not suitable for upstream inclusion.
Here is a list of things included.
- Concrete textures are darker versions of powdered concrete. This image shows the powder on top of the blocks. Shiny!
- Anvils never break
- Tool Master enchantment for bulk tool action
- Lava Walker enchantment for easier Nether navigation
- Graveyard for villages. (No job site)
- Apiarist (Bee farmer job)
- Bee Farm for villages.
- Copper, player only, pressure plate
- Books are fuel
- Get leather back from saddles
- Get blocks back from gold and iron stairs
- Get ingots back from horse armor
- Stack horse armor
- Stack potions
- Compost cooked and raw fish
- Emerald ore generates in slightly more layers
- Get pink dye from cherry blossom petals
- Automatically name and waypoint villages
- Automatically name villagers
- An OP building for an entire village
- Lapis ore generation updated to more closely match modern MC. It now also generates between -63 to -94 (equivalent to -1 and -32 in MC), and a second pass is done between layers -126 and 2 (equivalent to -64 and 64 in MC). Probably needs some work on rarity.
- Recipe to make budding amethyst blocks
- Recipe to make wool from 4 string
- Stack compass
- Stack clock
- Golems attack creepers
- Recipe to convert quartz block back to quartz
- Dye can be used to recolor concrete blocks
- Dye can be used to recolor beds
- Milk buckets can be stacked
- Quartz blocks can be split
- Teleport pads can be added to villages, styled, and added to starter chests
- XP can be gathered from furnaces by shift+right clicking them
- Adds the Redstone lantern, a pulsing source of redstone power
- Allows using any enchanted bows and crossbows to craft dispensers.
- Allows burning enchanted fishing rods.
- Adds a bag that can capture mobs and release them somewhere else.
- Adds stairs and slabs for stripped wood and stripped bark.
Settings note
The wset chat command from World Settings is used to change per-world
settings. Changing a setting in one world will not affect any other worlds.
You can copy the world_settings.conf file between worlds, but you will need to
restart the destination world for it to have an affect. If you copy the config
between creating a new world and starting it, then the config will apply for the
entirety of the world's existance.
List of World Settings
| Setting | Description | Default |
|---|---|---|
| apiarist | Add Apiarist as a villager profession | true |
| bag_of_capture | Add a bag that can capture mobs | false |
| bee_farm | Add a bee farm that can spawn as part of village creation | true |
| clear_leaves | Clear leaves and vines directly above saplings when it grows | false |
| craft_buds | Allow crafting budding amethyst blocks | true |
| dyeable_beds | Dye can be used to recolor beds | true |
| furnace_xp_yoink | Allows taking XP from furnaces by using them while sneaking | false |
| dyeable_concrete | Dye can be used to recolor concrete blocks | true |
| golems_eat_creepers | Should iron golems attack creepers? | true |
| graveyard | Enable the graveyard in villages | true |
| milk_bucket_stack | Size milk buckets can stack to | 1 |
| more_lapis | Make Lapis ore generation closer to MC 1.17/1.18+ | true |
| name_villagers | Enable automatically naming villagers who spawn as part of village creation | true |
| name_villages | Enable automatically naming and creating waypoints for villages | true |
| redstone_lantern | Enable the Redstone lantern, which acts as a redstone clock | true |
| stripped_stairs | Adds stairs and slabs for stripped and stripped bark woods | false |
| split_quartz | Enables splitting quartz blocks back in to 4 quartz | true |
| tpads_for_villages | Add a teleport pad to the bell tower in villages. Only adds them to new villages | false |
| tpads_restyle | Use the nether portal texture for teleport pads | false |
| tpads_starter | Adds some teleport pads to the starter chest | false |
| village_discovery_distance | Distance away from village waypoint for it to be detected | 60 |
| village_in_a_box | Enable the village in a box building | false |
| village_waypoint_distance | Distance away from village waypoint for it to be shown in hud | 180 |
Dependencies
You will need all of these to use this mod.
- Mineclonia Install the game first :)
- World Settings Install from ContentDB.
Optional
Some features of this mod require these other mods.
- Named Waypoints Install from ContentDB. Used for naming villages and for player's homes.
- Name Generator Install from ContentDB. Used for naming villagers and villages.
- Teleport Pads Install from ContentDB. Used for adding teleport pads to villages, starter chests, and player homes.
- Flow Install from ContentDB. Used for Redstone Lantern UI.
- Prestibags Install from ContentDB. Used for Bag of Capture.
- mcl_fireflies Install from git. Used for Bag of Capture.
Jobs
Apiarist
A Farmer who uses beehives as their job site.
This requires Mineclonia 0.118.0 or newer.
Trades
Novice
- 1 emerald for 3 glass bottles
- 10 of any flower for 1 emerald
Apprentice
- 2 honey bottles for 1 emerald
- 1 campfire for 1 emerald
- 1 emerald for 3 honeycomb
Journeyman
- 1 emerald for 2 honey bottles
- 1 beehive for 5 emeralds
Expert
- 5 emeralds for 1 honeycomb block
Master
- 2 emeralds for 1 honey block
- 6 emeralds for 1 beehive
Enchantments
Tool Master
This enchantment can be applied to any tool. This allows the tool to do it's action over an area instead of a single block. It has 3 levels of enchantment.
You can now till a whole field or shear a flock of sheep with one swing, or mine large areas with a few swings!
By default this enchantment is not active, so the normal click to activate triggers the normal behavior. To get the enchanted effect you need to sneak and click. This was done to prevent accidentally destroying things.
WARNING: When activating this enchantment the tool will be subject to normal wear. If you dig 6 nodes then the tool will suffer 6 nodes worth of wear. You can vey quickly destroy tools using this enchantment!
The area affected is:
- For level 1 a 3x3x3 area.
- For level 2 a 5x5x5 area.
- For level 3 a 7x7x7 area.
For a hoe the area is:
- 5x2x3
- 7x2x6
- 9x2x9
The area is calculated in front of the player, with the node struck as the central Y coordinate. To make a tunnel using a level 1 enchantment, you would hit the head high node in front of you. This will create a cube that goes one node left and right of the player, one node above the players head down to ground level, and 3 nodes deep in front of the player.
If you struck at foot height you would get a descending tunnel.
Drops triggered by tool master are deposited directly in the player's inventory where possible, and experience is applied directly to the player. Drops that can't be placed in the player's inventory are drop at the players position.
The enchantment has restrictions on what it can affect based on the tool it is applied to.
- Pickaxes only affect blocks with the
pickaxeygroup. - Axes only affect blocks with the
treegroup. - Shovels only affect blocks with the
shovelygroup. - Hoes only affect blocks with the
hoeyandplantgroups.- When using a tool master hoe to harvest areas the crops will be automatically replanted if you have the "seed" of the plants in your inventory.
- Shears only affect
mobs_mc:sheepand blocks with theshearsyandshearsy_woolgroups.
This image shows the before and after of tilling with a tool master 3 hoe; shift + right click to a single node..
This image shows the before and after of harvesting with a tool master 3 hoe; shift + left click to a single node.
Lava Walker
This is a 2 level enchantment to convert lava to cobblestone when you walk on it.
Be very careful of lag :D
Level 1 covers a 3x3 area, level 2 a 5x5 area, in front of the player.
NOTE: This enchantment has a good chance of breaking lava farms and the like. It may be wise to place it on a seconds set of boots that you only wear when you want to use it.
Buildings
These will be added to villages if they are enabled.
-
"Village in a box" This is a building with a bell, every core job site, and enough beds for villagers to fill them. This will not be available unless you enable it using the
/wset mcla_codihacks.village_in_a_box truechat command. -
Graveyard that contains a few buried chests and a zombie spawner. Original schema from https://codeberg.org/cora/mcl_extra_structures. This is enabled by default but can be disabled by running
/wset mcla_codihacks.graveyard false. -
Bee farm, with one or two bee hives that act as job sites and a selection of flowers.s
In MCLA 0.118.0+ there are 3 variations of this building. One for plains plains & savannah, one for snowy & taiga, and one for desert. For older Mineclonia versions the plains version is used for all village styles.
Plains & savanna Screenshot of plains bee farm
Snowy & Taiga Screenshot of plains bee farm
Desert Screenshot of plains bee farm
Naming Villages and Villagers
-
Automatically name and waypoint villages. This uses the
mingos townslist from Named Waypoints. This is enabled by default but can be disabled by running/wset mcla_codihacks.name_villages false. -
Automatically name villagers who spawn as part of village creation. This uses the male and female dwarf, elf, gnome, halfling and human lists from Name Generator. This is enabled by default but can be disabled by running
/wset mcla_codihacks.name_villagers false. -
Distance away from village waypoint for it to be discovered. This defaults to 60 and can be changed by running
/wset mcla_codihacks.village_discovery_distance 90where '90' is the distance you want to record discovery of the waypoint from. -
Distance away from village waypoint for it to be shown in hud. This defaults to 180 and can be changed per world by running
/wset mcla_codihacks.village_waypoint_distance 190where '190' is the distance you want to see the label from.
Chat Commands
biome_test_building
This chat command will place a building once for each biome, creating a ground turnip for the biome and replace all the blocks for the biome.
This makes it easy to see how the building will look in each biome.
/biome_test_building <building>
Where "building" is the name of the building as registered in mcl_villages.register_building.
e.g.
/biome_test_building house_small produces this:
Screenshot of running /biome_test_building house_small
place_all_things
This chat command places all village schematics in a grid in front of the player.
This useful if you want to compare or work on all schematics at once.
The schematics will be placed on the player's current Y level regardless of anything else in the area. e.g. you can do this in a large air area and not have other blocks interfering with them.
TODO
- Need a texture for apiarist.