diff --git a/v1_19_R2/src/main/java/net/citizensnpcs/nms/v1_19_R2/util/CustomEntityRegistry.java b/v1_19_R2/src/main/java/net/citizensnpcs/nms/v1_19_R2/util/CustomEntityRegistry.java index 6b7c8ca9e..bfa248613 100644 --- a/v1_19_R2/src/main/java/net/citizensnpcs/nms/v1_19_R2/util/CustomEntityRegistry.java +++ b/v1_19_R2/src/main/java/net/citizensnpcs/nms/v1_19_R2/util/CustomEntityRegistry.java @@ -195,11 +195,6 @@ public class CustomEntityRegistry extends DefaultedMappedRegistry> return this.wrapped.containsKey(var0); } - @Override - public Reference> createIntrusiveHolder(EntityType var0) { - return wrapped.createIntrusiveHolder(var0); - } - @Override public HolderGetter> createRegistrationLookup() { return wrapped.createRegistrationLookup(); @@ -212,19 +207,6 @@ public class CustomEntityRegistry extends DefaultedMappedRegistry> public EntityType findType(Class search) { return minecraftClassMap.inverse().get(search); - /* - for (Object type : wrapped) { - if (minecraftClassMap.get(type) == search) { - return (EntityTypes) type; - } - } - return null; - */ - } - - @Override - public Registry> freeze() { - return wrapped.freeze(); } @Override @@ -347,17 +329,6 @@ public class CustomEntityRegistry extends DefaultedMappedRegistry> entityIds.put(entityClass, entityId); } - @Override - public Reference> register(ResourceKey> key, EntityType type, Lifecycle lifecycle) { - return wrapped.register(key, type, lifecycle); - } - - @Override - public Reference> registerMapping(int var0, ResourceKey> key, EntityType type, - Lifecycle lifecycle) { - return wrapped.registerMapping(var0, key, type, lifecycle); - } - @Override public Set>> registryKeySet() { return wrapped.registryKeySet(); diff --git a/v1_19_R2/src/main/java/net/citizensnpcs/nms/v1_19_R2/util/NMSImpl.java b/v1_19_R2/src/main/java/net/citizensnpcs/nms/v1_19_R2/util/NMSImpl.java index 8fde94031..92c179608 100644 --- a/v1_19_R2/src/main/java/net/citizensnpcs/nms/v1_19_R2/util/NMSImpl.java +++ b/v1_19_R2/src/main/java/net/citizensnpcs/nms/v1_19_R2/util/NMSImpl.java @@ -2310,7 +2310,6 @@ public class NMSImpl implements NMSBridge { } private static final MethodHandle ADVANCEMENTS_PLAYER_FIELD = NMS.getFinalSetter(ServerPlayer.class, "cq"); - private static final Set BAD_CONTROLLER_LOOK = EnumSet.of(EntityType.POLAR_BEAR, EntityType.BEE, EntityType.SILVERFISH, EntityType.SHULKER, EntityType.ENDERMITE, EntityType.ENDER_DRAGON, EntityType.BAT, EntityType.SLIME, EntityType.DOLPHIN, EntityType.MAGMA_CUBE, EntityType.HORSE, EntityType.GHAST,