#How do i use skbee
1 messages · Page 1 of 1 (latest)
code:
on load:
register new shaped recipe for gold sword of unbreaking 4 named "&6&lDashing Sword" using air, air, air, air, string, air, air, air, air
you forgot the ID
wdym
all recipies must have an ID at the end
as for "How do i use skbee"
you could always check the docs or the skbee wiki
on load:
register new shaped recipe for gold sword of unbreaking 4 named "&6&lDashing Sword" using air, air, air, air, string, air, air, air, air with id "dashing_sword"
?
i just wanted to know how to do the crafting recipe
ima test that
omg it worked
les go
this is always the first step
wait
how to i use items ive made with skbees recipes and put it into another recipe
?
like if i made smth like
9 gold blocks is 1 enchanted gold
then
9 enchanted gold (custom skbee recipe) turns into compressed gold
smth like that
@glossy gyro
could this work?
Variables:
{couldown.%player%} = 5
{_fragment} 1 gold ingot of infinity 1 named "&6Sword Fragment"
#--------------------------------------------------------------------------------------------------
# EVENT
#--------------------------------------------------------------------------------------------------
on rightclick:
if {couldown.%player%} is equal to 5:
"%name of players's tool%" contains "&6&lDashing":
push player forwards with force 1.5
push player upward with force 0.5
loop 5 times:
send action bar "&cCouldown until another dash = %{couldown.%player%}%" to player
subtract 1 from {couldown.%player%}
wait 1 second
else:
stop
else:
stop
set {couldown.%player%} to 5
send action bar "&a&lDash ready" to player
command /tester:
permission: op
trigger:
launch ball large coloured red, purple and white fading to light green and black at player's location with duration 1
send title "&8&lCongrats" with subtitle "&bNow you are a tester" to player for 5 seconds
give a gold sword of unbreaking 4 named "&6&lDashing sword" with lore "&eSword of &6Dashing." to player
#--------------------------------------------------------------------------#
on load:
register new shaped recipe for gold sword of unbreaking 4 named "&6&lDashing Sword" using air, dashing_fragment, air, lodestone, {_fragment}, lodestone, air, stick, air with id "dashing_sword2"
#------------------------------------------------------------------------#
on load:
register new shaped recipe for gold ingot of infinity 1 named "&6Sword Fragment" using air, gold block, air, gold block, echo shard, gold block, air, gold block, air with id "dashing_fragment"
main parts i mean are here
Variables:
{couldown.%player%} = 5
{_fragment} 1 gold ingot of infinity 1 named "&6Sword Fragment"
|
on load:
register new shaped recipe for gold sword of unbreaking 4 named "&6&lDashing Sword" using air, dashing_fragment, air, lodestone, {_fragment}, lodestone, air, stick, air with id "dashing_sword2"
#------------------------------------------------------------------------#
on load:
register new shaped recipe for gold ingot of infinity 1 named "&6Sword Fragment" using air, gold block, air, gold block, echo shard, gold block, air, gold block, air with id "dashing_fragment"
wait
- send a snippet
- use lists
- dont name the variable just "cooldown", add an index or something so you know what the cooldown is for.
- why do you have 2 on load events
oh
the cooldown one works ok
the otherone is the one that doesnt work
whats a snippet?
picture?
im so confused
#code``````a = b
#code``` are acceptable
```a = b:
#code``` is not
this is an excellent tutorial
no, just an example placeholder
oh
when you have a condition/if statement, you either use "if", ":", and indent, or none.
all or none.
so i can do if {_fragment}: = "dashing_fragment"
need the colon
there?
or somewhere else the colon
o
wait
if: {_fragment} = "dashing_fragment"
or
if {_fragment} = "dashing_fragment":
is the only error
its the recipe part
current code
Variables:
{couldown.%player%} = 5
if: {_fragment} = "dashing_fragment"
#--------------------------------------------------------------------------------------------------
# EVENT
#--------------------------------------------------------------------------------------------------
on rightclick:
if {couldown.%player%} is equal to 5:
"%name of players's tool%" contains "&6&lDashing":
push player forwards with force 1.5
push player upward with force 0.5
loop 5 times:
send action bar "&cCouldown until another dash = %{couldown.%player%}%" to player
subtract 1 from {couldown.%player%}
wait 1 second
else:
stop
else:
stop
set {couldown.%player%} to 5
send action bar "&a&lDash ready" to player
command /tester:
permission: op
trigger:
launch ball large coloured red, purple and white fading to light green and black at player's location with duration 1
send title "&8&lCongrats" with subtitle "&bNow you are a tester" to player for 5 seconds
give a gold sword of unbreaking 4 named "&6&lDashing sword" with lore "&eSword of &6Dashing." to player
#--------------------------------------------------------------------------#
on load:
register new shaped recipe for gold sword of unbreaking 4 named "&6&lDashing Sword" using air, dashing_fragment, air, lodestone, {_fragment}, lodestone, air, stick, air with id "dashing_sword"
register new shaped recipe for gold ingot of infinity 1 named "&6Sword Fragment" using air, gold block, air, gold block, echo shard, gold block, air, gold block, air with id "dashing_fragment"
fair
but idk how to make it understand
its like quick english
when it loads to on load
skript doesnt recognise dashing_fragment as an item.
set the item to a variable, or use parentheses and put the value in
thats what im trying to do
if: {_fragment} = "dashing_fragment"
thats a local var
i wont spoon feed you
remove the _
just look at some tutorials
thats how you learn
register new shaped recipe for gold ingot of infinity 1 named "&6Sword Fragment" using air, gold block, air, gold block, echo shard, gold block, air, gold block, air with id "dashing_fragment"
heretoo?
remove the _ here too
or
just the top
oh
wait
OHHHH
thats not a variable..
I GET IT
thats just the id you assinged to the recipe, you can name it whatever you want
Variables:
{couldown.%player%} = 5
if: {fragment} = "dashing_fragment"
#--------------------------------------------------------------------------------------------------
# EVENT
#--------------------------------------------------------------------------------------------------
on rightclick:
if {couldown.%player%} is equal to 5:
"%name of players's tool%" contains "&6&lDashing":
push player forwards with force 1.5
push player upward with force 0.5
loop 5 times:
send action bar "&cCouldown until another dash = %{couldown.%player%}%" to player
subtract 1 from {couldown.%player%}
wait 1 second
else:
stop
else:
stop
set {couldown.%player%} to 5
send action bar "&a&lDash ready" to player
command /tester:
permission: op
trigger:
launch ball large coloured red, purple and white fading to light green and black at player's location with duration 1
send title "&8&lCongrats" with subtitle "&bNow you are a tester" to player for 5 seconds
give a gold sword of unbreaking 4 named "&6&lDashing sword" with lore "&eSword of &6Dashing." to player
#--------------------------------------------------------------------------#
on load:
register new shaped recipe for gold sword of unbreaking 4 named "&6&lDashing Sword" using air, dashing_fragment, air, lodestone, {fragment}, lodestone, air, stick, air with id "dashing_sword"
register new shaped recipe for gold ingot of infinity 1 named "&6Sword Fragment" using air, gold block, air, gold block, echo shard, gold block, air, gold block, air with id "dashing_fragment"
is this better?
idk what im doing
this is why i keep recommending you read a tutorial
i read the first bit of it
like i clicked to the next section 3 times
i read that part
misspell
that doesnt matter though because its a custom named variable instead of a thing
like gold sword
right?
Yes, but you wrote it in a send
it just looks better if you have proper spelling
oop
oh
you right
mbm
mbmb
i fixed it
ty
but i still dont know how to the recipe
can somebody just tell me how to do it
i think ill learn better if i just got told what im doing wrong
i feel like im close
youre not putting the variable in the ingredients
skript has no idea what you are trying to do
how do i name the variable correctly for it to understand?
do i put it there without the brackets?
you need to either
- use a variable:
... using diamond, iron ingot, {superSword}, potato, ... - use the long form (with parentheses!):
... using diamond, iron ingot, (unbreakable diamond sword named "Super Sword"), potato, ...
no, the curly brackets are what tells skript it is a variable
{
left is curly brackets/braces, right is parenthesis
no
idk what a parenthesis is
This is curly bracket --> {
This is square bracket --> [
This is a parenthesis --> (
This is an angle bracket --> <
in this message, the symbol to the left of "or" is curly brace, to the right is parentheses.
variables use curly braces
so it is {something)
no
I still can't spell parentheses right without searching it
only in the message you sent
oh
the left one
in code
{
yes
always { and } around variables
.
im still at this
oh
wait
.
wait aminute
i can just do
instead of a variable
i can do
air, air, (unbreakable gold sword named "&6&lDashing Sword" with lore "&eSword of &6Dashing.") air, air,
that works?
air, air, (unbreakable gold sword named "&6&lDashing Sword" with lore "&eSword of &6Dashing."), air, air,
i mean
forgot the comma after the msg
wait
i mean
omg im an idiot lemme try this again
air, air, (gold ingot named "&6Sword Fragment"), air, air,
thats what i meant
nvm it didnt work
wdym
did i use parentheses right?
this
looks like it
if you continue having too many issues with custom crafting recipes, CraftEnhance has proven to be pretty reliable to me, it's very easy to use and is good at using it's own custom items inside other recipes
couldown