add new 1.20 mob types
This commit is contained in:
parent
80b9be8cd2
commit
5e6034d384
1 changed files with 8 additions and 0 deletions
|
@ -309,6 +309,14 @@ public class NpcTypeRegistryImpl implements NpcTypeRegistry {
|
||||||
|
|
||||||
register(builder(p, "warden", EntityTypes.WARDEN)
|
register(builder(p, "warden", EntityTypes.WARDEN)
|
||||||
.setHologramOffset(0.925));
|
.setHologramOffset(0.925));
|
||||||
|
|
||||||
|
if (!version.isNewerThanOrEquals(ServerVersion.V_1_20)) return;
|
||||||
|
|
||||||
|
register(builder(p, "sniffer", EntityTypes.SNIFFER)
|
||||||
|
.setHologramOffset(0.125));
|
||||||
|
|
||||||
|
register(builder(p, "camel", EntityTypes.CAMEL)
|
||||||
|
.setHologramOffset(0.25));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Collection<NpcTypeImpl> getAll() {
|
public Collection<NpcTypeImpl> getAll() {
|
||||||
|
|
Loading…
Reference in a new issue