Comprehensive Guide:Production: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
m (→‎Details: factories will stop running if no space left for output)
Line 24: Line 24:
* The crafting tables 'Select a recipe' GUI has two settings consistent across all factories. The 'Toggle auto select' setting, symbolized by a redstone block when turned on causes the factory to automatically select any recipe it has the ingredients to run whenever it is activated. Be careful as some factories create an output in one recipe and take it as input in another recipe meaning the two products cycle until charcoal runs out. The 'Open menu' setting symbolized by a painting opens a GUI equivalent to the <code>/fm [factory name]</code> command.
* The crafting tables 'Select a recipe' GUI has two settings consistent across all factories. The 'Toggle auto select' setting, symbolized by a redstone block when turned on causes the factory to automatically select any recipe it has the ingredients to run whenever it is activated. Be careful as some factories create an output in one recipe and take it as input in another recipe meaning the two products cycle until charcoal runs out. The 'Open menu' setting symbolized by a painting opens a GUI equivalent to the <code>/fm [factory name]</code> command.


* If the chest becomes full during a factory run, output has no free slots to be deposited to and will be wasted. {{efn|group=lower-alpha|This is a bug : https://github.com/CivClassic/FactoryMod/issues/25}}
* If the chest becomes full during a factory run, the factory will stop. <ref>https://github.com/CivClassic/FactoryMod/pull/13</ref> <ref>https://github.com/CivClassic/FactoryMod/pull/27</ref> The only exception might be printing presses which will continue to run and may waste materials in the process (Bug) <ref>https://github.com/CivClassic/FactoryMod/issues/25</ref>.

* Redstone that activated the factory furnace will cause the factory to run
* Redstone that activated the factory furnace will cause the factory to run



Revision as of 23:45, 27 July 2020

Mechanics that change how resources are found, produced and traded.

FactoryMod

Factorymod single image summary

Efficient production of items {source, config}

Factories produce items with a higher yield then vanilla crafting. Some items may only be produced with factories. There are many factory types, each containing distinct recipes.

Setup

Create a factory by placing a furnace, a crafting table and a chest (or trapped chest) side by side. Hitting a factory component with a stick in hand is used to interact with the factory.

  • The furnace is used to run the factory. Place charcoal in either or both furnace slots. Hit the furnace with a stick to toggle the factories activation.
  • The crafting table is used to select which factory recipe to run. Hit the crafting table with a stick to open the 'Select a recipe' GUI. Mouse over an item to see which recipe it corresponds to and the number of times it has been run. Left click an item to switch recipe.
  • The chest is where recipe inputs and outputs are deposited. The chest may be a double chest. Hit the chest with a stick to see the factory type and health.

Complete the factory setup by placing exactly the ingredients required for a desired factory in the chest. Use the commands /fm and /fm [factory name] to see all factories and their recipes.

Mechanics

Factories have health which degrades over several months[clarification needed]. When the health reaches zero only the repair factory recipe can be ran. This recipe is found in every factories 'Select a recipe' GUI and is symbolized by the furnace item. The cost to repair a factory ranges from 5 to 15% of setup cost[citation needed]. After 1000 days in a broken state the factory will break permanently and irreparably. If a component (furnace, crafting table and chest) or all components of the factory are physically broken they can be replaced in the same location and the factory can be recreated for half of the initial factory setup creation cost.

Details

  • The crafting tables 'Select a recipe' GUI has two settings consistent across all factories. The 'Toggle auto select' setting, symbolized by a redstone block when turned on causes the factory to automatically select any recipe it has the ingredients to run whenever it is activated. Be careful as some factories create an output in one recipe and take it as input in another recipe meaning the two products cycle until charcoal runs out. The 'Open menu' setting symbolized by a painting opens a GUI equivalent to the /fm [factory name] command.
  • If the chest becomes full during a factory run, the factory will stop. [1] [2] The only exception might be printing presses which will continue to run and may waste materials in the process (Bug) [3].
  • Redstone that activated the factory furnace will cause the factory to run

Special factories

Compactor

Compacted items look no different, yet their lore text can be found on mouse over
  • The compactor turns a stack of items and a crate (which is made in a carpentry factory) into one lored compacted item, making it useful for carrying resources. The compacted item stacks meaning a compacted stack can hold the square of said item stack size. For example, a compacted stack of stone (which stacks to 64) fits into one inventory slot yet contains 4096 stone. A compacted stack of ender pearls (which stacks to 16) fits into one inventory slot yet contains 256 ender pearls. The exception is items which do not stack, such as swords, as 8 of any unstackable item will compact into one. All compacted items must have the same NBT data, for example, you can only compact eight swords if each has same enchantment and enchantment order[citation needed].) Unlike compacted blocks, which cannot be placed, compacted tools armor, ender pearls and so on can be used as normal. Be warned this provides no advantage and waste resources (For example when you use a compacted sword and uncompact it the durability of each uncompacted sword equals the durability on the compacted input object effectively using durability 8 times faster). Selecting the 'Uncompact' recipe will return a full stack of items taking ingredient of 1 compacted item. Crates are not returned.

Cauldron factories

  • Experience cannot be gained through vanilla means and must be made in cauldron factories. These create XP from large amounts of crops. The advanced cauldron factory takes and returns compacted materials.

Printing press

  • A signed book can be turned into a printing plate. The printing plate can then be used in the following recipes : 'Print Book' which makes multiple book copies (without appending 'copy of'); 'Print Note' which makes a readable pamphlet from the first page of a book; 'Print Secure Note' which prints a note and appends the printing plates unique serial number.

Other

Additional factories with special outputs include the Bastion factory which creates lored bastion blocks (see : Bastion) A small number of factory recipes are in fact less efficient than vanilla. Smelt lapis into lapis blocks in ore smelter gives slightly less output than using fortune III on lapis ore (avg 13.5 vs 14.3).

OldEnchanting

Enchantment requires extensive infrastructure {source, config}

Acquiring Experience

Experience is not dropped by any vanilla means (mobs, ores, smelting). Instead it must be made using a Cauldron factory. Each has four recipes taking various farmable items as input. Upgraded cauldron factories provide more efficient conversions.

  • The only way to get XP is by crafting bottle o' enchanting by placing an emerald in a crafting grid.
  • Enchanting does not consume any Lapis Lazuli and works in a similar manner than the pre 1.8 enchanting system, taking the full amount of experience.
  • One bottle o' enchanting will always give 10 XP points. This means that a level 30 enchant will require 140 bottles.
  • Items can be infinitely repaired and the repair cost is capped at level 35. (Items will be repairable forever but will be expensive to repair in the long run, capping out at 35 levels with no reset.)
  • It is not possible to enchant books (although Enchanted books can be found in naturally generated chests (e.g: dungeons and abandoned mines)
    • The Mending and Frost Walkers enchantments are disabled.

Experience Storage

Experience exists in four forms: in a player's experience bar, as experience bottles, as Emeralds, and as Emerald blocks. All these can be converted into each other: crafting 9 experience bottles created 1 Emerald, 9 Emeralds make an Emerald block, and vice versa. By clicking on an enchanting table while holding bottles you can turn all of your levels into experience bottles. One bottle o' enchanting will give exactly 10 XP points. By right clicking an enchantment table while holding emeralds, the emerald XP is transferred directly to your player.

Bottles needed per level
Level Bottles needed
1 0.7
2 1.6
3 2.7
4 4
5 5.5
6 7,2
8 11.2
9 13.5
10 16
11 18.7
12 21.6
13 24.7
14 28
15 31.5
16 35.2
17 39.4
18 44.1
19 49.3
20 55
21 61.2
22 67.9
23 75.1
24 82.8
25 91
26 99.7
27 108.9
28 118.6
29 128.8
30 139.5
31 150.7
32 162.8
33 175.8
34 189.7
35 204.5

RealisticBiomes

Alters the growth rate for plants and animals {source, config}

Growth rate

Growth rates drastically vary across biome type. In some biomes certain plants will not grow at all. There are two types of growth rate:

  • Fixed (Persistent plants such as wheat, potato and beetroot) : growth rate given in hours
  • Percentage based (Non-persistent plants such as cactus, melon, mushroom) : growth rate given as percent of vanilla growth chance.

A biomes growth rate can be checked in multiple ways:

  • Left clicking the ground with plant item in hand
    • Returns the growth time of the item in hand at the free block above the block you're hitting, or the block on the side relative to where you're hitting if it is not the top side. For cocoa for example, you will want to hit a jungle tree on it's side to get meaningful growth time. This growth time includes all factors such as biome, light, and surrounding blocks. You can also do this with fishable items, but in this case the fishing probability will only be reported if it is not zero to spare you from chat spam.
  • Right clicking a plant block with a stick
    • Returns how long it will take until fully grown for fixed growth time crops. This can also be done to view animal growth rates (as fraction of vanilla).
  • The player created growth rate spreadsheet

In an optimal setting growth takes around 3 hours for small crops like wheat and potatoes, and for trees between 3 to 8 hours. Growth rates are generally lowest in realistic or reasonable corresponding biomes. For example, the biome of deep ocean has one of the worst growth rates. ReaslisticBiome's also changes fishing probabilities and one can hit the ground with a fishable item to see its fishing probability (if it is not zero). Fishing is restricted to water biomes[citation needed].

Soil Bonus

The growth rate of a tile can be improved by placing clay blocks directly beneath. Placing more than 4 clay block below will not improve the rate further. Two exceptions exist.

  • Netherwart growth rates are not improved by clay, but by soulsand[citation needed]. The soulsand block the warts are planted on is not counted for boost.
  • Cocoa growth rates are improved by up to 25 blocks of vine placed immediately below the cocoa bean[citation needed].
4 blocks of clay directly below a crop will significantly speed up the growth
Growth improvement
Blocks of clay Crop with fixed growth time Crop with fixed growth time (cumulative) Crop with percentage based growth Crop with percentage based growth (cumulative)
1 -33% -33% +50% +50%
2 -25% -50% +50% +100%
3 -20% -60% +50% +150%
4 -16.5% -66% +50% +200%

Persistence

Crop growth is persistent, meaning crops will continue to grow chunks are unloaded

Sunlight

Most plants need sunlight, either directly above, or through transparent blocks such as glass. This is not the case for netherwarts and mushrooms, which receive a boost from lacking sunlight[citation needed].

Greenhouse

Placing a glowstone (or redstone-lamp[citation needed]) block above or adjacent to a crop lets the crop grow (albeit slower) in situations it normally would not. This includes crops which are underground or in inhospitable biomes. To grow pumpkins and melons with greenhouse, place the glowstone block adjacent to the free block where the fruit block will grow, and block all other free spots so that the fruit can only grow next to glowstone.

HiddenOre

Ores have a random chance of spawning adjacent to (or replacing) blocks which a player mines (HiddenOre). If the block is stone or terracotta the ore will be an overworld ore[clarification needed]. If the block is Netherrack the ore will be a Nether ore[citation needed]. The chance of an ore block spawning is based upon: number of faces revealed by breaking a block + block itself. Ore spawn chances are dependent on y-level, with probabilities roughly corresponding to vanilla.

General mining strategies

Ore spawning decreases after many blocks in a chunk have been mined.

  • Mining blocks which cannot generate ores (such as gravel) will thus decrease ore spawn chances[clarification needed]. This also applies to placing blocks such as torches.
  • Attempts to abuse HiddenOre, such as mining and replacing the same block multiple times will likely also decrease ore spawn chances.

Emeralds

Emerald Ore is not spawned via HiddenOre. It can be found only in the Extreme Hills + biome in bunches of 1 to 10 ore blocks, making it considerably rare (whereas in vanilla they only spawn as single blocks and also in "normal" Extreme Hills).

Diamond mining

Diamonds spawn at the vanilla height, below layer Y=17. Unlike all other ores, diamonds will spawn in HiddenOre veins. Finding a diamond thus indicates a cluster of nearby diamonds. Veins are randomly generated using a Perlin noise. The vein itself is a disc rotated in 3d space. The diamond density in a vein is higher near the center. A message will be displayed every time a diamond ore spawns.

Strategies

Mining a long tunnel is a good way to find veins. If a player already possess resources, one of fastest ways to mine is using a haste II beacon and efficiency V silk touch pickaxes. Cheaper diamond mining methods include wjkroeker's method, one of the most space efficient. If a player has a minimap mod, it can be useful to waypoint or otherwise mark diamonds to discern the shape and center of the vein.

Fossils

Mining stone blocks has a random chance to drop a fossil. Fossils are a lored Prismarine Shard. They can be cracked by using the "Ore Smelter" factory for random, albeit unlikely, treasure.

Fossils drop
Drop Probability (%) Amount
Dirt! 89.4945318 1
Player Skull (any) 9.11764684 1
Spawn egg [note 1] 0.470588224 1
City bastion 0.037037 1
Jukebox 0.029411764 1
Prismarine crystals 0.029411788 3
Prismarine shards 0.029411764 5
Bucket 0.029411764 1
Iron horse armor 0.029411764 1
Minecart 0.062352939 1
Disk (any) 0.035294119 1
Lapis/Iron/Redstone Block (any) 0.088235292 1
Emerald/Diamond (any) 0.058823528 1
Noteblock 0.029411764 5
Iron pickaxe 0.29411764 1
Iron spade/sword/axe (any) 0.088235292 1
Beacon 0.0037037 1
Charcoal 0.0037037 2048
Spawn eggs [note 2] 0.0518518 1
Diamond block 0.0037037 1
Iron ingots 0.0037037 64
Piece of diamond armor (any) 0.0148148 1
Diamond axe/pickaxe/shovel 0.0111111 1
Bastion 0.0037037 1
Diamond horse armor 0.0037038 1
Silk Touch book 0.00110909 1
Enchanted Books [note 3] 0.00725454 1
Imcando Pick [note 4] 0.00040909 1
Apollo's Bow [note 5] 0.00040909 1
Clockback [note 6] 0.00040909 1
Gezo [note 7] 0.00040909 1
Egg of Creation [note 8] 0.00000001 1
  1. any of the following: Vindicator, Vex, Silverfish, Endermite, Zombie Horse, Skeleton Horse, Donkey, Polar Bear, Parrot, Llamma, Wolf, Squid, Ocelot, Rabbit, Horse, Mooshroom.
  2. any of the following: Zombie Pigman, Enderman, Cave Spider, Villager, Witch, Slime, Magma Cube, Guardian, Ghast, Blaze, Spider, Skeleton, Zombie, Creeper
  3. any of the following: Power V, Infinity, Efficiency V, Unbreaking III, Sharpness V, Protection IV
  4. Lored diamond pickaxe with Efficiency V and Unbreaking III
  5. Lored bow with Power V, Unbreaking III, Flame I and Infinity
  6. Lored watch with Knockback III
  7. Lored paper
  8. Lored dragon egg


ItemExchange

Buy and sell goods from chests {source, config}

Chests contain "Exchange Rules" which are stone buttons with lore containing trade information.

Browsing shop chests

It is customary to put a sign on the chest with the exchanges. However, if you left click the chest there will be text that says what the input and output for the chest are. Note: Always check that there is an output! You don't want to put in diamonds only to realize you gave a free donation because they forgot to add an output

Buying from shop chests

There can be multiple exchanges available from a single shop chest. Make sure to left click and be looking at the exchange you want (For example Exchange 1/2 or Exchange 2/2). Hold the input item in your hand and then right click the chest. The input will be removed from your hand and the output automatically added to your inventory.

Creating shop chests

1) First way to create exchange rules:

  • Hold the item you want, in the quantity you would like, (For example, 5 diamonds) and type /iec input. An exchange rule (lored stone button) will be created in your inventory.
  • Hold the item you are selling, in the quantity you are selling for, (For example, one cow egg) and type /iec output. An exchange rule (lored stone button) will be created in your inventory
  • Place the two buttons in a chest (make sure to reinforce it!). If you left click the chest it will now tell you the exchanges available.

Note: You can place multiple exchanges in a chest. For example, you can have one input rule of 5 diamonds and output rule of 1 cow egg. And also have one input rule for 4 diamonds and one output rule for 1 pig egg in the same chest. Left clicking the chest multiple times will allow you to move through all the available exchanges.

Note: You can have multiple inputs for one output, or one input for multiple outputs. For example, one input rule of 5 diamonds and output rule of 1 cow egg, and a second output rule of 1 pig egg. Second example, one input rule of 5 diamonds, and a second input rule for 9 iron blocks and one output rule for 1 cow egg.

2) Second way to create exchange rules:

