blob: 878e425ed11c9779bee0f21b57ae14298bf07e58 (
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
|
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;
|