« NBTEditor/Book of Souls » : différence entre les versions

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
mAucun résumé des modifications
Hiob (discussion | contributions)
mAucun résumé des modifications
Ligne 488 : Ligne 488 :
|}
|}


== Références ==
* [http://goncalomb.com/projects/nbteditor/ Documentation de NBTEditor] par goncalomb
[[Catégorie:Plugin installé]]
[[Catégorie:Plugin installé]]

Version du 12 février 2014 à 19:40



Book of Souls

Un Book of Souls (BoS) - Livre des Âmes - agit comme un conteneur détenant une entité personnalisée et permettre l'accès et la modification de toutes les propriétés facilement. Aucun fichier n'est enregistré sur le serveur, il vous suffit de mettre le livre dans un coffre pour une utilisation ultérieure. /bookofsouls alias:/bos.

En mode créatif, vous pouvez dupliquer le livre avec la touche de pick a block (par défaut: clic milieu), comme n'importe quel autre objet.

Créer un BoS

Éditer les variables

BoS de Mobs (équipements & effets)

BoS de Villageois (édition des offres)

BoS for Dropped Items, Thrown Potions and Firework Rocket

BoS for Falling Sand (Falling Block)

BoS for Minecarts

Entités chevauchables

Book of Souls vide

Variables

Type de variable Description
Integer Un entier,

ex.: 114.

Decimal Un nombre décimal,

ex.: 1.32.

Vector Une combinaison de 3 valeurs décimales, x y z,

ex.': 1.3 8 0.3

String Une séquence de caractère, phrase, nom etc,.

ex.: J'adore les loups. Formatage des couleurs/styles possible (+info).

Boolean Seulement deux valeurs possibles, 'true' or 'false'.
Block Une id de bloc et les valeurs de dégâts (vous pouvez omettre la valeur de dégâts),

ex.: 23.9 (pour la laine orange) ou 4 (pour la cobblestone).

HorseVariant Un type spécial de variables seulement utilisé pour les chevaux, qui accepte 2 entiers, it accepts 2 integers, le premier contrôle le marquage des chevaux ('0 à 4), le second contrôle la couleur (0 à 6),

ex.: 4 1.


Nom Type description
Toutes les entités possédent ces variables
pos Vecteur Position de l'entité (ignoré lors d'un click gauche pour spawner une entité).
vel Vecteur Vitesse de l'entitée.
fall-distance Decimale Distance à laquelle l'entité tombe. Contrôle les dommages subit par l'entité lorsque celle ci arrive au sol.
fire Entier Nombre de 'tick' avant que l'entité arrête de bruler. Une valeur négative donne une immunité au feu, pour cette quantité de 'tick'. -1 quand l'entité ne brule pas.
air Entier Fills to 200, decreases while underwater. When 0 the entity will start losing health. (Réserve d'air)
invulnerable Boolean Si mis à 'true', l'entité ne subira pas de dommages.
Toutes les mobs (entités vivantes) possédent ces variables
health Decimale Points de vie d'un mob (1 = un demi cœur).
old-health Entier Points de vie d'un mob. (Ne pas utiliser cette variable, Utilisé en priorité sur la 1.6).
attack-time Entier Effet inconu (serra peut être retiré par le future).
hurt-time Entier Contrôle de l’animation d'attaque!? (serra peut être retiré par le future).
death-time Entier Contrôle de l’animation de mort!? (serra peut être retiré par le future).
pick-loot Booleen Si mis à 'true', le mob lootera des items.
persistent Booleen Si mis à 'true', le mob ne déspawnera pas naturellement.
name Chaine de caractère Le nom du mob.
name-visible Booleen Si mis à 'true', le nom serra toujours visible.
Toutes les mobs domesticables possédent ces variables
owner Chaine de caractère Nom du propriétaire.
sitting Booleen Si mis à 'true', l'entité serra assise.
Toutes les Breedable Mobs (à l‘exception des chevaux) possédent ces variables
in-love Entier Nombre de 'ticks' avant que les cœurs indiquant l'état "prêt à s'accoupler" du mob ne cessent de se dégager de l'entité. 0 quand l'entité n'est pas en amour.
age Entier Represente l'age 'ticks'. Si négatif, le mob est un bébé (nombre de 'ticks' avant que le mob ne devienne adulte). Si 0 ou positif le mob est adulte, une valeur positive représente le nombre de 'ticks' avant que le mob puisse procréer à nouveau.
Cochon
saddle Boolean If 'true', the pig has a saddle.
Mouton
sheared Boolean If 'true', the sheep is naked.
color Integer The color of the sheep's wool (0 to 15).
Ocelot
cat-type Integer The type of cat (0, 1, 2 or 3),
Loup
angry Boolean If 'true', is angry.
collar-color Integer The wolf's collar color (0 to 15), default 14.
Cheval
type Integer The type of the horse, 0 = horse, 1 = donkey, 2= mule, 3 = zombie, 4 = skeleton.
tamed Boolean If 'true', the horse is tamed.
chested Boolean If 'true', the horse has chests.
eating Boolean If 'true', the horse is eating.
owner String Name of the owner, has no effect. Server plugins may use this to block other players from riding the horse.
variant HorseVariant The horse variant, read more above ('Types of variables').
Villageois
profession Integer The profession of the villager, affects the clothing and the default trades (0 to 5).
Golem d'acier
player-created Boolean If 'true', the golem will not attack players.
Zombie
is-villager Boolean If 'true', the zombie is an infected villager.
is-baby Boolean If 'true', the zombie is a baby.
conversion-time Integer The number of ticks until the zombie is converted back into a villager. -1 if not being converted.
can-break-doors Boolean >If 'true', the zombie can break doors.
Pig Zombie
All variables from Zombie (can-break-doors has no effect).
anger Integer Anger level. 0 for neutral pig zombie.
Squelette
is-wither Boolean If 'true', the skeleton is a wither skeleton.
Creeper
powered Boolean If 'true', the creeper is a charged creeper.
explosion-radius Integer The explosion power of the creeper, default 3.
fuse Integer The number of ticks before the creeper will explode, default 30.
Slime / Magma Cube
size Integer The size of the slime / magma cube.
Ghast
explosion-power Integer The explosion power of the ghast's fireball, default 1.
Enderman
block Block The block being hold by the enderman.
Wither
invul-time Integer The number of ticks of invulnerability left.
Tous les items (droppés et les Orbs d'XP) possédent ces variables
health Integer The health of the item, starts at 5. When it reaches 0 the item is destroyed.
age Integer The 'age' of the item, after 6000 ticks the item is destroyed.
Orbs d'XP
value Integer The amount of experience on the orb.
Flèche
pickup Integer 0 = cannot be picked up by players, 1 = can be picked up by players in survival or creative, 2 = can only be picked up by players in creative.
player Boolean If 'true', and 'pickup' is not used, the arrow can be picked up by players.
damage Decimal The damage inflicted by the arrow, default 2.0.
Tous les fireballs (Large, Small et Wither Squelette) possédent ces variables
power Vector The acceleration of the fireball.
Large Fireball
explosion-power Integer The explosion power of the fireball.
EnderPearl
owner String The owner of the enderperl.
Tous les minecarts possédent ces variables
display-tile Boolean If 'true', the minecart can display a custom block.
tile Block The custom block to be displayed.
tile-offset Integer The offset of the block. Positive values move the block upwards.
name String The name of the minecart.
Minecart Spawner (ainsi que les spawner block, '/nbts var').
count Integer How many entities the sapwner will attempt to spawn each time.
range Integer The radius around which the spawner attempts to spawn entities, the area is a square. If the entity has the 'pos' variable set, then the entity will spawn at that location, ignoring this variable.
delay Integer Ticks until next spawn. This is always counting down, when it reaches 0 the spawner will spawn and the variable will reset to a value between 'min-delay' and 'max-delay'.
min-delay Integer The minimum time, in ticks, between attempts to spawn.
max-delay Integer The maximum time, in ticks, between attempts to spawn.
max-entities Integer The maximum number of entities nearby.
player-range Integer The activation range of the spawner, the area is a sphere. At least one player need to be inside this area for the spawner to work.
Blocs tombants
block Block The block that is falling.
time Integer The number of ticks the entity has existed. If set to 0, the moment it changes to 1 it will vanish if the block at its location has a different id, if the block at its location has the same id, the block will instead be deleted. When time goes above 600, or above 100 while the entity is below y = 0, the entity is deleted. To spawn a falling block from a sapwner use 1 or, has said before, the entity will vanish if the block at its location has a different id.
drop-item Boolean If 'true', it will drop an item when it breaks.
hurt-entities Boolean If 'true', it will hurt entities when it falls.
fall-hurt-amount Decimal A value to be multiplied by 'fall-distance' to calculate the amount of damage to inflict.
fall-hurt-max Integer The maximum of hitpoits the falling block can inflict.
TNT apprêtée
fuse Integer Number of ticks until explosion.
Fusée de feux d'artifices
life Integer The number of ticks the fireworks rocket has been flying for. It explodes when this value reaches 'lifetime'.
lifetime Integer The number of ticks before the fireworks rocket explodes.


Références