If you don't have access to the items you're buying/ selling there are other commands you can use.

/iec input [item] [quantity]

For example: /iec input diamond 5

/iec output [item] [quantity]

For example: /iec output sapling 10

Note: The name of the item has to be the Minecraft data name. For example, dark_oak_sapling.

Editing exchange rules

While holding an exchange, use the following command to change the quantity it trades:

/ies amount [number]

For example: /ies amount 5. This will change the exchange to trade 5 of whatever item

Relays

Enderchests search and return contents of nearby shopchests when clicked. More information.

TradePlus

Trade with nearby players {source}

Type /trade within 5 blocks of another player to open a trade GUI.

Botting

A variety of frameworks such as AdvancedMacros can be used to automate tasks. In particular bots are used extensively in the creation of XP. All bots must abide to server botting rules, which include the prohibition of reading environmental data.

Brewery

Brewery allows the creation of potions through a multi-stage process of fermenting, distilling and aging. These potions also make players drunk. For potions used in combat, vanilla brewing is still used.

Arthropod egg

Killing a mob with a weapon that has the "Bane of the Arthropods" enchantment has a chance to drop a spawn egg item for the slain mob type. Each level of "Bane of the Arthropods" will increase the drop rate by 3%. The drop rate will also be increased by 2% for every "Looting" enchantment level. A monster that drops a spawn egg will not drop any other loot.

Spawn eggs drop rate
Enchantment Drop rate
Without Looting Looting I Looting II Looting III
Bane of the Arthropods I 3% 5% 7% 9%
Bane of the Arthropods II 6% 8% 10% 12%
Bane of the Arthropods III 9% 11% 13% 15%
Bane of the Arthropods IV 12% 14% 16% 18%
Bane of the Arthropods V 15% 17% 19% 21%

It is possible to get the spawn eggs of all passive mobs except for Snow and Iron Golems.

Notes