56 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
| vanilla_model.PLAYER:setVisible(false)
 | |
| vanilla_model.ARMOR:setVisible(false)
 | |
| models.player_model:setVisible(true)
 | |
| vanilla_model.HELD_ITEMS:setVisible(true)
 | |
| vanilla_model.ELYTRA:setVisible(true)
 | |
| 
 | |
| 
 | |
| --change texture
 | |
| 
 | |
| local mainPage = action_wheel:newPage()
 | |
| action_wheel:setPage(mainPage)
 | |
| 
 | |
| function pings.Hoodie()
 | |
|       models.player_model:setPrimaryTexture("CUSTOM", textures["hoodie"])
 | |
|       models.player_model:setSecondaryTexture("CUSTOM", textures["blank"])
 | |
| end
 | |
| 
 | |
| function pings.Hoodless()
 | |
|       models.player_model:setPrimaryTexture("CUSTOM", textures["hoodieless"])
 | |
|       models.player_model:setSecondaryTexture("CUSTOM", textures["blank"])
 | |
| end
 | |
| 
 | |
| function pings.DarkHoodie()
 | |
|       models.player_model:setPrimaryTexture("CUSTOM", textures["hoodie_dark"])
 | |
|       models.player_model:setSecondaryTexture("CUSTOM", textures["hoodie_dark_e"])
 | |
| end
 | |
| 
 | |
| function pings.Shadow()
 | |
|       models.player_model:setPrimaryTexture("CUSTOM", textures["shadow"])
 | |
|       models.player_model:setSecondaryTexture("CUSTOM", textures["shadow_e"])
 | |
| end
 | |
| 
 | |
| 
 | |
| mainPage:newAction()
 | |
|     :title("Dark Hoodie")
 | |
|     :item("minecraft:black_dye")
 | |
|     :hoverColor(0,0,0)
 | |
|     :onLeftClick(pings.DarkHoodie)
 | |
| 
 | |
| mainPage:newAction()
 | |
|     :title("Default")
 | |
|     :item("minecraft:gray_dye")
 | |
|     :hoverColor(0.5,0.5,0.5)
 | |
|     :onLeftClick(pings.Hoodie)
 | |
| 
 | |
| mainPage:newAction()
 | |
|     :title("Hoodless")
 | |
|     :item("minecraft:white_dye")
 | |
|     :hoverColor(1,1,1)
 | |
|     :onLeftClick(pings.Hoodless)
 | |
| 
 | |
| mainPage:newAction()
 | |
|     :title("Shadow")
 | |
|     :item("minecraft:red_dye")
 | |
|     :hoverColor(1,0,0)
 | |
|     :onLeftClick(pings.Shadow)
 |