forked from Ubiquitous-Spice/ModJam-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNotes_01
More file actions
executable file
·48 lines (41 loc) · 1.36 KB
/
Notes_01
File metadata and controls
executable file
·48 lines (41 loc) · 1.36 KB
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
EntityUnicorn.java
"
@Override
protected void func_110147_ax()
{
super.func_110147_ax();
func_110148_a(SharedMonsterAttributes.field_111267_a).func_111128_a(4.0D);
}
"
EntityLargeSheep
"
@Override
public void onLivingUpdate()
{
if (worldObj.isRemote)
{
sheepTimer = Math.max(0, sheepTimer - 1);
}
if (!worldObj.isRemote)
{
newRotationYaw /= 8.0D;
limbSwing /= 8.0D;
}
super.onLivingUpdate();
}
"
EntityFirework
"
private void func_92034_a(double par1, double par3, double par5, double par7, double par9, double par11, int[] par13ArrayOfInteger, int[] par14ArrayOfInteger, boolean par15, boolean par16)
{
EntityFireworkSparkFX entityfireworksparkfx = new EntityFireworkSparkFX(worldObj, par1, par3, par5, par7, par9, par11, field_92040_ay);
entityfireworksparkfx.getFXLayer(par15);
entityfireworksparkfx.func_92043_f(par16); int i = rand.nextInt(par13ArrayOfInteger.length);
entityfireworksparkfx.func_92044_a(par13ArrayOfInteger[i]);
if (par14ArrayOfInteger != null && par14ArrayOfInteger.length > 0)
{
entityfireworksparkfx.func_92046_g(par14ArrayOfInteger[rand.nextInt(par14ArrayOfInteger.length)]);
}
field_92040_ay.addEffect(entityfireworksparkfx);
}
"