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