| 1 | package net.minecraft.util;
|
| 2 |
|
| 3 | public class Vec4b
|
| 4 | {
|
| 5 | private byte field_176117_a;
|
| 6 | private byte field_176115_b;
|
| 7 | private byte field_176116_c;
|
| 8 | private byte field_176114_d;
|
| 9 |
|
| 10 | public Vec4b(byte p_i45555_1_, byte p_i45555_2_, byte p_i45555_3_, byte p_i45555_4_)
|
| 11 | {
|
| 12 | this.field_176117_a = p_i45555_1_;
|
| 13 | this.field_176115_b = p_i45555_2_;
|
| 14 | this.field_176116_c = p_i45555_3_;
|
| 15 | this.field_176114_d = p_i45555_4_;
|
| 16 | }
|
| 17 |
|
| 18 | public Vec4b(Vec4b p_i45556_1_)
|
| 19 | {
|
| 20 | this.field_176117_a = p_i45556_1_.field_176117_a;
|
| 21 | this.field_176115_b = p_i45556_1_.field_176115_b;
|
| 22 | this.field_176116_c = p_i45556_1_.field_176116_c;
|
| 23 | this.field_176114_d = p_i45556_1_.field_176114_d;
|
| 24 | }
|
| 25 |
|
| 26 | public byte func_176110_a()
|
| 27 | {
|
| 28 | return this.field_176117_a;
|
| 29 | }
|
| 30 |
|
| 31 | public byte func_176112_b()
|
| 32 | {
|
| 33 | return this.field_176115_b;
|
| 34 | }
|
| 35 |
|
| 36 | public byte func_176113_c()
|
| 37 | {
|
| 38 | return this.field_176116_c;
|
| 39 | }
|
| 40 |
|
| 41 | public byte func_176111_d()
|
| 42 | {
|
| 43 | return this.field_176114_d;
|
| 44 | }
|
| 45 |
|
| 46 | public boolean equals(Object p_equals_1_)
|
| 47 | {
|
| 48 | if (this == p_equals_1_)
|
| 49 | {
|
| 50 | return true;
|
| 51 | }
|
| 52 | else if (!(p_equals_1_ instanceof Vec4b))
|
| 53 | {
|
| 54 | return false;
|
| 55 | }
|
| 56 | else
|
| 57 | {
|
| 58 | Vec4b vec4b = (Vec4b)p_equals_1_;
|
| 59 | return this.field_176117_a != vec4b.field_176117_a ? false : (this.field_176114_d != vec4b.field_176114_d ? false : (this.field_176115_b != vec4b.field_176115_b ? false : this.field_176116_c == vec4b.field_176116_c));
|
| 60 | }
|
| 61 | }
|
| 62 |
|
| 63 | public int hashCode()
|
| 64 | {
|
| 65 | int i = this.field_176117_a;
|
| 66 | i = 31 * i + this.field_176115_b;
|
| 67 | i = 31 * i + this.field_176116_c;
|
| 68 | i = 31 * i + this.field_176114_d;
|
| 69 | return i;
|
| 70 | }
|
| 71 | }
|
| 72 |
|