Home > Back-end >  Need a class, interface, or enum
Need a class, interface, or enum

Time:01-19

A Java file (automatic) class, always need to class, interface, or enum

The code below
Package/com/flansmod/client/model/mw;
The Import/com/flansmod/client/TMT/modelrendererturbo;
Public class modelg36 extends modelgun
{
Public modelg36 ()
{
Int texturex=64;
Int texturey=16;

Gunmodel=new modelrendererturbo [7].

Gunmodel [0]=new modelrendererturbo (this, 0, 0, texturex, texturey);
Gunmodel [0]. Addbox (1 f and 2 f, 1 f, 15, 2, 2);

Gunmodel [1]=new modelrendererturbo (this, 0, 4, texturex texturey);
Gunmodel [1]. Addbox (1 f, 4 f, 1 f, 5, 0.5 f, 2);

Gunmodel [2]=new modelrendererturbo (this, 0, 7, texturex, texturey);
Gunmodel [2]. Addbox (4.5 f, 2 f, 1 f, 9, 0.5 f, 2);

Gunmodel [3]=new modelrendererturbo (this, 14, 4, texturex texturey);
Gunmodel [3]. Addbox (10 f, 4 f, 1 f, 2, 0.5 f, 2);

Gunmodel [4]=new modelrendererturbo (this, 32, 0, texturex, texturey);
Gunmodel [4]. Addbox (14 f, f, 2.5-0.5 f, 1, 1, 1);

Gunmodel [5]=new modelrendererturbo (this, 22, 4, texturex texturey);
Gunmodel [5]. Addbox (1 f, 1 f, 1 f, 6, 1, 2);

Gunmodel [6]=new modelrendererturbo (this, 0, 10, texturex texturey);
Gunmodel [6]. Addbox (0.5 f and 2 f, 0.5 f, 1, 3, 1);
Gunmodel [6]. Setrotationpoint (2 f, 1 f, 0 f);
Gunmodel [6]. Rotateanglez=0.5 f;

//the scope
Scopeattachpoint=new vector3f (4 f/16 f, 5 f/16 f, 0 f);

//stock
Defaultstockmodel=new modelrendererturbo [5].

Defaultstockmodel [0]=new modelrendererturbo (this, 4, 10, texturex texturey);
Defaultstockmodel [0]. Addbox (7 f, 1 f, 0.5 f, 1, 3, 1);

Defaultstockmodel [1]=new modelrendererturbo (this, 0, 14, texturex texturey);
Defaultstockmodel [1]. Addbox (f - 6, 1.5 f to 0.5 f, 2, 0.5 f, 1);

Defaultstockmodel [2]=new modelrendererturbo (this, 6, 14, texturex texturey);
Defaultstockmodel [2]. Addbox (4 f and 2 f, 0.5 f, 3, 0.5 f, 1);

Defaultstockmodel [3]=new modelrendererturbo (this, 14, 14, texturex texturey);
Defaultstockmodel [3]. Addbox (f - 6, 3.5 f to 0.5 f, 5, 0.5 f, 1);

Defaultstockmodel [4]=new modelrendererturbo (this, 26, 14, texturex texturey);
Defaultstockmodel [4]. Addbox (- 3 f, 2.5 f to 0.5 f, 1, 1, 1);

Stockattachpoint=new vector3f (16-4 f/f, f/16 f 3.5, 0 f);

//barrel
Barrelattachpoint=new vector3f (15 f/16 f, 3 f/16 f, 0 f);

//grip
Defaultgripmodel=new modelrendererturbo [2].

Defaultgripmodel [0]=new modelrendererturbo (this, 8, 10, texturex texturey);
Defaultgripmodel [0]. Addbox (11 f, 1 f, 1 f, 2, 1, 2);

Defaultgripmodel [1]=new modelrendererturbo (this, 16, 10, texturex texturey);
Defaultgripmodel [1]. Addbox (11.5 f, 1 f, 0.5 f, 1, 2, 1);

Gripattachpoint=new vector3f (10 f/16 f, 3 f/16 f, 0 f);

//ammo
Ammomodel=new modelrendererturbo [1].

Ammomodel [0]=new modelrendererturbo (this, 22, 7, texturex, texturey);
Ammomodel [0]. Addbox (0.5 to 1 f, 4 f, f, 2, 5, 1);
Ammomodel [0]. Setrotationpoint (6 f, 1 f, 0 f);
Ammomodel [0]. Rotateanglez=0.25 f;

Gunslidedistance=0.5 f;
Animationtype=enumanimationtype. Bottom_clip;
}
}

CodePudding user response:

Utf-8 is no BOM coding format

CodePudding user response:

 
Package/com/flansmod/client/model/mw;
The Import/com/flansmod/client/TMT/modelrendererturbo;


This is a hand to play mistakes or write wrong?

CodePudding user response:


Package com. Flansmod. Client. Model. Mw;
The Import com. Flansmod. Client. TMT. Modelrendererturbo;