Résultats de la recherche

Vider
Événements
Conditions
Effets
Expressions
Types
Fonctions
Sections

EntityBlockStorage - Max Entities (entités d'un bloc maximum)

Compatible depuis SkBee 1.0.0

Description

Modifier ou retourner le contenu maximal d'un bloc pouvant accueillir des données d'entités. Cette syntaxe ne comprend que les ruches ou nids d'abeille, fonctionnel uniquement avec les serveurs 1.15.2 + !

Exemples set {_m} to max entities of target block of player
set max entities of target block of player to 20
set max entity storage of event-block to 5
Pattern [the] max entit(ies|y storage) of %blocks%  %blocks%'[s] max entit(ies|y storage)

Hidden Item Flags (cacher les attributs d'un item)

Compatible depuis SkBee 1.0.0

Description

Cache les attributs d'un item, permettant de créer des items hyper-puissantes !

Exemples set player's tool to player's tool with attribute flag hidden
give player 1 diamond sword of sharpness 5 with hidden enchants flag
set {_tool} to player's tool with all flags hidden
give player potion of harming with hidden potion effects flag
Pattern %itemtype% with (attribute[s]|enchant[s]|destroy[s]|potion[ ]effect[s]|unbreakable|all) flag[s] hidden  %itemtype% with hidden (attribute[s]|enchant[s]|destroy[s]|potion[ ]effect[s]|unbreakable|all) flag[s]

Inventory Name (nom d'un inventaire)

Compatible depuis SkBee 1.0.0

Description

Ceci est un moyen secondaire pour l'expression de Skript, étant cassées depuis la 1.14 +.

Exemples if inventory name of current inventory of player = "Settings":
Pattern [the] (custom|inv[entory]) name of %inventories%  %inventories%'[s] (custom|inv[entory]) name

NBT - Item with NBT (item avec NBT)

Compatible depuis SkBee 1.0.0

Description

Distribue à un joueur un item avec NBT ou utiliser des NBT dans un GUI.

Exemples give player diamond sword with nbt "{Unbreakable:1}"
format gui slot 1 of player with diamond axe with nbt "{Enchantments:[{id:\"\"unbreaking\"\",lvl:5s}]}"
Pattern %itemtype% with [item( |-)]nbt %string%

NBT - Item/Entity/Block (NBT d'un item, entité, bloc)

Compatible depuis SkBee 1.0.0

Description

NBT d'item, entités, tile entités (comme les fours, entonnoirs, alambique, bannière ...) ou fichiers. Supporte l'ajout, suppresion, retour et la réinitialisation. La réinitialisation ne marchera que sur des items, et non sur des entités ou des blocs.

Exemples set {_nbt} to nbt of player's tool
add "{Enchantments:[{id:""sharpness"",lvl:5}]}" to nbt of player's tool
reset nbt of player's tool
set {_nbt} to nbt of target entity
set {_nbt} to event-entity
add "{CustomName:""{\""text\"":\""&bMyNewName\""}""}" to target entity
add "{RequiredPlayerRange:0s}" to targeted block's nbt
add "{SpawnData:{id:""minecraft:wither""}}" to nbt of clicked block
set {_nbt} to file-nbt of "world/playerdata/some-uuid-here.dat"
Pattern [the] [(entity|item|block|tile[(-| )]entity|file)(-| )]nbt of %block/entity/itemstack/itemtype/string%  %block/entity/itemstack/itemtype/string%'[s] [(entity|item|block|tile[(-| )]entity|file)(-| )]nbt

NBT - Set Block with NBT (mettre un bloc avec NBT)

Compatible depuis SkBee 1.0.0

Description

Modifie le NBT d'un bloc à une position.

 

Exemples set nbt-block at player to west facing furnace with nbt "{CustomName:""{\""text\"":\""&aFurnieFurnace\""}""}"
set nbt-block at event-location to hopper with nbt "{CustomName:""{\""text\"":\""&cHoppieHopper\""}""}"
Pattern set (nbt[(-| )]block|tile[(-| )]entity) %directions% %locations% to %itemtype% with nbt %string% 

NBT - Spawn Entity with NBT (faire apparaître une entité avec NBT)

Compatible depuis SkBee 1.0.0

Description

Fais apparaître une entité avec un NBT à une positon.

Exemples spawn sheep at player with nbt "{NoAI:1b}"
spawn 1 of zombie at player with nbt "{NoGravity:1b}"
Pattern spawn %entitytypes% [%directions% %locations%] with nbt %string%  spawn %number% of %entitytypes% [%directions% %locations%] with nbt %string%

NBT - Tag

Compatible depuis SkBee 1.0.0

Description

Renvoie la valeur de la balise spécifiée du NBT spécifié. Prend également en charge l'obtention de balises imbriquées en utilisant un point-virgule comme délimiteur. Si la valeur de retour est une liste, vous pouvez l'utiliser comme une liste, car elle sera divisée automatiquement pour vous. Actuellement, seuls les retours sont pris en charge : l'ensemble pourrait être disponible à l'avenir.

Exemples set {_tag} to tag "Invulnerable" of targeted entity's nbt
send "Tag: %tag ""CustomName"" of nbt of target entity%" to player
set {_tag} to "Enchantments" tag of nbt of player's tool
set {_tag} to "BlockEntityTag;Items" tag of nbt of target block
Pattern tag %string% of %string%  %string% tag of %string%

On Bound - Enter (à l'entrée dans une région)

Compatible depuis SkBee 1.0.0

Description

Appelé lorsqu'un joueur entre dans une région.

Exemples on bound enter:
    if event-bound = {bounds::spawn}:
        send "You entered spawn!"
Pattern [on] bound enter

On Bound - Exit (à la sortie d'une région)

Compatible depuis SkBee 1.0.0

Description

Appelé à la sortie d'un joueur d'une région.

Exemples on bound exit:
    send "You left a bound"
        if event-bound = {bound}:
            send "You left Spawn!"
Pattern [on] bound exit