#(drodbbb) Item wool craft

33 messages · Page 1 of 1 (latest)

high trout
#

I can find anything info how to make craft with wool any color.

    recipes:
        1:
            type: shaped
            input:
            - air|white_wool,orange_wool,magenta_wool,light_blue_wool,yellow_wool,lime_wool,pink_wool,gray_wool,light_gray_wool,cyan_wool,purple_wool,blue_wool,brown_wool,green_wool,red_wool,black_wool|white_wool,orange_wool,magenta_wool,light_blue_wool,yellow_wool,lime_wool,pink_wool,gray_wool,light_gray_wool,cyan_wool,purple_wool,blue_wool,brown_wool,green_wool,red_wool,black_wool
            - air|stick|white_wool,orange_wool,magenta_wool,light_blue_wool,yellow_wool,lime_wool,pink_wool,gray_wool,light_gray_wool,cyan_wool,purple_wool,blue_wool,brown_wool,green_wool,red_wool,black_wool
            - stick|air|air

and


    recipes:
        1:
            type: shaped
            input:
            - air|wool|wool
            - air|stick|wool
            - stick|air|air

don't working because wool not found.

feral hawkBOT
#

(drodbbb) Item wool craft

feral hawkBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

lapis geyser
#

!haste

robust lindenBOT
lapis geyser
#

Need a full script.

high trout
#
umbrella_closed:
    type: item
    debug: false
    material: stick
    mechanisms:
        custom_model_data: 1
    display name: <&7>Свёрнутый зонт
    lore:
    - <&7>ПКМ чтобы раскрыть
    recipes:
        1:
            type: shaped
            input:
            - air|white_wool,orange_wool,magenta_wool,light_blue_wool,yellow_wool,lime_wool,pink_wool,gray_wool,light_gray_wool,cyan_wool,purple_wool,blue_wool,brown_wool,green_wool,red_wool,black_wool|white_wool,orange_wool,magenta_wool,light_blue_wool,yellow_wool,lime_wool,pink_wool,gray_wool,light_gray_wool,cyan_wool,purple_wool,blue_wool,brown_wool,green_wool,red_wool,black_wool
            - air|stick|white_wool,orange_wool,magenta_wool,light_blue_wool,yellow_wool,lime_wool,pink_wool,gray_wool,light_gray_wool,cyan_wool,purple_wool,blue_wool,brown_wool,green_wool,red_wool,black_wool
            - stick|air|air

umbrella_open:
    type: item
    debug: false
    material: stick
    mechanisms:
        custom_model_data: 2
    display name: <&7>Зонт
    lore:
    - <&7>ПКМ чтобы свернуть

umbrella_toggle:
    type: world
    debug: false
    events:
        on player right clicks block with:umbrella_closed:
        - determine passively cancelled
        - take iteminhand
        - give umbrella_open
        - equip <player> hand:umbrella_open
        - playsound <player> sound:ITEM_ARMOR_EQUIP_LEATHER volume:1 pitch:1
        - playeffect effect:WATER_SPLASH at:<player.location.add[0,2,0]> offset:0.5 quantity:20
        on player right clicks block with:umbrella_open:
        - determine passively cancelled
        - take iteminhand
        - give umbrella_closed
        - equip <player> hand:umbrella_closed
        - playsound <player> sound:ITEM_ARMOR_EQUIP_LEATHER volume:1 pitch:1.5

(Not mine. I found in web)

#

Not simple wool and not each wool type don't working

lapis geyser
#

Paste it.

high trout
#

What?
I already sent you. Or what?

lapis geyser
#

!haste

robust lindenBOT
lapis geyser
#

Please use the web page.

#

Better formatting.

high trout
#

Oh don't see. Okay one second

lapis geyser
robust lindenBOT
# lapis geyser !ds https://paste.denizenscript.com/View/135141
Script Check Results
Encountered Critical Errors

On line 50: Invalid YAML! Error message: While parsing a block mapping, did not find expected key.
On line 52, 69, 79: Duplicate script - a script container of the same name already exists in this script file.

Script Warnings

On line 50: Useless/invalid line (possibly missing a - or a :, or just accidentally hit enter or paste).
On line 50: Line purpose unknown, no identifier (missing a : or a -?).

Other Script Information

On line : (Statistics) Total structural lines: 26
On line : (Statistics) Total live code lines: 32
On line : (Statistics) Total comment lines: 0
On line : (Statistics) Total blank lines: 10

Shortened Lines

There are 2 lines that were merged into other lines.

lapis geyser
#

Hmm.

#

!l item script container

robust lindenBOT
# lapis geyser !l item script container

Item script containers are an easy way to pre-define custom items for use within scripts. Item
scripts work with the ItemTag object, and can be fetched with the Object Fetcher by using the
ItemTag constructor ItemTag_script_name. Example: - drop <player.location> super_dooper_diamond

The following is the format for the container. Except for the 'material' key (and the dScript
required 'type' key), all other keys are optional.


# The name of the item script is the same name that you can use to construct a new
# ItemTag based on this item script. For example, an item script named 'sword_of_swiftness'
# can be referred to as simply 'sword_of_swiftness'.
Item_Script_Name:

    type: item

    # Must be a valid ItemTag. See 'ItemTag' for more information.
    # | All item scripts MUST h

...

Group

Script Container System

lapis geyser
#

Let me see..

high trout
#

(I pasted two scripts. One with simple wool one with each wool type)

lapis geyser
#

Well firstly, multiple matches are separated by / and not ,

#

However.

#

If you're trying to search for every and any wool, use a wildcard.

#

*_wool will work.

high trout
#

Thanks, thats what i want find. Its working. Are you know it? Or you see anywhere? Because i don't find any info about crafting on official docs. Only on one website something like this:

    recipes:
        1:
            type: shaped
            input:
            - air|air|air
            - item_name|item_name|item_name
            - item_name|item_name|item_name

And its all what i found about making craft

lapis geyser
#

The item script container meta page is where I pulled this from.

#

As linked above.

#

Read it in it's entirety, as it says how to find multiple matches.

high trout
#

Oh thanks.