The term 'nuget' is not recognized as the name of a cmdlet, function, script file, or operable program.
Install-Package NuGet.CommandLine
The term 'nuget' is not recognized as the name of a cmdlet, function, script file, or operable program.
Install-Package NuGet.CommandLine
spigot spawn firework
public static void spawnFireworks(Location location, int amount) {
Location loc = location;
Firework fw = (Firework) loc.getWorld().spawnEntity(loc, EntityType.FIREWORK);
FireworkMeta fwm = fw.getFireworkMeta();
fwm.setPower(2);
fwm.addEffect(FireworkEffect.builder().withColor(Color.LIME).flicker(true).build());
fw.setFireworkMeta(fwm);
fw.detonate();
for(int i = 0;i<amount; i++){
Firework fw2 = (Firework) loc.getWorld().spawnEntity(loc, EntityType.FIREWORK);
fw2.setFireworkMeta(fwm);
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us