MCPcopy Create free account
hub / github.com/Teneted/Tenet / with

Method with

src/main/java/org/bukkit/FireworkEffect.java:76–81  ·  view source on GitHub ↗

Specify the type of the firework effect. @param type The effect type @return This object, for chaining @throws IllegalArgumentException If type is null

(@NotNull Type type)

Source from the content-addressed store, hash-verified

74 * @throws IllegalArgumentException If type is null
75 */
76 @NotNull
77 public Builder with(@NotNull Type type) throws IllegalArgumentException {
78 Validate.notNull(type, "Cannot have null type");
79 this.type = type;
80 return this;
81 }
82
83 /**
84 * Add a flicker to the firework effect.

Callers 9

deserializeMethod · 0.45
CraftLegacyClass · 0.45
setBurnTimeMethod · 0.45
updateMethod · 0.45
setRecordMethod · 0.45
setMethod · 0.45
mergeMethod · 0.45
getEffectMethod · 0.45
sleepMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected