blob: b9c61b064736b339445aaf2b01291cbdaa8e8b5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
package net.minecraft.server;
public class EntityLavaSlime extends EntitySlime {
public EntityLavaSlime(World world) {
super(world);
this.texture = "/mob/lava.png";
this.fireProof = true;
this.ak = 0.2F;
}
public boolean g() {
return this.world.difficulty > 0 && this.world.containsEntity(this.boundingBox) && this.world.getEntities(this, this.boundingBox).size() == 0 && !this.world.c(this.boundingBox);
}
protected int O() {
return this.getSize() * 3;
}
public float a(float f) {
return 1.0F;
}
protected String w() {
return "flame";
}
protected EntitySlime y() {
return new EntityLavaSlime(this.world);
}
protected int e() {
return 0;
}
public boolean z() {
return false;
}
protected int A() {
return super.A() * 4;
}
protected void B() {
this.a *= 0.9F;
}
protected void X() {
this.motY = (double) (0.42F + (float) this.getSize() * 0.1F);
this.cb = true;
}
protected void b(float f) {}
protected boolean C() {
return true;
}
protected int D() {
return super.D() + 2;
}
protected String m() {
return "mob.slime";
}
protected String n() {
return "mob.slime";
}
protected String E() {
return this.getSize() > 1 ? "mob.magmacube.big" : "mob.magmacube.small";
}
public boolean aA() {
return false;
}
protected boolean G() {
return true;
}
}
|