Effects

The Effects system in the InfiniteCrops plugin adds immersive visual and auditory effects for various gameplay features such as abilities, crop growth, harvesting, and more. This guide explains how to configure and customize the effects.yml file to tailor the experience to your needs.


File Structure

The effects.yml file consists of sections that control specific effects. Each effect can include:

  1. Particle Effects: Visual animations like smoke or sparkles.

  2. Sound Effects: Auditory feedback like splashes or item collection sounds.

  3. Enable/Disable Toggles: Boolean options to enable or disable effects.


Configuration Example

effects:
  ability_particles: true
  ability_particle_currency_increaser: CRIT_MAGIC
  ability_particle_currency_increaser_times: 5
  bush_growth_particles: true
  bush_stage_last_stage: TOTEM
  bush_stage_last_stage_times: 5
  can_sound_enabled: true
  can_fill_sound: ITEM_BUCKET_FILL;1;1
  combustion_particles: true
  combustion_particle_smoke: CAMPFIRE_COSY_SMOKE
  combustion_particle_smoke_times: 2
  crop_growth_particles: true
  crop_harvest_particle: HEART
  crop_harvest_particle_times: 3

Key Sections

1. Abilities

  • Controls the visual effects for abilities like currency increasers, fortune increasers, etc.

  • Example:

    • ability_particles: Enables or disables ability particles globally.

    • ability_particle_currency_increaser: Particle effect used for the currency increaser ability.

    • ability_particle_currency_increaser_times: Number of particles spawned per effect.


2. Crops

  • Manages growth, harvesting, and drying effects for crops.

  • Example:

    • crop_growth_particles: Toggles particle effects for crop growth.

    • crop_stage_last_stage: Particle effect displayed when the crop reaches its final stage.

    • crop_harvest_particle: Particle effect displayed during harvest.


3. Bushes

  • Similar to crops, but specific to bushes.

  • Example:


4. Combustion Generators

  • Configures effects for combustion generators.

  • Example:


5. Fertilizers

  • Visualizes fertilizer application effects.

  • Example:


6. Watering

  • Configures effects for watering crops using cans or sprinklers.

  • Example:


How to Customize Effects

  1. Enable or Disable Effects:

    • Use boolean toggles (e.g., true or false) to activate or deactivate specific effects.

  2. Change Particle Types:

    • Replace particle names with desired effects from the Minecraft particle list. Examples include CAMPFIRE_COSY_SMOKE, HEART, DRAGON_BREATH.

  3. Adjust Particle Intensity:

    • Modify the _times values to control the number of particles spawned.

  4. Configure Sounds:

    • Define sounds using the format: <sound_name>;<volume>;<pitch>.

    • Example:

Last updated