Esempio n. 1
0
 /// <summary>
 /// Intializes a new <see cref="EntityScoresCondition"/>
 /// </summary>
 /// <param name="checkScores">The scores to check for</param>
 /// <param name="entity">The entity to check the scores for</param>
 public EntityScoresCondition(ID.LootTarget entity, Scores checkScores) : base("minecraft:entity_scores")
 {
     Entity      = entity;
     CheckScores = checkScores;
 }
Esempio n. 2
0
 /// <summary>
 /// Intializes a new <see cref="EntityCondition"/>
 /// </summary>
 /// <param name="data">The entity data to check for</param>
 /// <param name="target">The entity to check for data on</param>
 public EntityCondition(ID.LootTarget target, JsonObjects.Entity data) : base("minecraft:entity_properties")
 {
     Data   = data;
     Target = target;
 }
Esempio n. 3
0
 /// <summary>
 /// Intializes a new <see cref="CopyNBTChange"/>
 /// </summary>
 /// <param name="operations">The copy operations to run</param>
 /// <param name="target">The target to copy from</param>
 public CopyNBTChange(ID.LootTarget target, CopyOperation[] operations) : base("minecraft:copy_nbt")
 {
     Target     = target;
     Operations = operations;
 }