Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public final class ModArmorstatus {
*/
public static final SimpleOption<Boolean> HIDE_UNBREAKABLE_DURABILITY = SimpleOption.<Boolean>builder()
.node("armorstatus", "hide-unbreakable-durability").type(TypeToken.get(Boolean.class))
.defaultValue(false)
.defaultValue(true)
.notifyClient()
.build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,56 +49,70 @@ public final class ModParticleChanger {
/**
* No documentation available.
*
* @since 1.2.2
* @since 1.0.0
*/
public static final SimpleOption<Boolean> SHOW_BLOOD_PARTICLES = SimpleOption.<Boolean>builder()
.node("particle-changer", "show-blood-particles").type(TypeToken.get(Boolean.class))
public static final SimpleOption<Boolean> ALWAYS_ENCHANT_STRIKES = SimpleOption.<Boolean>builder()
.node("particle-changer", "always-enchant-strikes").type(TypeToken.get(Boolean.class))
.defaultValue(false)
.notifyClient()
.build();

/**
* No documentation available.
* Hide particles which are emitted in first person (e.g. potion effects).
*
* @since 1.2.2
* @since 1.0.0
*/
public static final NumberOption<Integer> BLOOD_MULTIPLIER = NumberOption.<Integer>number()
.node("particle-changer", "blood-multiplier").type(TypeToken.get(Integer.class))
.min(1).max(10)
.defaultValue(1)
public static final SimpleOption<Boolean> HIDE_FIRST_PERSON_PARTICLES = SimpleOption.<Boolean>builder()
.comment("Hide particles which are emitted in first person (e.g. potion effects)")
.node("particle-changer", "hide-first-person-particles").type(TypeToken.get(Boolean.class))
.defaultValue(false)
.notifyClient()
.build();

/**
* No documentation available.
*
* @since 1.2.6
*/
public static final SimpleOption<Boolean> HIDE_BLOCK_BREAK_PARTICLES = SimpleOption.<Boolean>builder()
.node("particle-changer", "hide-block-break-particles").type(TypeToken.get(Boolean.class))
.defaultValue(false)
.notifyClient()
.build();

/**
* Simple toggle for clean game rendering. This may cause issues with certain server mechanics being more challenging to see!.
*
* @since 1.2.2
*/
public static final SimpleOption<Boolean> PLAYER_BLOOD_PARTICLES = SimpleOption.<Boolean>builder()
.node("particle-changer", "player-blood-particles").type(TypeToken.get(Boolean.class))
.defaultValue(true)
public static final SimpleOption<Boolean> HIDE_ALL_PARTICLES = SimpleOption.<Boolean>builder()
.comment("Simple toggle for clean game rendering. This may cause issues with certain server mechanics being more challenging to see!")
.node("particle-changer", "hide-all-particles").type(TypeToken.get(Boolean.class))
.defaultValue(false)
.notifyClient()
.build();

/**
* No documentation available.
*
* @since 1.2.2
* @since 1.0.0
*/
public static final SimpleOption<Boolean> ENTITY_BLOOD_PARTICLES = SimpleOption.<Boolean>builder()
.node("particle-changer", "entity-blood-particles").type(TypeToken.get(Boolean.class))
.defaultValue(true)
public static final NumberOption<Float> SCALE = NumberOption.<Float>number()
.node("particle-changer", "scale").type(TypeToken.get(Float.class))
.min(0.25F).max(2.0F)
.defaultValue(1.0F)
.notifyClient()
.build();

/**
* No documentation available.
*
* @since 1.2.2
* @since 1.0.0
*/
public static final SimpleOption<Boolean> PLAY_BLOOD_SOUND = SimpleOption.<Boolean>builder()
.node("particle-changer", "play-blood-sound").type(TypeToken.get(Boolean.class))
.defaultValue(false)
public static final NumberOption<Float> PARTICLE_MULTIPLIER = NumberOption.<Float>number()
.node("particle-changer", "particle-multiplier").type(TypeToken.get(Float.class))
.min(0.25F).max(10.0F)
.defaultValue(1.0F)
.notifyClient()
.build();

Expand All @@ -107,8 +121,8 @@ public final class ModParticleChanger {
*
* @since 1.0.0
*/
public static final SimpleOption<Boolean> ALWAYS_ENCHANT_STRIKES = SimpleOption.<Boolean>builder()
.node("particle-changer", "always-enchant-strikes").type(TypeToken.get(Boolean.class))
public static final SimpleOption<Boolean> HIDE_PARTICLE = SimpleOption.<Boolean>builder()
.node("particle-changer", "hide-particle").type(TypeToken.get(Boolean.class))
.defaultValue(false)
.notifyClient()
.build();
Expand All @@ -118,78 +132,80 @@ public final class ModParticleChanger {
*
* @since 1.0.0
*/
public static final SimpleOption<Boolean> AFFECT_ENCHANTED_WEAPONS = SimpleOption.<Boolean>builder()
.node("particle-changer", "affect-enchanted-weapons").type(TypeToken.get(Boolean.class))
.defaultValue(true)
public static final SimpleOption<Boolean> OVERLAY_COLOR = SimpleOption.<Boolean>builder()
.node("particle-changer", "overlay-color").type(TypeToken.get(Boolean.class))
.defaultValue(false)
.notifyClient()
.build();

/**
* Hide your players potion effect particles when you're in first person.
* No documentation available.
*
* @since 1.0.0
*/
public static final SimpleOption<Boolean> HIDE_FIRST_PERSON_PARTICLES = SimpleOption.<Boolean>builder()
.comment("Hide your players potion effect particles when you're in first person")
.node("particle-changer", "hide-first-person-particles").type(TypeToken.get(Boolean.class))
.defaultValue(false)
public static final SimpleOption<Color> COLOR = SimpleOption.<Color>builder()
.node("particle-changer", "color").type(TypeToken.get(Color.class))
.defaultValue(new Color(255, 255, 255))
.notifyClient()
.build();

/**
* Simple toggle for clean game rendering. This may cause issues with certain server mechanics being more challenging to see!.
* No documentation available.
*
* @since 1.2.2
*/
public static final SimpleOption<Boolean> HIDE_ALL_PARTICLES = SimpleOption.<Boolean>builder()
.comment("Simple toggle for clean game rendering. This may cause issues with certain server mechanics being more challenging to see!")
.node("particle-changer", "hide-all-particles").type(TypeToken.get(Boolean.class))
@Deprecated
public static final SimpleOption<Boolean> SHOW_BLOOD_PARTICLES = SimpleOption.<Boolean>builder()
.node("particle-changer", "show-blood-particles").type(TypeToken.get(Boolean.class))
.defaultValue(false)
.notifyClient()
.build();

/**
* No documentation available.
*
* @since 1.0.0
* @since 1.2.2
*/
public static final SimpleOption<Color> COLOR = SimpleOption.<Color>builder()
.node("particle-changer", "color").type(TypeToken.get(Color.class))
.defaultValue(new Color(255, 255, 255))
@Deprecated
public static final NumberOption<Integer> BLOOD_MULTIPLIER = NumberOption.<Integer>number()
.node("particle-changer", "blood-multiplier").type(TypeToken.get(Integer.class))
.min(1).max(10)
.defaultValue(1)
.notifyClient()
.build();

/**
* No documentation available.
*
* @since 1.0.0
* @since 1.2.2
*/
public static final NumberOption<Float> SCALE = NumberOption.<Float>number()
.node("particle-changer", "scale").type(TypeToken.get(Float.class))
.min(0.5F).max(2.0F)
.defaultValue(1.0F)
@Deprecated
public static final SimpleOption<Boolean> PLAYER_BLOOD_PARTICLES = SimpleOption.<Boolean>builder()
.node("particle-changer", "player-blood-particles").type(TypeToken.get(Boolean.class))
.defaultValue(true)
.notifyClient()
.build();

/**
* No documentation available.
*
* @since 1.0.0
* @since 1.2.2
*/
public static final NumberOption<Integer> PARTICLE_MULTIPLIER = NumberOption.<Integer>number()
.node("particle-changer", "particle-multiplier").type(TypeToken.get(Integer.class))
.min(1).max(10)
.defaultValue(1)
@Deprecated
public static final SimpleOption<Boolean> ENTITY_BLOOD_PARTICLES = SimpleOption.<Boolean>builder()
.node("particle-changer", "entity-blood-particles").type(TypeToken.get(Boolean.class))
.defaultValue(true)
.notifyClient()
.build();

/**
* No documentation available.
*
* @since 1.0.0
* @since 1.2.2
*/
public static final SimpleOption<Boolean> HIDE_PARTICLE = SimpleOption.<Boolean>builder()
.node("particle-changer", "hide-particle").type(TypeToken.get(Boolean.class))
@Deprecated
public static final SimpleOption<Boolean> PLAY_BLOOD_SOUND = SimpleOption.<Boolean>builder()
.node("particle-changer", "play-blood-sound").type(TypeToken.get(Boolean.class))
.defaultValue(false)
.notifyClient()
.build();
Expand All @@ -199,9 +215,10 @@ public final class ModParticleChanger {
*
* @since 1.0.0
*/
public static final SimpleOption<Boolean> OVERLAY_COLOR = SimpleOption.<Boolean>builder()
.node("particle-changer", "overlay-color").type(TypeToken.get(Boolean.class))
.defaultValue(false)
@Deprecated
public static final SimpleOption<Boolean> AFFECT_ENCHANTED_WEAPONS = SimpleOption.<Boolean>builder()
.node("particle-changer", "affect-enchanted-weapons").type(TypeToken.get(Boolean.class))
.defaultValue(true)
.notifyClient()
.build();

Expand Down
2 changes: 1 addition & 1 deletion docs/developers/mods/armorstatus.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void toggleArmorStatusExample(Player viewer, boolean value) {
- Config Key: `hide-unbreakable-durability`
- Values
- Type: `Boolean`
- Default: `false`
- Default: `true`

- __`ITEM_NAME`__
- Config Key: `item-name`
Expand Down
66 changes: 17 additions & 49 deletions docs/developers/mods/particlechanger.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,53 +21,21 @@ public void toggleParticleChangerExample(Player viewer, boolean value) {
- Type: `Boolean`
- Default: `false`

- __`SHOW_BLOOD_PARTICLES`__
- Config Key: `show-blood-particles`
- Values
- Type: `Boolean`
- Default: `false`

- __`BLOOD_MULTIPLIER`__
- Config Key: `blood-multiplier`
- Values
- Type: `Integer`
- Default: `1`
- Minimum: `1`
- Maximum: `10`

- __`PLAYER_BLOOD_PARTICLES`__
- Config Key: `player-blood-particles`
- Values
- Type: `Boolean`
- Default: `true`

- __`ENTITY_BLOOD_PARTICLES`__
- Config Key: `entity-blood-particles`
- Values
- Type: `Boolean`
- Default: `true`

- __`PLAY_BLOOD_SOUND`__
- Config Key: `play-blood-sound`
- Values
- Type: `Boolean`
- Default: `false`

- __`ALWAYS_ENCHANT_STRIKES`__
- Config Key: `always-enchant-strikes`
- Values
- Type: `Boolean`
- Default: `false`

- __`AFFECT_ENCHANTED_WEAPONS`__
- Config Key: `affect-enchanted-weapons`
- __`HIDE_FIRST_PERSON_PARTICLES`__
- Hide particles which are emitted in first person (e.g. potion effects)
- Config Key: `hide-first-person-particles`
- Values
- Type: `Boolean`
- Default: `true`
- Default: `false`

- __`HIDE_FIRST_PERSON_PARTICLES`__
- Hide your players potion effect particles when you're in first person
- Config Key: `hide-first-person-particles`
- __`HIDE_BLOCK_BREAK_PARTICLES`__
- Config Key: `hide-block-break-particles`
- Values
- Type: `Boolean`
- Default: `false`
Expand All @@ -79,27 +47,21 @@ public void toggleParticleChangerExample(Player viewer, boolean value) {
- Type: `Boolean`
- Default: `false`

- __`COLOR`__
- Config Key: `color`
- Values
- Type: `String`
- Default: `#FFFFFFFF`

- __`SCALE`__
- Config Key: `scale`
- Values
- Type: `Float`
- Default: `1.0F`
- Minimum: `0.5F`
- Minimum: `0.25F`
- Maximum: `2.0F`

- __`PARTICLE_MULTIPLIER`__
- Config Key: `particle-multiplier`
- Values
- Type: `Integer`
- Default: `1`
- Minimum: `1`
- Maximum: `10`
- Type: `Float`
- Default: `1.0F`
- Minimum: `0.25F`
- Maximum: `10.0F`

- __`HIDE_PARTICLE`__
- Config Key: `hide-particle`
Expand All @@ -113,3 +75,9 @@ public void toggleParticleChangerExample(Player viewer, boolean value) {
- Type: `Boolean`
- Default: `false`

- __`COLOR`__
- Config Key: `color`
- Values
- Type: `String`
- Default: `#FFFFFFFF`

Loading