Skip to content

Commit f83abba

Browse files
Zidanegabizou
authored andcommitted
Remove a few straggler supplier methods left.
Signed-off-by: Chris Sanders <[email protected]>
1 parent 762a031 commit f83abba

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/main/java/org/spongepowered/api/entity/EntityArchetype.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,6 @@ static Builder builder() {
4646
return Sponge.game().builderProvider().provide(Builder.class);
4747
}
4848

49-
/**
50-
* Creates a new {@link EntityArchetype} with the specified {@link EntityType}.
51-
*
52-
* @param type Type of the entity
53-
* @return An archetype of the given entity type
54-
*/
55-
static EntityArchetype of(Supplier<? extends EntityType<?>> type) {
56-
return EntityArchetype.builder().type(type).build();
57-
}
58-
5949
/**
6050
* Creates a new {@link EntityArchetype} with the specified {@link EntityType}.
6151
*
@@ -105,16 +95,6 @@ interface Builder extends SerializableDataHolderBuilder.Mutable<EntityArchetype,
10595
*/
10696
Builder from(Entity entity);
10797

108-
/**
109-
* Sets the desired {@link EntityType} of the produced {@link EntityArchetype}.
110-
*
111-
* @param type The type of entity type
112-
* @return This builder, for chaining
113-
*/
114-
default Builder type(Supplier<? extends EntityType<?>> type) {
115-
return this.type(type.get());
116-
}
117-
11898
/**
11999
* Sets the desired {@link EntityType} of the produced {@link EntityArchetype}.
120100
*

0 commit comments

Comments
 (0)