Exemple #1
0
 public ManifestBuilder(BehaviorPack pack, ManifestFile file = null) : base(pack, "manifest",
                                                                            file ?? new ManifestFile())
 {
     BuiltObject.Header.Name = pack.Name;
 }
Exemple #2
0
 public EntityBuilder(BehaviorPack pack, Identifier entityIdentifier, EntityFile entity = null) : base(pack,
                                                                                                       entityIdentifier.Path,
                                                                                                       entity ?? new EntityFile(entityIdentifier))
 {
     BuiltObject.MinecraftEntity.Description.Identifier = entityIdentifier;
 }