mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-21 11:46:46 +01:00
Fixed support for 1.19 (Untested)
This commit is contained in:
parent
4ee9bc0960
commit
4dd84d53be
@ -64,13 +64,9 @@ public final class ChunkLoaderNPC extends EntityPlayer implements com.bgsoftware
|
||||
super.a(this.boundingBox);
|
||||
}
|
||||
|
||||
@Remap(classPath = "net.minecraft.world.entity.Entity",
|
||||
name = "getUUID",
|
||||
type = Remap.Type.METHOD,
|
||||
remappedName = "co")
|
||||
@Override
|
||||
public UUID getUniqueId() {
|
||||
return super.co();
|
||||
return getBukkitEntity().getUniqueId();
|
||||
}
|
||||
|
||||
@Remap(classPath = "net.minecraft.world.entity.Entity",
|
||||
@ -82,15 +78,6 @@ public final class ChunkLoaderNPC extends EntityPlayer implements com.bgsoftware
|
||||
ah();
|
||||
}
|
||||
|
||||
@Remap(classPath = "net.minecraft.world.entity.Entity",
|
||||
name = "getBoundingBoxForCulling",
|
||||
type = Remap.Type.METHOD,
|
||||
remappedName = "cz")
|
||||
@Override
|
||||
public AxisAlignedBB cz() {
|
||||
return this.boundingBox;
|
||||
}
|
||||
|
||||
@Remap(classPath = "net.minecraft.world.entity.Entity",
|
||||
name = "remove",
|
||||
type = Remap.Type.METHOD,
|
||||
|
@ -36,7 +36,7 @@ public final class EntityHolograms extends EntityArmorStand implements Hologram
|
||||
@Remap(classPath = "net.minecraft.world.entity.decoration.ArmorStand", name = "setMarker", type = Remap.Type.METHOD, remappedName = "t")
|
||||
@Remap(classPath = "net.minecraft.world.entity.Entity", name = "setCustomNameVisible", type = Remap.Type.METHOD, remappedName = "n")
|
||||
@Remap(classPath = "net.minecraft.world.entity.Entity", name = "setBoundingBox", type = Remap.Type.METHOD, remappedName = "a")
|
||||
public EntityHolograms(World world, double x, double y, double z){
|
||||
public EntityHolograms(World world, double x, double y, double z) {
|
||||
super(world, x, y, z);
|
||||
j(true); // Invisible
|
||||
a(true); // Small
|
||||
@ -161,15 +161,6 @@ public final class EntityHolograms extends EntityArmorStand implements Hologram
|
||||
return true;
|
||||
}
|
||||
|
||||
@Remap(classPath = "net.minecraft.world.entity.Entity",
|
||||
name = "repositionEntityAfterLoad",
|
||||
type = Remap.Type.METHOD,
|
||||
remappedName = "bm")
|
||||
@Override
|
||||
public boolean bm() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Remap(classPath = "net.minecraft.world.entity.Entity",
|
||||
name = "setCustomName",
|
||||
type = Remap.Type.METHOD,
|
||||
@ -203,15 +194,6 @@ public final class EntityHolograms extends EntityArmorStand implements Hologram
|
||||
// Prevent stand being equipped
|
||||
}
|
||||
|
||||
@Remap(classPath = "net.minecraft.world.entity.Entity",
|
||||
name = "getBoundingBoxForCulling",
|
||||
type = Remap.Type.METHOD,
|
||||
remappedName = "cz")
|
||||
@Override
|
||||
public AxisAlignedBB cz() {
|
||||
return EMPTY_BOUND;
|
||||
}
|
||||
|
||||
public void forceSetBoundingBox(AxisAlignedBB boundingBox) {
|
||||
super.a(boundingBox);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user