ParticleTypeRedstone extends ParticleType { public Object packetColored(boolean far, Location loc, Color color) { int r = color.getRed(); if (r == 0) r = 1; return packet(far, loc.getX(), loc.getY(), loc.getZ(), r / 255D, color.getGreen() / 255D, color.getBlue() / 255D, 1D, 0); }  Object packetColored(boolean far, Location loc,
                                Color color); Object packetColored(boolean far, Vector loc,
                                Color color); Object packetColored(boolean far, double x, double y, double z,
                                Color color); Object packetColored(boolean far, Location loc,
                                int r, int g, int b); Object packetColored(boolean far, Vector loc,
                                int r, int g, int b); Object packetColored(boolean far, double x, double y, double z,
                                int r, int g, int b);  }
@Test public void test_packetColored_Location_Color() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 255D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getLocation(), Color.fromRGB(255, 120, 60)); verifyArgumentPassWithDelta(target); }
@Test public void test_packetColored_Vector_Color() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 255D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getVector(), Color.fromRGB(255, 120, 60)); verifyArgumentPassWithDelta(target); }
@Test public void test_packetColored_Pos_Color() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 255D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getX(), target.getY(), target.getZ(), Color.fromRGB(255, 120, 60)); verifyArgumentPassWithDelta(target); }
@Test public void test_packetColored_Location_Ints() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 255D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getLocation(), 255, 120, 60); verifyArgumentPassWithDelta(target); }
@Test public void test_packetColored_Vector_Ints() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 255D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getVector(), 255, 120, 60); verifyArgumentPassWithDelta(target); }
@Test public void test_packetColored_Pos_Ints() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 255D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getX(), target.getY(), target.getZ(), 255, 120, 60); verifyArgumentPassWithDelta(target); }
@Test public void test_packetColored_Location_ColorWithRedEqualZero() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 1D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getLocation(), Color.fromRGB(0, 120, 60)); verifyArgumentPassWithDelta(target); }
@Test public void test_packetColored_Vector_ColorWithRedEqualZero() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 1D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getVector(), Color.fromRGB(0, 120, 60)); verifyArgumentPassWithDelta(target); }
@Test public void test_packetColored_Pos_ColorWithRedEqualZero() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 1D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getX(), target.getY(), target.getZ(), Color.fromRGB(0, 120, 60)); verifyArgumentPassWithDelta(target); }
@Test public void test_packetColored_Location_IntsWithRedEqualZero() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 1D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getLocation(), 0, 120, 60); verifyArgumentPassWithDelta(target); }
@Test public void test_packetColored_Vector_IntsWithRedEqualZero() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 1D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getVector(), 0, 120, 60); verifyArgumentPassWithDelta(target); }
@Test public void test_packetColored_Pos_IntsWithRedEqualZero() { FakePacket target = new FakePacket(true, 2D, 3D, 4D, 1D / 255D, 120D / 255D, 60D / 255D, 1D, 0); particleType.packetColored(true, target.getX(), target.getY(), target.getZ(), 0, 120, 60); verifyArgumentPassWithDelta(target); }