Prevent | 1.20.4 icon

Prevent | 1.20.4 -----

Prevents Entity Grief




changed few classes to record
added updatechecker class
chunks support for latest release
nothing changes for config just a plugin clean up
----------, Mar 16, 2024

chunks support fix for latest
----------, Feb 2, 2024

supports latest Chunks plugin
----------, Jan 28, 2024

config.yml changes
Code (Text):
disable-redstone: false
ignore-spawn-reason:
  BEEHIVE: true
  BREEDING: false
  BUILD_IRONGOLEM: false
  BUILD_SNOWMAN: false
  BUILD_WITHER: false
  COMMAND: true
  CURED: true
  CUSTOM: true
  DEFAULT: false
  DISPENSE_EGG: false
  DROWNED: true
  DUPLICATION: false
  EGG: false
  ENDER_PEARL: false
  EXPLOSION: false
  FROZEN: false
  INFECTION: true
  JOCKEY: false
  LIGHTNING: true
  METAMORPHOSIS: false
  MOUNT: false
  NATURAL: false
  NETHER_PORTAL: false
  OCELOT_BABY: false
  PATROL: true
  PIGLIN_ZOMBIFIED: true
  RAID: true
  REINFORCEMENTS: true
  SHEARED: true
  SHOULDER_ENTITY: true
  SILVERFISH_BLOCK: false
  SLIME_SPLIT: true
  SPAWNER: false
  SPAWNER_EGG: true
  SPELL: true
  TRAP: true
  VILLAGE_DEFENCE: true
  VILLAGE_INVASION: true
entities:
  ALLAY:
    chunk-limit: 8
  CHICKEN:
    prevent-egg-hatch: true
    chunk-limit: 8
  CREEPER:
    chunk-limit: 8
    prevent-block-damage: true
    prevent-damage:
      - DROPPED_ITEM
  PRIMED_TNT:
    chunk-limit: 4
    prevent-block-damage: true
    prevent-damage:
      - DROPPED_ITEM
  MINECART_TNT:
    chunk-limit: 4
    prevent-block-damage: true
    prevent-damage:
      - DROPPED_ITEM
  WITHER:
    chunk-limit: 3
    prevent-block-damage: true
  WITHER_SKULL:
    prevent-block-damage: true
    prevent-damage:
      - DROPPED_ITEM
  ENDER_DRAGON:
    chunk-limit: 1
    prevent-block-damage: true
  DRAGON_FIREBALL:
    prevent-block-damage: true
    prevent-damage:
      - DROPPED_ITEM
  PLAYER:
    prevent-trample:
      FARMLAND: true
      TURTLE_EGG: true
  PHANTOM:
    disable-spawn: true
projectile-launch:
  # removes projectile after launch, 0 to disable, 20 is 1 sec
  PLAYER:
    cancel-on-hit: true
    remove-on-hit-if-creative: true
    EGG: 300
    SNOWBALL: 100
    ARROW: 600
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 100
    TRIDENT: 0
  SKELETON:
    cancel-on-hit: false
    SNOWBALL: 0
    ARROW: 100
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 0
    TRIDENT: 0
  STRAY:
    cancel-on-hit: false
    SNOWBALL: 0
    ARROW: 100
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 0
    TRIDENT: 0
  PILLAGER:
    cancel-on-hit: false
    SNOWBALL: 0
    ARROW: 100
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 0
    TRIDENT: 0
  DROWNED:
    cancel-on-hit: false
    SNOWBALL: 0
    ARROW: 0
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 0
    TRIDENT: 100
  SNOWMAN:
    cancel-on-hit: true
    SNOWBALL: 100
    ARROW: 0
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 0
    TRIDENT: 0
 
----------, Jan 28, 2024

breeding cancel on chunk-limit
----------, Jan 28, 2024

chunk-limit is fixed to the limit or higher instead of higher than the limit
----------, Jan 28, 2024

supports Chunks plugin
----------, Jan 28, 2024

limit ignores spawn reasons below
command = when player execute entity spawn command
custom = plugin entity spawn
cured = villager cure
infection = villager infection
beehive = beehive entity spawn
slime split = slime split spawn
village defence = villager defence
village invasion = villager invasion
----------, Jan 28, 2024

corrected priority for entity spawn event
on phantom in config.yml
change prevent-spawn: true > disable-spawn: true
----------, Jan 28, 2024

