blob: 997b2199732f66e64453ddf4bbd199c02e2381ba (
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
|
class Cosmetic{
constructor(player, parent, id){
if(player.getUUID().toString() === Player.getUUID().toString()) player = Player
/**
* @type {PlayerMP | Player}
*/
this.player = player
this.parent = parent
this.id = id
this.settings = this.parent.getPlayerCosmeticSettings(this.player, id)
this.onTick()
}
onRenderEntity(ticks, isInGui){
//override
}
onTick(){
//override
}
}
export default Cosmetic;
|