From 9e6e68c9dbb652b0c8cb42f671ce141104d89a99 Mon Sep 17 00:00:00 2001 From: filoghost Date: Sat, 6 Dec 2014 18:59:23 +0100 Subject: [PATCH] Added missing class. --- .../nms/v1_8_R1/NullBoundingBox.java | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 HolographicDisplays/src/com/gmail/filoghost/holograms/nms/v1_8_R1/NullBoundingBox.java diff --git a/HolographicDisplays/src/com/gmail/filoghost/holograms/nms/v1_8_R1/NullBoundingBox.java b/HolographicDisplays/src/com/gmail/filoghost/holograms/nms/v1_8_R1/NullBoundingBox.java new file mode 100644 index 00000000..9b14299b --- /dev/null +++ b/HolographicDisplays/src/com/gmail/filoghost/holograms/nms/v1_8_R1/NullBoundingBox.java @@ -0,0 +1,75 @@ +package com.gmail.filoghost.holograms.nms.v1_8_R1; + +import net.minecraft.server.v1_8_R1.AxisAlignedBB; +import net.minecraft.server.v1_8_R1.MovingObjectPosition; +import net.minecraft.server.v1_8_R1.Vec3D; + +public class NullBoundingBox extends AxisAlignedBB { + + public NullBoundingBox() { + super(0, 0, 0, 0, 0, 0); + } + + @Override + public double a() { + return 0.0; + } + + @Override + public double a(AxisAlignedBB arg0, double arg1) { + return 0.0; + } + + @Override + public AxisAlignedBB a(AxisAlignedBB arg0) { + return this; + } + + @Override + public AxisAlignedBB a(double arg0, double arg1, double arg2) { + return this; + } + + @Override + public MovingObjectPosition a(Vec3D arg0, Vec3D arg1) { + return super.a(arg0, arg1); + } + + @Override + public boolean a(Vec3D arg0) { + return false; + } + + @Override + public double b(AxisAlignedBB arg0, double arg1) { + return 0.0; + } + + @Override + public boolean b(AxisAlignedBB arg0) { + return false; + } + + @Override + public double c(AxisAlignedBB arg0, double arg1) { + return 0.0; + } + + @Override + public AxisAlignedBB c(double arg0, double arg1, double arg2) { + return this; + } + + @Override + public AxisAlignedBB grow(double arg0, double arg1, double arg2) { + return this; + } + + @Override + public AxisAlignedBB shrink(double arg0, double arg1, double arg2) { + return this; + } + + + +} \ No newline at end of file