this is snapshot version
for latest 1.20.4 mc version
added chunk-limit on entity spawn
cleaned up few classes
config.yml changes
delete config.yml then restart if using recent version
----------, Jan 27, 2024

  • corrected projectile event
----------, Aug 8, 2023

Code (Text):
prevent:
  # prevent moving into unloaded chunks
  moving-into-unloaded-chunks: true
  # prevent chicken egg hatch spawn
  egg-hatch: false
  # prevent block drops on creative
  creative-block-drops: false
  # prevent redstone
  redstone: false
  # prevent fire spread
  fire-spread: true
----------, Jul 5, 2023

  • if creative drops are cleared on Bee nest block break
----------, Jul 5, 2023

  • removed message class
  • moved update checker to main class
  • cleaned up
----------, Jul 5, 2023

  • moved update checker to main class
----------, Jun 30, 2023

  • added reload log
----------, Jun 25, 2023

  • corrected api for 1.15

  • corrected message class
----------, Jun 25, 2023

  • supports 1.15.2 - 1.20.1
Code (Text):

prevent:
  moving-into-unloaded-chunks: true
  redstone: false
  fire-spread: true
  trample:
    # trampling
    FARMLAND: true
    TURTLE_EGG: true
 
----------, Jun 25, 2023

  • removes instant on entity hit if creative
    before it bounces of the entity if it was trident
----------, Jun 15, 2023

----------, Jun 15, 2023

  • corrected prevent move into unloaded chunks
----------, Jun 14, 2023

Config.yml
Code (Text):
prevent:
  moving-into-unloaded-chunks: true
  trample:
    # trampling
    FARMLAND: true
    TURTLE_EGG: true
  explode:
    # entity explode
    CREEPER: true
    # just-in-case
    WITHER_SKULL: true
    # just-in-case
    DRAGON_FIREBALL: true
  change-block:
    # sheep changes grass block to dirt
    SHEEP: true
    # enderman block pick up
    ENDERMAN: true
    # just-in-case
    CREEPER: true
    # just-in-case
    ENDER_DRAGON: true
    # just-in-case
    DRAGON_FIREBALL: true
    # just-in-case
    WITHER: true
    # just-in-case
    WITHER_SKULL: true
  spawn:
    # entity spawn
    PHANTOM: true
  entity-target:
    # entity target
    ZOMBIE:
      VILLAGER: true
    DROWNED:
      VILLAGER: true
    HUSK:
      VILLAGER: true
  block-form:
    # snowman trails
    SNOWMAN: true
projectile-launch:
  # removes projectile after launch, 0 to disable, 20 is 1 sec
  PLAYER:
    cancel-on-hit: true
    remove-on-hit-if-creative: false
    SNOWBALL: 100
    ARROW: 600
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 100
    TRIDENT: 0
  SKELETON:
    cancel-on-hit: false
    SNOWBALL: 0
    ARROW: 100
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 0
    TRIDENT: 0
  STRAY:
    cancel-on-hit: false
    SNOWBALL: 0
    ARROW: 100
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 0
    TRIDENT: 0
  PILLAGER:
    cancel-on-hit: false
    SNOWBALL: 0
    ARROW: 100
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 0
    TRIDENT: 0
  DROWNED:
    cancel-on-hit: false
    SNOWBALL: 0
    ARROW: 0
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 0
    TRIDENT: 100
  SNOWMAN:
    cancel-on-hit: true
    SNOWBALL: 100
    ARROW: 0
    SPECTRAL_ARROW: 0
    SPLASH_POTION: 0
    TRIDENT: 0
 
----------, Jun 14, 2023

  • cleaned up classes
----------, Jun 13, 2023

  • fixed entity target event
----------, Jun 13, 2023

  • config.yml changes
    Code (Text):
    prevent:
      entity-target:
        # entity target
        ZOMBIE:
          VILLAGER: true
     
----------, Jun 13, 2023

  • config.yml changes
    Code (Text):
    prevent:
    projectile-launch:
      # removes projectile after launch, 0 to disable, 20 is 1 sec
      SNOWBALL: 100
      ARROW: 0
      SPECTRAL_ARROW: 0
      SPLASH_POTION: 100
      TRIDENT: 0
     
----------, Jun 13, 2023

Resource Information
Author:
----------
Total Downloads: 210
First Release: Jun 13, 2023
Last Update: Mar 16, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings