promotional bannermobile promotional banner

Artisan Ported

Artisian Worktables ported to 1.21.1: now you can add your own.

Artisian ported is a 1.21.1 rebuild of artisian worktables by CodeTayler, rebuilt from scratch due to the massive difference in game and modloader versions. This version allows you to add your own worktable types, as well as automation of these recipes in line with mods like Mekansim.

This is largly a modpack utility. It's not needed for personal packs unless you're looking to rewrite a lot of recipes.


Usage:

the mod comes with 13 table types by defult, each with 3 tiers. Recipes can be add like the examples below under recipes:

ArtisanWorktables.recipe(event, 'basic')
    .shaped(
      ['###', '# #', '###'],
      { '#': 'minecraft:cobblestone' }
    )
    .output('minecraft:furnace')
    .id('kubejs:example_basic_furnace')
    .create()

    ArtisanWorktables.recipe(event, 'chemist')
    .shapeless(['minecraft:blaze_powder', 'minecraft:glass_bottle'])
    .output('minecraft:potion')
    .tool('minecraft:stick', 1)           // tool slot 1
    .tool('#minecraft:axes', 2)           // tool slot 2
    .fluid('minecraft:water', 250)        // mB in the tank
    .secondary(['minecraft:redstone', 'minecraft:gunpowder'])
    .extra('minecraft:glass_bottle', 0.25) // chance output
    .minimumTier(1)                      // workstation or workshop only
    .id('kubejs:chemist_brew')
    .create()

    ArtisanWorktables.recipe(event, 'engineer')
    .shaped(
      [
        'IIIII',
        'I   I',
        'I R I',
        'I   I',
        'IIIII'
      ],
      {
        I: 'minecraft:iron_ingot',
        R: 'minecraft:redstone_block'
      }
    )
    .output('minecraft:anvil')
    .tool('minecraft:iron_pickaxe', 5)
    .tool('minecraft:iron_axe', 5)
    .tool('minecraft:iron_shovel', 5)
    .fluid('minecraft:lava', 1000)
    .secondary(['minecraft:obsidian', 'minecraft:diamond'])
    .minimumTier(2)   // workshop only
    .id('kubejs:engineer_anvil')
    .create()

Likewise, custom table types can be added via kubeJS in the startup script:

ArtisanWorktablesEvents.define(event => {
  event.create('runesmith')
    .displayName('Runesmith')
    .color('#8844AA')
})

the mod also comes with 29 different catylyst tool types that can be made to work with any metals and gems, as well as being able to add your own tools:

ArtisanWorktablesEvents.defineTools(event => {
  // Optional: only generate these tool kinds (omit to generate all builtins)
  // event.enabledToolTypes(['hammer', 'handsaw', 'cutters', 'chisel', 'knife'])

  // Extra metals / gems — tags, not oredict
  event.material('copper')
    .ingot()                 // => #c:ingots/copper
    .durability(200)
    .color('#E77C56')

  event.material('ruby')
    .gem()                   // => #c:gems/ruby
    .durability(500)
    .color('#E0115F')
    .tools(['hammer', 'chisel', 'knife']) // only these for ruby

  Bulk helper
  event.materials(['tin', 'silver', 'lead'], m => {
     m.ingot().durability(180).color('#C0C0C0')
   })

   Disable a builtin material
   event.material('wood').disable()

   Custom tool type
  event.toolType('wire_snip')
    .displayName('Wire Snips')
    .pattern(['M M', ' S ', 'S S']) // <- can also use P for planks

Note that the defult textures aren't great for custom workstations and tools, these are only pregenned by color and a base texture that was used as a placeholder at current.

The mod also adds auto crafters in the style of Mekansim's formulic assemblers, add the recpective table and a worktable encoder into the top left slots to encode a recipe in the bottom left slots. the top right slots are the stock and the bottom middle-ish is the output. These have preset recipes that aren't hard to change with kubeJS.

The Artisan Ported Team

profile avatar
  • 2
    Followers
  • 15
    Projects
  • 2.0K
    Downloads

More from Nathan22211View all