mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-29 06:05:17 +01:00
1.16.4 initial update
This commit is contained in:
parent
9ff38f0080
commit
55922168d2
2
dist/pom.xml
vendored
2
dist/pom.xml
vendored
@ -82,7 +82,7 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>citizens-v1_16_R2</artifactId>
|
<artifactId>citizens-v1_16_R3</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<craftbukkit.version>1.16.3-R0.1-SNAPSHOT</craftbukkit.version>
|
<craftbukkit.version>1.16.4-R0.1-SNAPSHOT</craftbukkit.version>
|
||||||
<citizensapi.version>${project.version}</citizensapi.version>
|
<citizensapi.version>${project.version}</citizensapi.version>
|
||||||
<powermock.version>1.4.12</powermock.version>
|
<powermock.version>1.4.12</powermock.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
@ -209,8 +209,6 @@ public class Text extends Trait implements Runnable, Toggleable, Listener, Conve
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean sendText(Player player) {
|
private boolean sendText(Player player) {
|
||||||
if (!player.hasPermission("citizens.admin") && !player.hasPermission("citizens.npc.talk"))
|
|
||||||
return false;
|
|
||||||
if (text.size() == 0)
|
if (text.size() == 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
2
pom.xml
2
pom.xml
@ -24,7 +24,7 @@
|
|||||||
<module>v1_13_R2</module>
|
<module>v1_13_R2</module>
|
||||||
<module>v1_14_R1</module>
|
<module>v1_14_R1</module>
|
||||||
<module>v1_15_R1</module>
|
<module>v1_15_R1</module>
|
||||||
<module>v1_16_R2</module>
|
<module>v1_16_R3</module>
|
||||||
<module>dist</module>
|
<module>dist</module>
|
||||||
</modules>
|
</modules>
|
||||||
</project>
|
</project>
|
@ -8,11 +8,11 @@
|
|||||||
<artifactId>citizens-parent</artifactId>
|
<artifactId>citizens-parent</artifactId>
|
||||||
<version>2.0.27-SNAPSHOT</version>
|
<version>2.0.27-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>citizens-v1_16_R2</artifactId>
|
<artifactId>citizens-v1_16_R3</artifactId>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<craftbukkit.version>1.16.3-R0.1-SNAPSHOT</craftbukkit.version>
|
<craftbukkit.version>1.16.4-R0.1-SNAPSHOT</craftbukkit.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
@ -1,28 +1,28 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftBat;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftBat;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Bat;
|
import org.bukkit.entity.Bat;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBat;
|
import net.minecraft.server.v1_16_R3.EntityBat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class BatController extends MobEntityController {
|
public class BatController extends MobEntityController {
|
||||||
public BatController() {
|
public BatController() {
|
||||||
@ -72,7 +72,7 @@ public class BatController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,28 +1,28 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftBee;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftBee;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Bee;
|
import org.bukkit.entity.Bee;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBee;
|
import net.minecraft.server.v1_16_R3.EntityBee;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class BeeController extends MobEntityController {
|
public class BeeController extends MobEntityController {
|
||||||
public BeeController() {
|
public BeeController() {
|
||||||
@ -71,7 +71,7 @@ public class BeeController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,28 +1,28 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftBlaze;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftBlaze;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Blaze;
|
import org.bukkit.entity.Blaze;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBlaze;
|
import net.minecraft.server.v1_16_R3.EntityBlaze;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class BlazeController extends MobEntityController {
|
public class BlazeController extends MobEntityController {
|
||||||
public BlazeController() {
|
public BlazeController() {
|
||||||
@ -71,7 +71,7 @@ public class BlazeController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,32 +1,32 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftCat;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftCat;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Cat;
|
import org.bukkit.entity.Cat;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityCat;
|
import net.minecraft.server.v1_16_R3.EntityCat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class CatController extends MobEntityController {
|
public class CatController extends MobEntityController {
|
||||||
public CatController() {
|
public CatController() {
|
||||||
@ -101,7 +101,7 @@ public class CatController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftCaveSpider;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftCaveSpider;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.CaveSpider;
|
import org.bukkit.entity.CaveSpider;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityCaveSpider;
|
import net.minecraft.server.v1_16_R3.EntityCaveSpider;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class CaveSpiderController extends MobEntityController {
|
public class CaveSpiderController extends MobEntityController {
|
||||||
public CaveSpiderController() {
|
public CaveSpiderController() {
|
||||||
@ -89,7 +89,7 @@ public class CaveSpiderController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,32 +1,32 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftChicken;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftChicken;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Chicken;
|
import org.bukkit.entity.Chicken;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityChicken;
|
import net.minecraft.server.v1_16_R3.EntityChicken;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class ChickenController extends MobEntityController {
|
public class ChickenController extends MobEntityController {
|
||||||
public ChickenController() {
|
public ChickenController() {
|
||||||
@ -102,7 +102,7 @@ public class ChickenController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,38 +1,38 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftCod;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftCod;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Cod;
|
import org.bukkit.entity.Cod;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerMove;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerMove;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.ControllerMove;
|
import net.minecraft.server.v1_16_R3.ControllerMove;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityCod;
|
import net.minecraft.server.v1_16_R3.EntityCod;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumHand;
|
import net.minecraft.server.v1_16_R3.EnumHand;
|
||||||
import net.minecraft.server.v1_16_R2.EnumInteractionResult;
|
import net.minecraft.server.v1_16_R3.EnumInteractionResult;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.ItemStack;
|
import net.minecraft.server.v1_16_R3.ItemStack;
|
||||||
import net.minecraft.server.v1_16_R2.Items;
|
import net.minecraft.server.v1_16_R3.Items;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class CodController extends MobEntityController {
|
public class CodController extends MobEntityController {
|
||||||
public CodController() {
|
public CodController() {
|
||||||
@ -110,7 +110,7 @@ public class CodController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,37 +1,37 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftCow;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftCow;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Cow;
|
import org.bukkit.entity.Cow;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityCow;
|
import net.minecraft.server.v1_16_R3.EntityCow;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumHand;
|
import net.minecraft.server.v1_16_R3.EnumHand;
|
||||||
import net.minecraft.server.v1_16_R2.EnumInteractionResult;
|
import net.minecraft.server.v1_16_R3.EnumInteractionResult;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.ItemStack;
|
import net.minecraft.server.v1_16_R3.ItemStack;
|
||||||
import net.minecraft.server.v1_16_R2.Items;
|
import net.minecraft.server.v1_16_R3.Items;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class CowController extends MobEntityController {
|
public class CowController extends MobEntityController {
|
||||||
public CowController() {
|
public CowController() {
|
||||||
@ -117,7 +117,7 @@ public class CowController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,33 +1,33 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftCreeper;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftCreeper;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Creeper;
|
import org.bukkit.entity.Creeper;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityCreeper;
|
import net.minecraft.server.v1_16_R3.EntityCreeper;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLightning;
|
import net.minecraft.server.v1_16_R3.EntityLightning;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
import net.minecraft.server.v1_16_R2.WorldServer;
|
import net.minecraft.server.v1_16_R3.WorldServer;
|
||||||
|
|
||||||
public class CreeperController extends MobEntityController {
|
public class CreeperController extends MobEntityController {
|
||||||
public CreeperController() {
|
public CreeperController() {
|
||||||
@ -92,7 +92,7 @@ public class CreeperController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,35 +1,35 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftDolphin;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftDolphin;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Dolphin;
|
import org.bukkit.entity.Dolphin;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerMove;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerMove;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.ControllerMove;
|
import net.minecraft.server.v1_16_R3.ControllerMove;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityDolphin;
|
import net.minecraft.server.v1_16_R3.EntityDolphin;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.Navigation;
|
import net.minecraft.server.v1_16_R3.Navigation;
|
||||||
import net.minecraft.server.v1_16_R2.NavigationAbstract;
|
import net.minecraft.server.v1_16_R3.NavigationAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class DolphinController extends MobEntityController {
|
public class DolphinController extends MobEntityController {
|
||||||
public DolphinController() {
|
public DolphinController() {
|
||||||
@ -81,8 +81,8 @@ public class DolphinController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean aF() {
|
public boolean aG() {
|
||||||
return npc == null ? super.aF() : true;
|
return npc == null ? super.aG() : true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -106,7 +106,7 @@ public class DolphinController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftDrowned;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftDrowned;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Drowned;
|
import org.bukkit.entity.Drowned;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityDrowned;
|
import net.minecraft.server.v1_16_R3.EntityDrowned;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class DrownedController extends MobEntityController {
|
public class DrownedController extends MobEntityController {
|
||||||
public DrownedController() {
|
public DrownedController() {
|
||||||
@ -89,7 +89,7 @@ public class DrownedController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,29 +1,29 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEnderDragon;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEnderDragon;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.EnderDragon;
|
import org.bukkit.entity.EnderDragon;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityEnderDragon;
|
import net.minecraft.server.v1_16_R3.EntityEnderDragon;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class EnderDragonController extends MobEntityController {
|
public class EnderDragonController extends MobEntityController {
|
||||||
public EnderDragonController() {
|
public EnderDragonController() {
|
||||||
@ -72,7 +72,7 @@ public class EnderDragonController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEnderman;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEnderman;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Enderman;
|
import org.bukkit.entity.Enderman;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityEnderman;
|
import net.minecraft.server.v1_16_R3.EntityEnderman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class EndermanController extends MobEntityController {
|
public class EndermanController extends MobEntityController {
|
||||||
public EndermanController() {
|
public EndermanController() {
|
||||||
@ -97,7 +97,7 @@ public class EndermanController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEndermite;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEndermite;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Endermite;
|
import org.bukkit.entity.Endermite;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityEndermite;
|
import net.minecraft.server.v1_16_R3.EntityEndermite;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class EndermiteController extends MobEntityController {
|
public class EndermiteController extends MobEntityController {
|
||||||
public EndermiteController() {
|
public EndermiteController() {
|
||||||
@ -89,7 +89,7 @@ public class EndermiteController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,4 +1,4 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.lang.invoke.MethodHandle;
|
import java.lang.invoke.MethodHandle;
|
||||||
@ -9,8 +9,8 @@ import java.util.function.Consumer;
|
|||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPlayer;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftPlayer;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.metadata.MetadataValue;
|
import org.bukkit.metadata.MetadataValue;
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
@ -28,16 +28,16 @@ import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
|||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.api.trait.trait.Inventory;
|
import net.citizensnpcs.api.trait.trait.Inventory;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.network.EmptyNetHandler;
|
import net.citizensnpcs.nms.v1_16_R3.network.EmptyNetHandler;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.network.EmptyNetworkManager;
|
import net.citizensnpcs.nms.v1_16_R3.network.EmptyNetworkManager;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.network.EmptySocket;
|
import net.citizensnpcs.nms.v1_16_R3.network.EmptySocket;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.EmptyAdvancementDataPlayer;
|
import net.citizensnpcs.nms.v1_16_R3.util.EmptyAdvancementDataPlayer;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerJump;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerJump;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerLook;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerLook;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerMove;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerMove;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerNavigation;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerNavigation;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerlistTracker;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerlistTracker;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.npc.skin.SkinPacketTracker;
|
import net.citizensnpcs.npc.skin.SkinPacketTracker;
|
||||||
@ -46,32 +46,32 @@ import net.citizensnpcs.trait.Gravity;
|
|||||||
import net.citizensnpcs.trait.SkinTrait;
|
import net.citizensnpcs.trait.SkinTrait;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.AttributeBase;
|
import net.minecraft.server.v1_16_R3.AttributeBase;
|
||||||
import net.minecraft.server.v1_16_R2.AttributeMapBase;
|
import net.minecraft.server.v1_16_R3.AttributeMapBase;
|
||||||
import net.minecraft.server.v1_16_R2.AttributeModifiable;
|
import net.minecraft.server.v1_16_R3.AttributeModifiable;
|
||||||
import net.minecraft.server.v1_16_R2.AttributeProvider;
|
import net.minecraft.server.v1_16_R3.AttributeProvider;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.ChatComponentText;
|
import net.minecraft.server.v1_16_R3.ChatComponentText;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPlayer;
|
import net.minecraft.server.v1_16_R3.EntityPlayer;
|
||||||
import net.minecraft.server.v1_16_R2.EnumGamemode;
|
import net.minecraft.server.v1_16_R3.EnumGamemode;
|
||||||
import net.minecraft.server.v1_16_R2.EnumItemSlot;
|
import net.minecraft.server.v1_16_R3.EnumItemSlot;
|
||||||
import net.minecraft.server.v1_16_R2.EnumProtocolDirection;
|
import net.minecraft.server.v1_16_R3.EnumProtocolDirection;
|
||||||
import net.minecraft.server.v1_16_R2.GenericAttributes;
|
import net.minecraft.server.v1_16_R3.GenericAttributes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.IChatBaseComponent;
|
import net.minecraft.server.v1_16_R3.IChatBaseComponent;
|
||||||
import net.minecraft.server.v1_16_R2.ItemStack;
|
import net.minecraft.server.v1_16_R3.ItemStack;
|
||||||
import net.minecraft.server.v1_16_R2.MinecraftServer;
|
import net.minecraft.server.v1_16_R3.MinecraftServer;
|
||||||
import net.minecraft.server.v1_16_R2.NavigationAbstract;
|
import net.minecraft.server.v1_16_R3.NavigationAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.NetworkManager;
|
import net.minecraft.server.v1_16_R3.NetworkManager;
|
||||||
import net.minecraft.server.v1_16_R2.Packet;
|
import net.minecraft.server.v1_16_R3.Packet;
|
||||||
import net.minecraft.server.v1_16_R2.PacketPlayOutEntityEquipment;
|
import net.minecraft.server.v1_16_R3.PacketPlayOutEntityEquipment;
|
||||||
import net.minecraft.server.v1_16_R2.PathType;
|
import net.minecraft.server.v1_16_R3.PathType;
|
||||||
import net.minecraft.server.v1_16_R2.PlayerInteractManager;
|
import net.minecraft.server.v1_16_R3.PlayerInteractManager;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.WorldServer;
|
import net.minecraft.server.v1_16_R3.WorldServer;
|
||||||
|
|
||||||
public class EntityHumanNPC extends EntityPlayer implements NPCHolder, SkinnableEntity {
|
public class EntityHumanNPC extends EntityPlayer implements NPCHolder, SkinnableEntity {
|
||||||
private final Map<PathType, Float> bz = Maps.newEnumMap(PathType.class);
|
private final Map<PathType, Float> bz = Maps.newEnumMap(PathType.class);
|
||||||
@ -137,7 +137,7 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder, Skinnable
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEvoker;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEvoker;
|
||||||
import org.bukkit.entity.Evoker;
|
import org.bukkit.entity.Evoker;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityEvoker;
|
import net.minecraft.server.v1_16_R3.EntityEvoker;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class EvokerController extends MobEntityController {
|
public class EvokerController extends MobEntityController {
|
||||||
public EvokerController() {
|
public EvokerController() {
|
||||||
@ -75,7 +75,7 @@ public class EvokerController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,32 +1,32 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftFox;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftFox;
|
||||||
import org.bukkit.entity.Fox;
|
import org.bukkit.entity.Fox;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityFox;
|
import net.minecraft.server.v1_16_R3.EntityFox;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class FoxController extends MobEntityController {
|
public class FoxController extends MobEntityController {
|
||||||
public FoxController() {
|
public FoxController() {
|
||||||
@ -87,7 +87,7 @@ public class FoxController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,28 +1,28 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftGhast;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftGhast;
|
||||||
import org.bukkit.entity.Ghast;
|
import org.bukkit.entity.Ghast;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityGhast;
|
import net.minecraft.server.v1_16_R3.EntityGhast;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class GhastController extends MobEntityController {
|
public class GhastController extends MobEntityController {
|
||||||
public GhastController() {
|
public GhastController() {
|
||||||
@ -57,7 +57,7 @@ public class GhastController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftGiant;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftGiant;
|
||||||
import org.bukkit.entity.Giant;
|
import org.bukkit.entity.Giant;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityGiantZombie;
|
import net.minecraft.server.v1_16_R3.EntityGiantZombie;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class GiantController extends MobEntityController {
|
public class GiantController extends MobEntityController {
|
||||||
public GiantController() {
|
public GiantController() {
|
||||||
@ -75,7 +75,7 @@ public class GiantController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftGuardian;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftGuardian;
|
||||||
import org.bukkit.entity.Guardian;
|
import org.bukkit.entity.Guardian;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityGuardian;
|
import net.minecraft.server.v1_16_R3.EntityGuardian;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class GuardianController extends MobEntityController {
|
public class GuardianController extends MobEntityController {
|
||||||
public GuardianController() {
|
public GuardianController() {
|
||||||
@ -75,7 +75,7 @@ public class GuardianController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftElderGuardian;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftElderGuardian;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.ElderGuardian;
|
import org.bukkit.entity.ElderGuardian;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityGuardianElder;
|
import net.minecraft.server.v1_16_R3.EntityGuardianElder;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class GuardianElderController extends MobEntityController {
|
public class GuardianElderController extends MobEntityController {
|
||||||
public GuardianElderController() {
|
public GuardianElderController() {
|
||||||
@ -75,7 +75,7 @@ public class GuardianElderController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,34 +1,34 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftHoglin;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftHoglin;
|
||||||
import org.bukkit.entity.Hoglin;
|
import org.bukkit.entity.Hoglin;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BehaviorController;
|
import net.minecraft.server.v1_16_R3.BehaviorController;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHoglin;
|
import net.minecraft.server.v1_16_R3.EntityHoglin;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class HoglinController extends MobEntityController {
|
public class HoglinController extends MobEntityController {
|
||||||
public HoglinController() {
|
public HoglinController() {
|
||||||
@ -80,7 +80,7 @@ public class HoglinController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,37 +1,37 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftHorse;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftHorse;
|
||||||
import org.bukkit.entity.Horse;
|
import org.bukkit.entity.Horse;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.trait.Controllable;
|
import net.citizensnpcs.trait.Controllable;
|
||||||
import net.citizensnpcs.trait.HorseModifiers;
|
import net.citizensnpcs.trait.HorseModifiers;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHorse;
|
import net.minecraft.server.v1_16_R3.EntityHorse;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.GenericAttributes;
|
import net.minecraft.server.v1_16_R3.GenericAttributes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class HorseController extends MobEntityController {
|
public class HorseController extends MobEntityController {
|
||||||
public HorseController() {
|
public HorseController() {
|
||||||
@ -112,7 +112,7 @@ public class HorseController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,37 +1,37 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftDonkey;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftDonkey;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Donkey;
|
import org.bukkit.entity.Donkey;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.trait.Controllable;
|
import net.citizensnpcs.trait.Controllable;
|
||||||
import net.citizensnpcs.trait.HorseModifiers;
|
import net.citizensnpcs.trait.HorseModifiers;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHorseDonkey;
|
import net.minecraft.server.v1_16_R3.EntityHorseDonkey;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.GenericAttributes;
|
import net.minecraft.server.v1_16_R3.GenericAttributes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class HorseDonkeyController extends MobEntityController {
|
public class HorseDonkeyController extends MobEntityController {
|
||||||
public HorseDonkeyController() {
|
public HorseDonkeyController() {
|
||||||
@ -111,7 +111,7 @@ public class HorseDonkeyController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,37 +1,37 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftMule;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftMule;
|
||||||
import org.bukkit.entity.Mule;
|
import org.bukkit.entity.Mule;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.trait.Controllable;
|
import net.citizensnpcs.trait.Controllable;
|
||||||
import net.citizensnpcs.trait.HorseModifiers;
|
import net.citizensnpcs.trait.HorseModifiers;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHorseMule;
|
import net.minecraft.server.v1_16_R3.EntityHorseMule;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.GenericAttributes;
|
import net.minecraft.server.v1_16_R3.GenericAttributes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class HorseMuleController extends MobEntityController {
|
public class HorseMuleController extends MobEntityController {
|
||||||
public HorseMuleController() {
|
public HorseMuleController() {
|
||||||
@ -111,7 +111,7 @@ public class HorseMuleController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,37 +1,37 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftSkeletonHorse;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftSkeletonHorse;
|
||||||
import org.bukkit.entity.SkeletonHorse;
|
import org.bukkit.entity.SkeletonHorse;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.trait.Controllable;
|
import net.citizensnpcs.trait.Controllable;
|
||||||
import net.citizensnpcs.trait.HorseModifiers;
|
import net.citizensnpcs.trait.HorseModifiers;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHorseSkeleton;
|
import net.minecraft.server.v1_16_R3.EntityHorseSkeleton;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.GenericAttributes;
|
import net.minecraft.server.v1_16_R3.GenericAttributes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class HorseSkeletonController extends MobEntityController {
|
public class HorseSkeletonController extends MobEntityController {
|
||||||
public HorseSkeletonController() {
|
public HorseSkeletonController() {
|
||||||
@ -112,7 +112,7 @@ public class HorseSkeletonController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,37 +1,37 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftZombieHorse;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftZombieHorse;
|
||||||
import org.bukkit.entity.ZombieHorse;
|
import org.bukkit.entity.ZombieHorse;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.trait.Controllable;
|
import net.citizensnpcs.trait.Controllable;
|
||||||
import net.citizensnpcs.trait.HorseModifiers;
|
import net.citizensnpcs.trait.HorseModifiers;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHorseZombie;
|
import net.minecraft.server.v1_16_R3.EntityHorseZombie;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.GenericAttributes;
|
import net.minecraft.server.v1_16_R3.GenericAttributes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class HorseZombieController extends MobEntityController {
|
public class HorseZombieController extends MobEntityController {
|
||||||
public HorseZombieController() {
|
public HorseZombieController() {
|
||||||
@ -112,7 +112,7 @@ public class HorseZombieController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,10 +1,10 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftWorld;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftWorld;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.scoreboard.Scoreboard;
|
import org.bukkit.scoreboard.Scoreboard;
|
||||||
@ -20,8 +20,8 @@ import net.citizensnpcs.npc.skin.Skin;
|
|||||||
import net.citizensnpcs.npc.skin.SkinnableEntity;
|
import net.citizensnpcs.npc.skin.SkinnableEntity;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.PlayerInteractManager;
|
import net.minecraft.server.v1_16_R3.PlayerInteractManager;
|
||||||
import net.minecraft.server.v1_16_R2.WorldServer;
|
import net.minecraft.server.v1_16_R3.WorldServer;
|
||||||
|
|
||||||
public class HumanController extends AbstractEntityController {
|
public class HumanController extends AbstractEntityController {
|
||||||
public HumanController() {
|
public HumanController() {
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftIllusioner;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftIllusioner;
|
||||||
import org.bukkit.entity.Illusioner;
|
import org.bukkit.entity.Illusioner;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityIllagerIllusioner;
|
import net.minecraft.server.v1_16_R3.EntityIllagerIllusioner;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class IllusionerController extends MobEntityController {
|
public class IllusionerController extends MobEntityController {
|
||||||
public IllusionerController() {
|
public IllusionerController() {
|
||||||
@ -75,7 +75,7 @@ public class IllusionerController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftIronGolem;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftIronGolem;
|
||||||
import org.bukkit.entity.IronGolem;
|
import org.bukkit.entity.IronGolem;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityIronGolem;
|
import net.minecraft.server.v1_16_R3.EntityIronGolem;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class IronGolemController extends MobEntityController {
|
public class IronGolemController extends MobEntityController {
|
||||||
public IronGolemController() {
|
public IronGolemController() {
|
||||||
@ -75,7 +75,7 @@ public class IronGolemController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,35 +1,35 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftLlama;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftLlama;
|
||||||
import org.bukkit.entity.Llama;
|
import org.bukkit.entity.Llama;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.trait.HorseModifiers;
|
import net.citizensnpcs.trait.HorseModifiers;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLlama;
|
import net.minecraft.server.v1_16_R3.EntityLlama;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class LlamaController extends MobEntityController {
|
public class LlamaController extends MobEntityController {
|
||||||
public LlamaController() {
|
public LlamaController() {
|
||||||
@ -98,7 +98,7 @@ public class LlamaController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,34 +1,34 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftMagmaCube;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftMagmaCube;
|
||||||
import org.bukkit.entity.MagmaCube;
|
import org.bukkit.entity.MagmaCube;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerMove;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerMove;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.ControllerMove;
|
import net.minecraft.server.v1_16_R3.ControllerMove;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMagmaCube;
|
import net.minecraft.server.v1_16_R3.EntityMagmaCube;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class MagmaCubeController extends MobEntityController {
|
public class MagmaCubeController extends MobEntityController {
|
||||||
public MagmaCubeController() {
|
public MagmaCubeController() {
|
||||||
@ -82,7 +82,7 @@ public class MagmaCubeController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,4 +1,4 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import java.lang.invoke.MethodHandle;
|
import java.lang.invoke.MethodHandle;
|
||||||
import java.lang.reflect.Constructor;
|
import java.lang.reflect.Constructor;
|
||||||
@ -6,17 +6,17 @@ import java.util.Map;
|
|||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.block.BlockFace;
|
import org.bukkit.block.BlockFace;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftWorld;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftWorld;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
|
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
|
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.AbstractEntityController;
|
import net.citizensnpcs.npc.AbstractEntityController;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public abstract class MobEntityController extends AbstractEntityController {
|
public abstract class MobEntityController extends AbstractEntityController {
|
||||||
private final Class<?> clazz;
|
private final Class<?> clazz;
|
||||||
@ -31,7 +31,7 @@ public abstract class MobEntityController extends AbstractEntityController {
|
|||||||
@Override
|
@Override
|
||||||
protected Entity createEntity(Location at, NPC npc) {
|
protected Entity createEntity(Location at, NPC npc) {
|
||||||
EntityTypes<?> type = NMSImpl.getEntityType(clazz);
|
EntityTypes<?> type = NMSImpl.getEntityType(clazz);
|
||||||
net.minecraft.server.v1_16_R2.Entity entity = createEntityFromClass(type,
|
net.minecraft.server.v1_16_R3.Entity entity = createEntityFromClass(type,
|
||||||
((CraftWorld) at.getWorld()).getHandle(), npc);
|
((CraftWorld) at.getWorld()).getHandle(), npc);
|
||||||
entity.setPositionRotation(at.getX(), at.getY(), at.getZ(), at.getYaw(), at.getPitch());
|
entity.setPositionRotation(at.getX(), at.getY(), at.getZ(), at.getYaw(), at.getPitch());
|
||||||
|
|
||||||
@ -49,9 +49,9 @@ public abstract class MobEntityController extends AbstractEntityController {
|
|||||||
return entity.getBukkitEntity();
|
return entity.getBukkitEntity();
|
||||||
}
|
}
|
||||||
|
|
||||||
private net.minecraft.server.v1_16_R2.Entity createEntityFromClass(Object... args) {
|
private net.minecraft.server.v1_16_R3.Entity createEntityFromClass(Object... args) {
|
||||||
try {
|
try {
|
||||||
return (net.minecraft.server.v1_16_R2.Entity) constructor.newInstance(args);
|
return (net.minecraft.server.v1_16_R3.Entity) constructor.newInstance(args);
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
return null;
|
return null;
|
||||||
@ -71,6 +71,6 @@ public abstract class MobEntityController extends AbstractEntityController {
|
|||||||
|
|
||||||
private static final Map<Class<?>, Constructor<?>> CONSTRUCTOR_CACHE = Maps.newHashMap();
|
private static final Map<Class<?>, Constructor<?>> CONSTRUCTOR_CACHE = Maps.newHashMap();
|
||||||
|
|
||||||
private static final MethodHandle UUID_FIELD = NMS.getSetter(net.minecraft.server.v1_16_R2.Entity.class,
|
private static final MethodHandle UUID_FIELD = NMS.getSetter(net.minecraft.server.v1_16_R3.Entity.class,
|
||||||
"uniqueID");
|
"uniqueID");
|
||||||
}
|
}
|
@ -1,35 +1,35 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftMushroomCow;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftMushroomCow;
|
||||||
import org.bukkit.entity.MushroomCow;
|
import org.bukkit.entity.MushroomCow;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMushroomCow;
|
import net.minecraft.server.v1_16_R3.EntityMushroomCow;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumHand;
|
import net.minecraft.server.v1_16_R3.EnumHand;
|
||||||
import net.minecraft.server.v1_16_R2.EnumInteractionResult;
|
import net.minecraft.server.v1_16_R3.EnumInteractionResult;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class MushroomCowController extends MobEntityController {
|
public class MushroomCowController extends MobEntityController {
|
||||||
|
|
||||||
@ -99,7 +99,7 @@ public class MushroomCowController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,33 +1,33 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftOcelot;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftOcelot;
|
||||||
import org.bukkit.entity.Ocelot;
|
import org.bukkit.entity.Ocelot;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityOcelot;
|
import net.minecraft.server.v1_16_R3.EntityOcelot;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPose;
|
import net.minecraft.server.v1_16_R3.EntityPose;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class OcelotController extends MobEntityController {
|
public class OcelotController extends MobEntityController {
|
||||||
public OcelotController() {
|
public OcelotController() {
|
||||||
@ -89,7 +89,7 @@ public class OcelotController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,32 +1,32 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPanda;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftPanda;
|
||||||
import org.bukkit.entity.Panda;
|
import org.bukkit.entity.Panda;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPanda;
|
import net.minecraft.server.v1_16_R3.EntityPanda;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class PandaController extends MobEntityController {
|
public class PandaController extends MobEntityController {
|
||||||
public PandaController() {
|
public PandaController() {
|
||||||
@ -87,7 +87,7 @@ public class PandaController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftParrot;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftParrot;
|
||||||
import org.bukkit.entity.Parrot;
|
import org.bukkit.entity.Parrot;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityParrot;
|
import net.minecraft.server.v1_16_R3.EntityParrot;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumHand;
|
import net.minecraft.server.v1_16_R3.EnumHand;
|
||||||
import net.minecraft.server.v1_16_R2.EnumInteractionResult;
|
import net.minecraft.server.v1_16_R3.EnumInteractionResult;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class ParrotController extends MobEntityController {
|
public class ParrotController extends MobEntityController {
|
||||||
public ParrotController() {
|
public ParrotController() {
|
||||||
@ -69,7 +69,7 @@ public class ParrotController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,36 +1,36 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPhantom;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftPhantom;
|
||||||
import org.bukkit.entity.Phantom;
|
import org.bukkit.entity.Phantom;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerMove;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerMove;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.ControllerLook;
|
import net.minecraft.server.v1_16_R3.ControllerLook;
|
||||||
import net.minecraft.server.v1_16_R2.ControllerMove;
|
import net.minecraft.server.v1_16_R3.ControllerMove;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPhantom;
|
import net.minecraft.server.v1_16_R3.EntityPhantom;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumDifficulty;
|
import net.minecraft.server.v1_16_R3.EnumDifficulty;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
import net.minecraft.server.v1_16_R2.WorldDataServer;
|
import net.minecraft.server.v1_16_R3.WorldDataServer;
|
||||||
|
|
||||||
public class PhantomController extends MobEntityController {
|
public class PhantomController extends MobEntityController {
|
||||||
public PhantomController() {
|
public PhantomController() {
|
||||||
@ -88,7 +88,7 @@ public class PhantomController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,34 +1,34 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPig;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftPig;
|
||||||
import org.bukkit.entity.Pig;
|
import org.bukkit.entity.Pig;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLightning;
|
import net.minecraft.server.v1_16_R3.EntityLightning;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPig;
|
import net.minecraft.server.v1_16_R3.EntityPig;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
import net.minecraft.server.v1_16_R2.WorldServer;
|
import net.minecraft.server.v1_16_R3.WorldServer;
|
||||||
|
|
||||||
public class PigController extends MobEntityController {
|
public class PigController extends MobEntityController {
|
||||||
public PigController() {
|
public PigController() {
|
||||||
@ -90,7 +90,7 @@ public class PigController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPigZombie;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftPigZombie;
|
||||||
import org.bukkit.entity.PigZombie;
|
import org.bukkit.entity.PigZombie;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPigZombie;
|
import net.minecraft.server.v1_16_R3.EntityPigZombie;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class PigZombieController extends MobEntityController {
|
public class PigZombieController extends MobEntityController {
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ public class PigZombieController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,34 +1,34 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPiglinBrute;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftPiglinBrute;
|
||||||
import org.bukkit.entity.PiglinBrute;
|
import org.bukkit.entity.PiglinBrute;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BehaviorController;
|
import net.minecraft.server.v1_16_R3.BehaviorController;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPiglinBrute;
|
import net.minecraft.server.v1_16_R3.EntityPiglinBrute;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class PiglinBruteController extends MobEntityController {
|
public class PiglinBruteController extends MobEntityController {
|
||||||
public PiglinBruteController() {
|
public PiglinBruteController() {
|
||||||
@ -80,7 +80,7 @@ public class PiglinBruteController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,34 +1,34 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPiglin;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftPiglin;
|
||||||
import org.bukkit.entity.Piglin;
|
import org.bukkit.entity.Piglin;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BehaviorController;
|
import net.minecraft.server.v1_16_R3.BehaviorController;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPiglin;
|
import net.minecraft.server.v1_16_R3.EntityPiglin;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class PiglinController extends MobEntityController {
|
public class PiglinController extends MobEntityController {
|
||||||
public PiglinController() {
|
public PiglinController() {
|
||||||
@ -80,7 +80,7 @@ public class PiglinController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,32 +1,32 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPillager;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftPillager;
|
||||||
import org.bukkit.entity.Pillager;
|
import org.bukkit.entity.Pillager;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPillager;
|
import net.minecraft.server.v1_16_R3.EntityPillager;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class PillagerController extends MobEntityController {
|
public class PillagerController extends MobEntityController {
|
||||||
public PillagerController() {
|
public PillagerController() {
|
||||||
@ -87,7 +87,7 @@ public class PillagerController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,29 +1,29 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPolarBear;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftPolarBear;
|
||||||
import org.bukkit.entity.PolarBear;
|
import org.bukkit.entity.PolarBear;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPolarBear;
|
import net.minecraft.server.v1_16_R3.EntityPolarBear;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class PolarBearController extends MobEntityController {
|
public class PolarBearController extends MobEntityController {
|
||||||
public PolarBearController() {
|
public PolarBearController() {
|
||||||
@ -71,7 +71,7 @@ public class PolarBearController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,41 +1,41 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPufferFish;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftPufferFish;
|
||||||
import org.bukkit.entity.PufferFish;
|
import org.bukkit.entity.PufferFish;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerMove;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerMove;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.trait.versioned.PufferFishTrait;
|
import net.citizensnpcs.trait.versioned.PufferFishTrait;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.ControllerMove;
|
import net.minecraft.server.v1_16_R3.ControllerMove;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPose;
|
import net.minecraft.server.v1_16_R3.EntityPose;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPufferFish;
|
import net.minecraft.server.v1_16_R3.EntityPufferFish;
|
||||||
import net.minecraft.server.v1_16_R2.EntitySize;
|
import net.minecraft.server.v1_16_R3.EntitySize;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumHand;
|
import net.minecraft.server.v1_16_R3.EnumHand;
|
||||||
import net.minecraft.server.v1_16_R2.EnumInteractionResult;
|
import net.minecraft.server.v1_16_R3.EnumInteractionResult;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.ItemStack;
|
import net.minecraft.server.v1_16_R3.ItemStack;
|
||||||
import net.minecraft.server.v1_16_R2.Items;
|
import net.minecraft.server.v1_16_R3.Items;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class PufferFishController extends MobEntityController {
|
public class PufferFishController extends MobEntityController {
|
||||||
public PufferFishController() {
|
public PufferFishController() {
|
||||||
@ -107,7 +107,7 @@ public class PufferFishController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,34 +1,34 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftRabbit;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftRabbit;
|
||||||
import org.bukkit.entity.Rabbit;
|
import org.bukkit.entity.Rabbit;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLiving;
|
import net.minecraft.server.v1_16_R3.EntityLiving;
|
||||||
import net.minecraft.server.v1_16_R2.EntityRabbit;
|
import net.minecraft.server.v1_16_R3.EntityRabbit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class RabbitController extends MobEntityController {
|
public class RabbitController extends MobEntityController {
|
||||||
public RabbitController() {
|
public RabbitController() {
|
||||||
@ -91,7 +91,7 @@ public class RabbitController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,32 +1,32 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftRavager;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftRavager;
|
||||||
import org.bukkit.entity.Ravager;
|
import org.bukkit.entity.Ravager;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityRavager;
|
import net.minecraft.server.v1_16_R3.EntityRavager;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class RavagerController extends MobEntityController {
|
public class RavagerController extends MobEntityController {
|
||||||
public RavagerController() {
|
public RavagerController() {
|
||||||
@ -87,7 +87,7 @@ public class RavagerController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,38 +1,38 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftSalmon;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftSalmon;
|
||||||
import org.bukkit.entity.Salmon;
|
import org.bukkit.entity.Salmon;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerMove;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerMove;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.ControllerMove;
|
import net.minecraft.server.v1_16_R3.ControllerMove;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntitySalmon;
|
import net.minecraft.server.v1_16_R3.EntitySalmon;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumHand;
|
import net.minecraft.server.v1_16_R3.EnumHand;
|
||||||
import net.minecraft.server.v1_16_R2.EnumInteractionResult;
|
import net.minecraft.server.v1_16_R3.EnumInteractionResult;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.ItemStack;
|
import net.minecraft.server.v1_16_R3.ItemStack;
|
||||||
import net.minecraft.server.v1_16_R2.Items;
|
import net.minecraft.server.v1_16_R3.Items;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class SalmonController extends MobEntityController {
|
public class SalmonController extends MobEntityController {
|
||||||
public SalmonController() {
|
public SalmonController() {
|
||||||
@ -96,7 +96,7 @@ public class SalmonController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,32 +1,32 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftSheep;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftSheep;
|
||||||
import org.bukkit.entity.Sheep;
|
import org.bukkit.entity.Sheep;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntitySheep;
|
import net.minecraft.server.v1_16_R3.EntitySheep;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class SheepController extends MobEntityController {
|
public class SheepController extends MobEntityController {
|
||||||
public SheepController() {
|
public SheepController() {
|
||||||
@ -89,7 +89,7 @@ public class SheepController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,32 +1,32 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftShulker;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftShulker;
|
||||||
import org.bukkit.entity.Shulker;
|
import org.bukkit.entity.Shulker;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityAIBodyControl;
|
import net.minecraft.server.v1_16_R3.EntityAIBodyControl;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityShulker;
|
import net.minecraft.server.v1_16_R3.EntityShulker;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class ShulkerController extends MobEntityController {
|
public class ShulkerController extends MobEntityController {
|
||||||
public ShulkerController() {
|
public ShulkerController() {
|
||||||
@ -76,7 +76,7 @@ public class ShulkerController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftSilverfish;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftSilverfish;
|
||||||
import org.bukkit.entity.Silverfish;
|
import org.bukkit.entity.Silverfish;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntitySilverfish;
|
import net.minecraft.server.v1_16_R3.EntitySilverfish;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class SilverfishController extends MobEntityController {
|
public class SilverfishController extends MobEntityController {
|
||||||
public SilverfishController() {
|
public SilverfishController() {
|
||||||
@ -75,7 +75,7 @@ public class SilverfishController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftSkeleton;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftSkeleton;
|
||||||
import org.bukkit.entity.Skeleton;
|
import org.bukkit.entity.Skeleton;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntitySkeleton;
|
import net.minecraft.server.v1_16_R3.EntitySkeleton;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class SkeletonController extends MobEntityController {
|
public class SkeletonController extends MobEntityController {
|
||||||
public SkeletonController() {
|
public SkeletonController() {
|
||||||
@ -75,7 +75,7 @@ public class SkeletonController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftStray;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftStray;
|
||||||
import org.bukkit.entity.Stray;
|
import org.bukkit.entity.Stray;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntitySkeletonStray;
|
import net.minecraft.server.v1_16_R3.EntitySkeletonStray;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class SkeletonStrayController extends MobEntityController {
|
public class SkeletonStrayController extends MobEntityController {
|
||||||
public SkeletonStrayController() {
|
public SkeletonStrayController() {
|
||||||
@ -75,7 +75,7 @@ public class SkeletonStrayController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftWitherSkeleton;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftWitherSkeleton;
|
||||||
import org.bukkit.entity.WitherSkeleton;
|
import org.bukkit.entity.WitherSkeleton;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntitySkeletonWither;
|
import net.minecraft.server.v1_16_R3.EntitySkeletonWither;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class SkeletonWitherController extends MobEntityController {
|
public class SkeletonWitherController extends MobEntityController {
|
||||||
public SkeletonWitherController() {
|
public SkeletonWitherController() {
|
||||||
@ -75,7 +75,7 @@ public class SkeletonWitherController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,34 +1,34 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftSlime;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftSlime;
|
||||||
import org.bukkit.entity.Slime;
|
import org.bukkit.entity.Slime;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerMove;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerMove;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.ControllerMove;
|
import net.minecraft.server.v1_16_R3.ControllerMove;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntitySlime;
|
import net.minecraft.server.v1_16_R3.EntitySlime;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class SlimeController extends MobEntityController {
|
public class SlimeController extends MobEntityController {
|
||||||
public SlimeController() {
|
public SlimeController() {
|
||||||
@ -82,7 +82,7 @@ public class SlimeController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,32 +1,32 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftSnowman;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftSnowman;
|
||||||
import org.bukkit.entity.Snowman;
|
import org.bukkit.entity.Snowman;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntitySnowman;
|
import net.minecraft.server.v1_16_R3.EntitySnowman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.GameRules;
|
import net.minecraft.server.v1_16_R3.GameRules;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class SnowmanController extends MobEntityController {
|
public class SnowmanController extends MobEntityController {
|
||||||
public SnowmanController() {
|
public SnowmanController() {
|
||||||
@ -76,7 +76,7 @@ public class SnowmanController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftSpider;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftSpider;
|
||||||
import org.bukkit.entity.Spider;
|
import org.bukkit.entity.Spider;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntitySpider;
|
import net.minecraft.server.v1_16_R3.EntitySpider;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class SpiderController extends MobEntityController {
|
public class SpiderController extends MobEntityController {
|
||||||
public SpiderController() {
|
public SpiderController() {
|
||||||
@ -75,7 +75,7 @@ public class SpiderController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftSquid;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftSquid;
|
||||||
import org.bukkit.entity.Squid;
|
import org.bukkit.entity.Squid;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntitySquid;
|
import net.minecraft.server.v1_16_R3.EntitySquid;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class SquidController extends MobEntityController {
|
public class SquidController extends MobEntityController {
|
||||||
public SquidController() {
|
public SquidController() {
|
||||||
@ -75,7 +75,7 @@ public class SquidController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftStrider;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftStrider;
|
||||||
import org.bukkit.entity.Strider;
|
import org.bukkit.entity.Strider;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityStrider;
|
import net.minecraft.server.v1_16_R3.EntityStrider;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class StriderController extends MobEntityController {
|
public class StriderController extends MobEntityController {
|
||||||
public StriderController() {
|
public StriderController() {
|
||||||
@ -75,7 +75,7 @@ public class StriderController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,37 +1,37 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import java.lang.invoke.MethodHandle;
|
import java.lang.invoke.MethodHandle;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftTraderLlama;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftTraderLlama;
|
||||||
import org.bukkit.entity.TraderLlama;
|
import org.bukkit.entity.TraderLlama;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.trait.HorseModifiers;
|
import net.citizensnpcs.trait.HorseModifiers;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLlamaTrader;
|
import net.minecraft.server.v1_16_R3.EntityLlamaTrader;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class TraderLlamaController extends MobEntityController {
|
public class TraderLlamaController extends MobEntityController {
|
||||||
public TraderLlamaController() {
|
public TraderLlamaController() {
|
||||||
@ -101,7 +101,7 @@ public class TraderLlamaController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,38 +1,38 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftTropicalFish;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftTropicalFish;
|
||||||
import org.bukkit.entity.TropicalFish;
|
import org.bukkit.entity.TropicalFish;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerMove;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerMove;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.ControllerMove;
|
import net.minecraft.server.v1_16_R3.ControllerMove;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTropicalFish;
|
import net.minecraft.server.v1_16_R3.EntityTropicalFish;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumHand;
|
import net.minecraft.server.v1_16_R3.EnumHand;
|
||||||
import net.minecraft.server.v1_16_R2.EnumInteractionResult;
|
import net.minecraft.server.v1_16_R3.EnumInteractionResult;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.ItemStack;
|
import net.minecraft.server.v1_16_R3.ItemStack;
|
||||||
import net.minecraft.server.v1_16_R2.Items;
|
import net.minecraft.server.v1_16_R3.Items;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class TropicalFishController extends MobEntityController {
|
public class TropicalFishController extends MobEntityController {
|
||||||
public TropicalFishController() {
|
public TropicalFishController() {
|
||||||
@ -96,7 +96,7 @@ public class TropicalFishController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,37 +1,37 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftTurtle;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftTurtle;
|
||||||
import org.bukkit.entity.Turtle;
|
import org.bukkit.entity.Turtle;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.PlayerControllerMove;
|
import net.citizensnpcs.nms.v1_16_R3.util.PlayerControllerMove;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.ControllerJump;
|
import net.minecraft.server.v1_16_R3.ControllerJump;
|
||||||
import net.minecraft.server.v1_16_R2.ControllerMove;
|
import net.minecraft.server.v1_16_R3.ControllerMove;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityInsentient;
|
import net.minecraft.server.v1_16_R3.EntityInsentient;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTurtle;
|
import net.minecraft.server.v1_16_R3.EntityTurtle;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.Navigation;
|
import net.minecraft.server.v1_16_R3.Navigation;
|
||||||
import net.minecraft.server.v1_16_R2.NavigationAbstract;
|
import net.minecraft.server.v1_16_R3.NavigationAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class TurtleController extends MobEntityController {
|
public class TurtleController extends MobEntityController {
|
||||||
public TurtleController() {
|
public TurtleController() {
|
||||||
@ -95,7 +95,7 @@ public class TurtleController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,28 +1,28 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftVex;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftVex;
|
||||||
import org.bukkit.entity.Vex;
|
import org.bukkit.entity.Vex;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EntityVex;
|
import net.minecraft.server.v1_16_R3.EntityVex;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class VexController extends MobEntityController {
|
public class VexController extends MobEntityController {
|
||||||
public VexController() {
|
public VexController() {
|
||||||
@ -58,7 +58,7 @@ public class VexController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,43 +1,43 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftVillager;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftVillager;
|
||||||
import org.bukkit.entity.Villager;
|
import org.bukkit.entity.Villager;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BehaviorController;
|
import net.minecraft.server.v1_16_R3.BehaviorController;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLightning;
|
import net.minecraft.server.v1_16_R3.EntityLightning;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EntityVillager;
|
import net.minecraft.server.v1_16_R3.EntityVillager;
|
||||||
import net.minecraft.server.v1_16_R2.EnumHand;
|
import net.minecraft.server.v1_16_R3.EnumHand;
|
||||||
import net.minecraft.server.v1_16_R2.EnumInteractionResult;
|
import net.minecraft.server.v1_16_R3.EnumInteractionResult;
|
||||||
import net.minecraft.server.v1_16_R2.GenericAttributes;
|
import net.minecraft.server.v1_16_R3.GenericAttributes;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.MerchantRecipe;
|
import net.minecraft.server.v1_16_R3.MerchantRecipe;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
import net.minecraft.server.v1_16_R2.WorldServer;
|
import net.minecraft.server.v1_16_R3.WorldServer;
|
||||||
|
|
||||||
public class VillagerController extends MobEntityController {
|
public class VillagerController extends MobEntityController {
|
||||||
public VillagerController() {
|
public VillagerController() {
|
||||||
@ -116,7 +116,7 @@ public class VillagerController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,32 +1,32 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftVindicator;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftVindicator;
|
||||||
import org.bukkit.entity.Vindicator;
|
import org.bukkit.entity.Vindicator;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EntityVindicator;
|
import net.minecraft.server.v1_16_R3.EntityVindicator;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class VindicatorController extends MobEntityController {
|
public class VindicatorController extends MobEntityController {
|
||||||
public VindicatorController() {
|
public VindicatorController() {
|
||||||
@ -89,7 +89,7 @@ public class VindicatorController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,41 +1,41 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftWanderingTrader;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftWanderingTrader;
|
||||||
import org.bukkit.entity.WanderingTrader;
|
import org.bukkit.entity.WanderingTrader;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLightning;
|
import net.minecraft.server.v1_16_R3.EntityLightning;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EntityVillagerTrader;
|
import net.minecraft.server.v1_16_R3.EntityVillagerTrader;
|
||||||
import net.minecraft.server.v1_16_R2.EnumHand;
|
import net.minecraft.server.v1_16_R3.EnumHand;
|
||||||
import net.minecraft.server.v1_16_R2.EnumInteractionResult;
|
import net.minecraft.server.v1_16_R3.EnumInteractionResult;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.MerchantRecipe;
|
import net.minecraft.server.v1_16_R3.MerchantRecipe;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
import net.minecraft.server.v1_16_R2.WorldServer;
|
import net.minecraft.server.v1_16_R3.WorldServer;
|
||||||
|
|
||||||
public class WanderingTraderController extends MobEntityController {
|
public class WanderingTraderController extends MobEntityController {
|
||||||
public WanderingTraderController() {
|
public WanderingTraderController() {
|
||||||
@ -112,7 +112,7 @@ public class WanderingTraderController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftWitch;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftWitch;
|
||||||
import org.bukkit.entity.Witch;
|
import org.bukkit.entity.Witch;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EntityWitch;
|
import net.minecraft.server.v1_16_R3.EntityWitch;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class WitchController extends MobEntityController {
|
public class WitchController extends MobEntityController {
|
||||||
public WitchController() {
|
public WitchController() {
|
||||||
@ -75,7 +75,7 @@ public class WitchController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,28 +1,28 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftWither;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftWither;
|
||||||
import org.bukkit.entity.Wither;
|
import org.bukkit.entity.Wither;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EntityWither;
|
import net.minecraft.server.v1_16_R3.EntityWither;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class WitherController extends MobEntityController {
|
public class WitherController extends MobEntityController {
|
||||||
public WitherController() {
|
public WitherController() {
|
||||||
@ -57,7 +57,7 @@ public class WitherController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,10 +1,10 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftWolf;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftWolf;
|
||||||
import org.bukkit.entity.Wolf;
|
import org.bukkit.entity.Wolf;
|
||||||
import org.bukkit.event.entity.EntityTargetEvent;
|
import org.bukkit.event.entity.EntityTargetEvent;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
@ -12,23 +12,23 @@ import org.bukkit.util.Vector;
|
|||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.DataWatcherObject;
|
import net.minecraft.server.v1_16_R3.DataWatcherObject;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLiving;
|
import net.minecraft.server.v1_16_R3.EntityLiving;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EntityWolf;
|
import net.minecraft.server.v1_16_R3.EntityWolf;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class WolfController extends MobEntityController {
|
public class WolfController extends MobEntityController {
|
||||||
public WolfController() {
|
public WolfController() {
|
||||||
@ -91,7 +91,7 @@ public class WolfController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,34 +1,34 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftZoglin;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftZoglin;
|
||||||
import org.bukkit.entity.Zoglin;
|
import org.bukkit.entity.Zoglin;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BehaviorController;
|
import net.minecraft.server.v1_16_R3.BehaviorController;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EntityZoglin;
|
import net.minecraft.server.v1_16_R3.EntityZoglin;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class ZoglinController extends MobEntityController {
|
public class ZoglinController extends MobEntityController {
|
||||||
public ZoglinController() {
|
public ZoglinController() {
|
||||||
@ -80,7 +80,7 @@ public class ZoglinController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftZombie;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftZombie;
|
||||||
import org.bukkit.entity.Zombie;
|
import org.bukkit.entity.Zombie;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EntityZombie;
|
import net.minecraft.server.v1_16_R3.EntityZombie;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class ZombieController extends MobEntityController {
|
public class ZombieController extends MobEntityController {
|
||||||
public ZombieController() {
|
public ZombieController() {
|
||||||
@ -75,7 +75,7 @@ public class ZombieController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftHusk;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftHusk;
|
||||||
import org.bukkit.entity.Husk;
|
import org.bukkit.entity.Husk;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EntityZombieHusk;
|
import net.minecraft.server.v1_16_R3.EntityZombieHusk;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class ZombieHuskController extends MobEntityController {
|
public class ZombieHuskController extends MobEntityController {
|
||||||
public ZombieHuskController() {
|
public ZombieHuskController() {
|
||||||
@ -75,7 +75,7 @@ public class ZombieHuskController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity;
|
package net.citizensnpcs.nms.v1_16_R3.entity;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartAbstract;
|
import net.minecraft.server.v1_16_R3.EntityMinecartAbstract;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftVillagerZombie;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftVillagerZombie;
|
||||||
import org.bukkit.entity.ZombieVillager;
|
import org.bukkit.entity.ZombieVillager;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
import net.citizensnpcs.api.event.NPCEnderTeleportEvent;
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.DamageSource;
|
import net.minecraft.server.v1_16_R3.DamageSource;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EntityZombieVillager;
|
import net.minecraft.server.v1_16_R3.EntityZombieVillager;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.SoundEffect;
|
import net.minecraft.server.v1_16_R3.SoundEffect;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class ZombieVillagerController extends MobEntityController {
|
public class ZombieVillagerController extends MobEntityController {
|
||||||
public ZombieVillagerController() {
|
public ZombieVillagerController() {
|
||||||
@ -75,7 +75,7 @@ public class ZombieVillagerController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,12 +1,12 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftAreaEffectCloud;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftAreaEffectCloud;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.AreaEffectCloud;
|
import org.bukkit.entity.AreaEffectCloud;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
@ -15,10 +15,10 @@ import net.citizensnpcs.api.npc.NPC;
|
|||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityAreaEffectCloud;
|
import net.minecraft.server.v1_16_R3.EntityAreaEffectCloud;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class AreaEffectCloudController extends MobEntityController {
|
public class AreaEffectCloudController extends MobEntityController {
|
||||||
public AreaEffectCloudController() {
|
public AreaEffectCloudController() {
|
||||||
@ -57,7 +57,7 @@ public class AreaEffectCloudController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,9 +1,9 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftArmorStand;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftArmorStand;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.ArmorStand;
|
import org.bukkit.entity.ArmorStand;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.player.PlayerInteractEntityEvent;
|
import org.bukkit.event.player.PlayerInteractEntityEvent;
|
||||||
@ -11,19 +11,19 @@ import org.bukkit.util.Vector;
|
|||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityArmorStand;
|
import net.minecraft.server.v1_16_R3.EntityArmorStand;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumHand;
|
import net.minecraft.server.v1_16_R3.EnumHand;
|
||||||
import net.minecraft.server.v1_16_R2.EnumInteractionResult;
|
import net.minecraft.server.v1_16_R3.EnumInteractionResult;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class ArmorStandController extends MobEntityController {
|
public class ArmorStandController extends MobEntityController {
|
||||||
public ArmorStandController() {
|
public ArmorStandController() {
|
||||||
@ -73,7 +73,7 @@ public class ArmorStandController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,31 +1,31 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftBoat;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftBoat;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Boat;
|
import org.bukkit.entity.Boat;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.AxisAlignedBB;
|
import net.minecraft.server.v1_16_R3.AxisAlignedBB;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.EntityBoat;
|
import net.minecraft.server.v1_16_R3.EntityBoat;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumMoveType;
|
import net.minecraft.server.v1_16_R3.EnumMoveType;
|
||||||
import net.minecraft.server.v1_16_R2.Fluid;
|
import net.minecraft.server.v1_16_R3.Fluid;
|
||||||
import net.minecraft.server.v1_16_R2.MathHelper;
|
import net.minecraft.server.v1_16_R3.MathHelper;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.TagsFluid;
|
import net.minecraft.server.v1_16_R3.TagsFluid;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class BoatController extends MobEntityController {
|
public class BoatController extends MobEntityController {
|
||||||
public BoatController() {
|
public BoatController() {
|
||||||
@ -70,7 +70,7 @@ public class BoatController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,23 +1,23 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftDragonFireball;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftDragonFireball;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.DragonFireball;
|
import org.bukkit.entity.DragonFireball;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityDragonFireball;
|
import net.minecraft.server.v1_16_R3.EntityDragonFireball;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class DragonFireballController extends MobEntityController {
|
public class DragonFireballController extends MobEntityController {
|
||||||
public DragonFireballController() {
|
public DragonFireballController() {
|
||||||
@ -56,7 +56,7 @@ public class DragonFireballController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,27 +1,27 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftWorld;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftWorld;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEgg;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEgg;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.Egg;
|
import org.bukkit.entity.Egg;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.AbstractEntityController;
|
import net.citizensnpcs.npc.AbstractEntityController;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityEgg;
|
import net.minecraft.server.v1_16_R3.EntityEgg;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
import net.minecraft.server.v1_16_R2.WorldServer;
|
import net.minecraft.server.v1_16_R3.WorldServer;
|
||||||
|
|
||||||
public class EggController extends AbstractEntityController {
|
public class EggController extends AbstractEntityController {
|
||||||
public EggController() {
|
public EggController() {
|
||||||
@ -72,7 +72,7 @@ public class EggController extends AbstractEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,12 +1,12 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEnderCrystal;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEnderCrystal;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.EnderCrystal;
|
import org.bukkit.entity.EnderCrystal;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
@ -15,10 +15,10 @@ import net.citizensnpcs.api.npc.NPC;
|
|||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityEnderCrystal;
|
import net.minecraft.server.v1_16_R3.EntityEnderCrystal;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class EnderCrystalController extends MobEntityController {
|
public class EnderCrystalController extends MobEntityController {
|
||||||
public EnderCrystalController() {
|
public EnderCrystalController() {
|
||||||
@ -57,7 +57,7 @@ public class EnderCrystalController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,12 +1,12 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEnderPearl;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEnderPearl;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.EnderPearl;
|
import org.bukkit.entity.EnderPearl;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
@ -15,10 +15,10 @@ import net.citizensnpcs.api.npc.NPC;
|
|||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityEnderPearl;
|
import net.minecraft.server.v1_16_R3.EntityEnderPearl;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class EnderPearlController extends MobEntityController {
|
public class EnderPearlController extends MobEntityController {
|
||||||
public EnderPearlController() {
|
public EnderPearlController() {
|
||||||
@ -57,7 +57,7 @@ public class EnderPearlController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,23 +1,23 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEnderSignal;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEnderSignal;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.entity.EnderSignal;
|
import org.bukkit.entity.EnderSignal;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityEnderSignal;
|
import net.minecraft.server.v1_16_R3.EntityEnderSignal;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class EnderSignalController extends MobEntityController {
|
public class EnderSignalController extends MobEntityController {
|
||||||
public EnderSignalController() {
|
public EnderSignalController() {
|
||||||
@ -56,7 +56,7 @@ public class EnderSignalController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,9 +1,9 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEvokerFangs;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEvokerFangs;
|
||||||
import org.bukkit.entity.EvokerFangs;
|
import org.bukkit.entity.EvokerFangs;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.player.PlayerInteractEntityEvent;
|
import org.bukkit.event.player.PlayerInteractEntityEvent;
|
||||||
@ -11,19 +11,19 @@ import org.bukkit.util.Vector;
|
|||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityEvokerFangs;
|
import net.minecraft.server.v1_16_R3.EntityEvokerFangs;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumHand;
|
import net.minecraft.server.v1_16_R3.EnumHand;
|
||||||
import net.minecraft.server.v1_16_R2.EnumInteractionResult;
|
import net.minecraft.server.v1_16_R3.EnumInteractionResult;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class EvokerFangsController extends MobEntityController {
|
public class EvokerFangsController extends MobEntityController {
|
||||||
public EvokerFangsController() {
|
public EvokerFangsController() {
|
||||||
@ -59,7 +59,7 @@ public class EvokerFangsController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,12 +1,12 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftExperienceOrb;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftExperienceOrb;
|
||||||
import org.bukkit.entity.ExperienceOrb;
|
import org.bukkit.entity.ExperienceOrb;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
@ -15,10 +15,10 @@ import net.citizensnpcs.api.npc.NPC;
|
|||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityExperienceOrb;
|
import net.minecraft.server.v1_16_R3.EntityExperienceOrb;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class ExperienceOrbController extends MobEntityController {
|
public class ExperienceOrbController extends MobEntityController {
|
||||||
public ExperienceOrbController() {
|
public ExperienceOrbController() {
|
||||||
@ -43,7 +43,7 @@ public class ExperienceOrbController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,13 +1,13 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftWorld;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftWorld;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftFallingBlock;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftFallingBlock;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.util.CraftMagicNumbers;
|
import org.bukkit.craftbukkit.v1_16_R3.util.CraftMagicNumbers;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.entity.FallingBlock;
|
import org.bukkit.entity.FallingBlock;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
@ -16,21 +16,21 @@ import net.citizensnpcs.api.event.DespawnReason;
|
|||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.event.SpawnReason;
|
import net.citizensnpcs.api.event.SpawnReason;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.AbstractEntityController;
|
import net.citizensnpcs.npc.AbstractEntityController;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.Block;
|
import net.minecraft.server.v1_16_R3.Block;
|
||||||
import net.minecraft.server.v1_16_R2.Blocks;
|
import net.minecraft.server.v1_16_R3.Blocks;
|
||||||
import net.minecraft.server.v1_16_R2.EntityFallingBlock;
|
import net.minecraft.server.v1_16_R3.EntityFallingBlock;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumMoveType;
|
import net.minecraft.server.v1_16_R3.EnumMoveType;
|
||||||
import net.minecraft.server.v1_16_R2.IBlockData;
|
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.Vec3D;
|
import net.minecraft.server.v1_16_R3.Vec3D;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
import net.minecraft.server.v1_16_R2.WorldServer;
|
import net.minecraft.server.v1_16_R3.WorldServer;
|
||||||
|
|
||||||
public class FallingBlockController extends AbstractEntityController {
|
public class FallingBlockController extends AbstractEntityController {
|
||||||
public FallingBlockController() {
|
public FallingBlockController() {
|
||||||
@ -75,7 +75,7 @@ public class FallingBlockController extends AbstractEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,12 +1,12 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftFirework;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftFirework;
|
||||||
import org.bukkit.entity.Firework;
|
import org.bukkit.entity.Firework;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
@ -15,10 +15,10 @@ import net.citizensnpcs.api.npc.NPC;
|
|||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityFireworks;
|
import net.minecraft.server.v1_16_R3.EntityFireworks;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class FireworkController extends MobEntityController {
|
public class FireworkController extends MobEntityController {
|
||||||
public FireworkController() {
|
public FireworkController() {
|
||||||
@ -43,7 +43,7 @@ public class FireworkController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,12 +1,12 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import java.lang.invoke.MethodHandle;
|
import java.lang.invoke.MethodHandle;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftFishHook;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftFishHook;
|
||||||
import org.bukkit.entity.FishHook;
|
import org.bukkit.entity.FishHook;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
@ -14,23 +14,23 @@ import com.mojang.authlib.GameProfile;
|
|||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.NMS;
|
import net.citizensnpcs.util.NMS;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.Entity;
|
import net.minecraft.server.v1_16_R3.Entity;
|
||||||
import net.minecraft.server.v1_16_R2.EntityFishingHook;
|
import net.minecraft.server.v1_16_R3.EntityFishingHook;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityPlayer;
|
import net.minecraft.server.v1_16_R3.EntityPlayer;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.ItemStack;
|
import net.minecraft.server.v1_16_R3.ItemStack;
|
||||||
import net.minecraft.server.v1_16_R2.Items;
|
import net.minecraft.server.v1_16_R3.Items;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.PlayerInteractManager;
|
import net.minecraft.server.v1_16_R3.PlayerInteractManager;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
import net.minecraft.server.v1_16_R2.WorldServer;
|
import net.minecraft.server.v1_16_R3.WorldServer;
|
||||||
|
|
||||||
public class FishingHookController extends MobEntityController {
|
public class FishingHookController extends MobEntityController {
|
||||||
public FishingHookController() {
|
public FishingHookController() {
|
||||||
@ -58,7 +58,7 @@ public class FishingHookController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,13 +1,13 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftWorld;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftWorld;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftItem;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftItem;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.inventory.CraftItemStack;
|
import org.bukkit.craftbukkit.v1_16_R3.inventory.CraftItemStack;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.entity.Item;
|
import org.bukkit.entity.Item;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
@ -16,18 +16,18 @@ import net.citizensnpcs.api.event.DespawnReason;
|
|||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.event.SpawnReason;
|
import net.citizensnpcs.api.event.SpawnReason;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.AbstractEntityController;
|
import net.citizensnpcs.npc.AbstractEntityController;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityHuman;
|
import net.minecraft.server.v1_16_R3.EntityHuman;
|
||||||
import net.minecraft.server.v1_16_R2.EntityItem;
|
import net.minecraft.server.v1_16_R3.EntityItem;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.ItemStack;
|
import net.minecraft.server.v1_16_R3.ItemStack;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
import net.minecraft.server.v1_16_R2.WorldServer;
|
import net.minecraft.server.v1_16_R3.WorldServer;
|
||||||
|
|
||||||
public class ItemController extends AbstractEntityController {
|
public class ItemController extends AbstractEntityController {
|
||||||
public ItemController() {
|
public ItemController() {
|
||||||
@ -66,7 +66,7 @@ public class ItemController extends AbstractEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,14 +1,14 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftItemFrame;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftItemFrame;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.entity.ItemFrame;
|
import org.bukkit.entity.ItemFrame;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
@ -20,12 +20,12 @@ import net.citizensnpcs.api.npc.NPC;
|
|||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.BlockPosition;
|
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_16_R2.EntityItemFrame;
|
import net.minecraft.server.v1_16_R3.EntityItemFrame;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.EnumDirection;
|
import net.minecraft.server.v1_16_R3.EnumDirection;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class ItemFrameController extends MobEntityController {
|
public class ItemFrameController extends MobEntityController {
|
||||||
public ItemFrameController() {
|
public ItemFrameController() {
|
||||||
@ -59,7 +59,7 @@ public class ItemFrameController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,23 +1,23 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftLargeFireball;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftLargeFireball;
|
||||||
import org.bukkit.entity.LargeFireball;
|
import org.bukkit.entity.LargeFireball;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLargeFireball;
|
import net.minecraft.server.v1_16_R3.EntityLargeFireball;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class LargeFireballController extends MobEntityController {
|
public class LargeFireballController extends MobEntityController {
|
||||||
public LargeFireballController() {
|
public LargeFireballController() {
|
||||||
@ -42,7 +42,7 @@ public class LargeFireballController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,12 +1,12 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftLeash;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftLeash;
|
||||||
import org.bukkit.entity.LeashHitch;
|
import org.bukkit.entity.LeashHitch;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
@ -15,10 +15,10 @@ import net.citizensnpcs.api.npc.NPC;
|
|||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLeash;
|
import net.minecraft.server.v1_16_R3.EntityLeash;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class LeashController extends MobEntityController {
|
public class LeashController extends MobEntityController {
|
||||||
public LeashController() {
|
public LeashController() {
|
||||||
@ -43,7 +43,7 @@ public class LeashController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,28 +1,28 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftWorld;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftWorld;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftLlamaSpit;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftLlamaSpit;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.entity.LlamaSpit;
|
import org.bukkit.entity.LlamaSpit;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.AbstractEntityController;
|
import net.citizensnpcs.npc.AbstractEntityController;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLlama;
|
import net.minecraft.server.v1_16_R3.EntityLlama;
|
||||||
import net.minecraft.server.v1_16_R2.EntityLlamaSpit;
|
import net.minecraft.server.v1_16_R3.EntityLlamaSpit;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
import net.minecraft.server.v1_16_R2.WorldServer;
|
import net.minecraft.server.v1_16_R3.WorldServer;
|
||||||
|
|
||||||
public class LlamaSpitController extends AbstractEntityController {
|
public class LlamaSpitController extends AbstractEntityController {
|
||||||
public LlamaSpitController() {
|
public LlamaSpitController() {
|
||||||
@ -61,7 +61,7 @@ public class LlamaSpitController extends AbstractEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,23 +1,23 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftMinecartChest;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftMinecartChest;
|
||||||
import org.bukkit.entity.Minecart;
|
import org.bukkit.entity.Minecart;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartChest;
|
import net.minecraft.server.v1_16_R3.EntityMinecartChest;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class MinecartChestController extends MobEntityController {
|
public class MinecartChestController extends MobEntityController {
|
||||||
public MinecartChestController() {
|
public MinecartChestController() {
|
||||||
@ -42,7 +42,7 @@ public class MinecartChestController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,23 +1,23 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftMinecartCommand;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftMinecartCommand;
|
||||||
import org.bukkit.entity.Minecart;
|
import org.bukkit.entity.Minecart;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartCommandBlock;
|
import net.minecraft.server.v1_16_R3.EntityMinecartCommandBlock;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class MinecartCommandController extends MobEntityController {
|
public class MinecartCommandController extends MobEntityController {
|
||||||
public MinecartCommandController() {
|
public MinecartCommandController() {
|
||||||
@ -42,7 +42,7 @@ public class MinecartCommandController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,23 +1,23 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
|
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftEntity;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftEntity;
|
||||||
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftMinecartFurnace;
|
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftMinecartFurnace;
|
||||||
import org.bukkit.entity.Minecart;
|
import org.bukkit.entity.Minecart;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartFurnace;
|
import net.minecraft.server.v1_16_R3.EntityMinecartFurnace;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class MinecartFurnaceController extends MobEntityController {
|
public class MinecartFurnaceController extends MobEntityController {
|
||||||
public MinecartFurnaceController() {
|
public MinecartFurnaceController() {
|
||||||
@ -42,7 +42,7 @@ public class MinecartFurnaceController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
@ -1,19 +1,19 @@
|
|||||||
package net.citizensnpcs.nms.v1_16_R2.entity.nonliving;
|
package net.citizensnpcs.nms.v1_16_R3.entity.nonliving;
|
||||||
|
|
||||||
import org.bukkit.entity.Minecart;
|
import org.bukkit.entity.Minecart;
|
||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import net.citizensnpcs.api.event.NPCPushEvent;
|
import net.citizensnpcs.api.event.NPCPushEvent;
|
||||||
import net.citizensnpcs.api.npc.NPC;
|
import net.citizensnpcs.api.npc.NPC;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.entity.MobEntityController;
|
import net.citizensnpcs.nms.v1_16_R3.entity.MobEntityController;
|
||||||
import net.citizensnpcs.nms.v1_16_R2.util.NMSImpl;
|
import net.citizensnpcs.nms.v1_16_R3.util.NMSImpl;
|
||||||
import net.citizensnpcs.npc.CitizensNPC;
|
import net.citizensnpcs.npc.CitizensNPC;
|
||||||
import net.citizensnpcs.npc.ai.NPCHolder;
|
import net.citizensnpcs.npc.ai.NPCHolder;
|
||||||
import net.citizensnpcs.util.Util;
|
import net.citizensnpcs.util.Util;
|
||||||
import net.minecraft.server.v1_16_R2.EntityMinecartHopper;
|
import net.minecraft.server.v1_16_R3.EntityMinecartHopper;
|
||||||
import net.minecraft.server.v1_16_R2.EntityTypes;
|
import net.minecraft.server.v1_16_R3.EntityTypes;
|
||||||
import net.minecraft.server.v1_16_R2.NBTTagCompound;
|
import net.minecraft.server.v1_16_R3.NBTTagCompound;
|
||||||
import net.minecraft.server.v1_16_R2.World;
|
import net.minecraft.server.v1_16_R3.World;
|
||||||
|
|
||||||
public class MinecartHopperController extends MobEntityController {
|
public class MinecartHopperController extends MobEntityController {
|
||||||
public MinecartHopperController() {
|
public MinecartHopperController() {
|
||||||
@ -38,7 +38,7 @@ public class MinecartHopperController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void collide(net.minecraft.server.v1_16_R2.Entity entity) {
|
public void collide(net.minecraft.server.v1_16_R3.Entity entity) {
|
||||||
// this method is called by both the entities involved - cancelling
|
// this method is called by both the entities involved - cancelling
|
||||||
// it will not stop the NPC from moving.
|
// it will not stop the NPC from moving.
|
||||||
super.collide(entity);
|
super.collide(entity);
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user