setSpawnStructure("hardcoretree") attributes = addEntityEffect(0) attributes.addEntityType("MOB") attributes.addAttribute("generic.armor", "armor addition", 4, 0) attributes.addAttribute("generic.maxHealth", "health multiplication", 0.3, 1) attributes.addAttribute("generic.attackDamage", "attack multiplication", 0.3, 1) setCelestialAngle(0.5) sky = setSkyRenderer() //top, bottom, north, south, east, west night = sky.addSkybox("test:textures/skybox/night.png") day = sky.addSkybox("test:textures/skybox/day.png") //Celestial angle range, opacity range //Sunset day.addAlpha(0.19904304~0.29625022, 1~0) //Night day.addAlpha(0.29625022~0.719889, 0~0) //Sunrise day.addAlpha(0.719889~0.8037514, 0~1) //Lazy method for adding a sun and moon since I don't want to make the effort for proper custom ones yet. setFogColor(#000000) captureTeleports()