Skip to content

Instantly share code, notes, and snippets.

@RoboMWM
Created October 5, 2025 21:13
Show Gist options
  • Select an option

  • Save RoboMWM/d5f39290da6cc140cc950df355cb0378 to your computer and use it in GitHub Desktop.

Select an option

Save RoboMWM/d5f39290da6cc140cc950df355cb0378 to your computer and use it in GitHub Desktop.
mace knockback eventdebug
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: EntityDamageByEntityEvent
getDamager: PrettyTroubles1
isCritical: true
getDamageSource: DamageSource{damageType=CraftDamageType{holder=Reference{ResourceKey[minecraft:damage_type / minecraft:mace_smash]=DamageType[msgId=mace_smash, scaling=WHEN_CAUSED_BY_LIVING_NON_PLAYER, exhaustion=0.1, effects=HURT, deathMessageType=DEFAULT]}}, causingEntity=CraftPlayer{name=PrettyTroubles1, uuid=7f7381ca-d058-443b-b74c-2429cc99e226}, directEntity=CraftPlayer{name=PrettyTroubles1, uuid=7f7381ca-d058-443b-b74c-2429cc99e226}, damageLocation=null}
getDamage: 25.167369842529297
getFinalDamage: 10.100645065307617
getCause: ENTITY_ATTACK
isCancelled: false
getEntityType: PLAYER
getEntity: RoboMWM
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: EntityDamageByEntityEvent
getDamager: PrettyTroubles1
isCritical: true
getDamageSource: DamageSource{damageType=CraftDamageType{holder=Reference{ResourceKey[minecraft:damage_type / minecraft:mace_smash]=DamageType[msgId=mace_smash, scaling=WHEN_CAUSED_BY_LIVING_NON_PLAYER, exhaustion=0.1, effects=HURT, deathMessageType=DEFAULT]}}, causingEntity=CraftPlayer{name=PrettyTroubles1, uuid=7f7381ca-d058-443b-b74c-2429cc99e226}, directEntity=CraftPlayer{name=PrettyTroubles1, uuid=7f7381ca-d058-443b-b74c-2429cc99e226}, damageLocation=null}
getDamage: 25.167369842529297
getFinalDamage: 10.100645065307617
getCause: ENTITY_ATTACK
isCancelled: false
getEntityType: PLAYER
getEntity: RoboMWM
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: EntityDamageByEntityEvent
getDamager: PrettyTroubles1
isCritical: true
getDamageSource: DamageSource{damageType=CraftDamageType{holder=Reference{ResourceKey[minecraft:damage_type / minecraft:mace_smash]=DamageType[msgId=mace_smash, scaling=WHEN_CAUSED_BY_LIVING_NON_PLAYER, exhaustion=0.1, effects=HURT, deathMessageType=DEFAULT]}}, causingEntity=CraftPlayer{name=PrettyTroubles1, uuid=7f7381ca-d058-443b-b74c-2429cc99e226}, directEntity=CraftPlayer{name=PrettyTroubles1, uuid=7f7381ca-d058-443b-b74c-2429cc99e226}, damageLocation=null}
getDamage: 25.167369842529297
getFinalDamage: 10.100645065307617
getCause: ENTITY_ATTACK
isCancelled: false
getEntityType: PLAYER
getEntity: RoboMWM
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: EntityKnockbackByEntityEvent
getSourceEntity: PrettyTroubles1
getForce: 0.24000000119209286
getFinalKnockback: -0.21527289521643017,0.2008000004291534,-0.1061017490776682
getKnockback: -0.21527289521643017,0.2792000019550323,-0.1061017490776682
getEntity: RoboMWM
getEntity: RoboMWM
getCause: ENTITY_ATTACK
isCancelled: false
getEntityType: PLAYER
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: EntityKnockbackByEntityEvent
getSourceEntity: PrettyTroubles1
getForce: 0.24000000119209286
getFinalKnockback: -0.21527289521643017,0.2008000004291534,-0.1061017490776682
getKnockback: -0.21527289521643017,0.2792000019550323,-0.1061017490776682
getEntity: RoboMWM
getEntity: RoboMWM
getCause: ENTITY_ATTACK
isCancelled: false
getEntityType: PLAYER
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: EntityResurrectEvent
getEntity: RoboMWM
getEntity: RoboMWM
isCancelled: true
getEntityType: PLAYER
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: PlayerDeathEvent
getNewExp: 0
getNewLevel: 0
getNewTotalExp: 0
getKeepLevel: false
getPlayer: RoboMWM
getDeathMessage: RoboMWM was smashed by PrettyTroubles1
getItemsToKeep: []
getShowDeathMessages: true
getKeepInventory: false
getEntity: RoboMWM
getEntity: RoboMWM
getEntity: RoboMWM
getDroppedExp: 0
getDeathSoundCategory: PLAYERS
getDeathSoundVolume: 1.0
getDeathSoundPitch: 1.0304288
getDrops: [ItemStack{ANVIL x 1}, ItemStack{ENCHANTED_GOLDEN_APPLE x 30}, ItemStack{MACE x 1, UNSPECIFIC_META:{meta-type=UNSPECIFIC, enchants={minecraft:wind_burst=3}, repair-cost=1, Damage=5}}, ItemStack{WIND_CHARGE x 1}, ItemStack{ARMOR_STAND x 2}, ItemStack{SCULK_CATALYST x 1}, ItemStack{OAK_STAIRS x 1}, ItemStack{BRICKS x 1}, ItemStack{GOLDEN_SHOVEL x 1}, ItemStack{MOSS_BLOCK x 1}, ItemStack{NETHERITE_BOOTS x 1, ARMOR_META:{meta-type=ARMOR, Damage=43}}, ItemStack{NETHERITE_LEGGINGS x 1, ARMOR_META:{meta-type=ARMOR, Damage=43}}, ItemStack{NETHERITE_CHESTPLATE x 1, ARMOR_META:{meta-type=ARMOR, Damage=43}}, ItemStack{NETHERITE_HELMET x 1, ARMOR_META:{meta-type=ARMOR, Damage=43}}]
getDamageSource: DamageSource{damageType=CraftDamageType{holder=Reference{ResourceKey[minecraft:damage_type / minecraft:mace_smash]=DamageType[msgId=mace_smash, scaling=WHEN_CAUSED_BY_LIVING_NON_PLAYER, exhaustion=0.1, effects=HURT, deathMessageType=DEFAULT]}}, causingEntity=CraftPlayer{name=PrettyTroubles1, uuid=7f7381ca-d058-443b-b74c-2429cc99e226}, directEntity=CraftPlayer{name=PrettyTroubles1, uuid=7f7381ca-d058-443b-b74c-2429cc99e226}, damageLocation=null}
getDeathSound: CraftSound{holder=Reference{ResourceKey[minecraft:sound_event / minecraft:entity.player.death]=SoundEvent[location=minecraft:entity.player.death, fixedRange=Optional.empty]}}
getReviveHealth: 20.0
isCancelled: false
getEntityType: PLAYER
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: PlayerDeathEvent
getNewExp: 0
getNewLevel: 0
getNewTotalExp: 0
getKeepLevel: false
getPlayer: RoboMWM
getDeathMessage: RoboMWM was smashed by PrettyTroubles1
getItemsToKeep: []
getShowDeathMessages: true
getKeepInventory: false
getEntity: RoboMWM
getEntity: RoboMWM
getEntity: RoboMWM
getDroppedExp: 0
getDeathSoundCategory: PLAYERS
getDeathSoundVolume: 1.0
getDeathSoundPitch: 1.0304288
getDrops: [ItemStack{ANVIL x 1}, ItemStack{ENCHANTED_GOLDEN_APPLE x 30}, ItemStack{MACE x 1, UNSPECIFIC_META:{meta-type=UNSPECIFIC, enchants={minecraft:wind_burst=3}, repair-cost=1, Damage=5}}, ItemStack{WIND_CHARGE x 1}, ItemStack{ARMOR_STAND x 2}, ItemStack{SCULK_CATALYST x 1}, ItemStack{OAK_STAIRS x 1}, ItemStack{BRICKS x 1}, ItemStack{GOLDEN_SHOVEL x 1}, ItemStack{MOSS_BLOCK x 1}, ItemStack{NETHERITE_BOOTS x 1, ARMOR_META:{meta-type=ARMOR, Damage=43}}, ItemStack{NETHERITE_LEGGINGS x 1, ARMOR_META:{meta-type=ARMOR, Damage=43}}, ItemStack{NETHERITE_CHESTPLATE x 1, ARMOR_META:{meta-type=ARMOR, Damage=43}}, ItemStack{NETHERITE_HELMET x 1, ARMOR_META:{meta-type=ARMOR, Damage=43}}]
getDamageSource: DamageSource{damageType=CraftDamageType{holder=Reference{ResourceKey[minecraft:damage_type / minecraft:mace_smash]=DamageType[msgId=mace_smash, scaling=WHEN_CAUSED_BY_LIVING_NON_PLAYER, exhaustion=0.1, effects=HURT, deathMessageType=DEFAULT]}}, causingEntity=CraftPlayer{name=PrettyTroubles1, uuid=7f7381ca-d058-443b-b74c-2429cc99e226}, directEntity=CraftPlayer{name=PrettyTroubles1, uuid=7f7381ca-d058-443b-b74c-2429cc99e226}, damageLocation=null}
getDeathSound: CraftSound{holder=Reference{ResourceKey[minecraft:sound_event / minecraft:entity.player.death]=SoundEvent[location=minecraft:entity.player.death, fixedRange=Optional.empty]}}
getReviveHealth: 20.0
isCancelled: false
getEntityType: PLAYER
[22:51:18] [Server thread/INFO]: RoboMWM was smashed by PrettyTroubles1
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: PlayerAdvancementDoneEvent
getPlayer: PrettyTroubles1
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: PlayerVelocityEvent
getVelocity: 0.0,-0.0784000015258789,0.0
isCancelled: false
getPlayer: RoboMWM
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: EntityKnockbackEvent
getForce: 1.491302134685262
getFinalKnockback: -3.064813079660018,0.9924551226584821,0.7302422526095306
getKnockback: -1.442459994460582,0.37085513610529,-0.07587943938857081
getEntity: CraftArmorStand{uuid=3f2849dc-92d8-4229-af62-b3a9e1303eb6}
getEntity: CraftArmorStand{uuid=3f2849dc-92d8-4229-af62-b3a9e1303eb6}
getCause: EXPLOSION
isCancelled: false
getEntityType: ARMOR_STAND
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: EntityKnockbackEvent
getForce: 1.491302134685262
getFinalKnockback: -3.064813079660018,0.9924551226584821,0.7302422526095306
getKnockback: -1.442459994460582,0.37085513610529,-0.07587943938857081
getEntity: CraftArmorStand{uuid=3f2849dc-92d8-4229-af62-b3a9e1303eb6}
getEntity: CraftArmorStand{uuid=3f2849dc-92d8-4229-af62-b3a9e1303eb6}
getCause: EXPLOSION
isCancelled: false
getEntityType: ARMOR_STAND
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: EntityKnockbackEvent
getForce: 2.200000047683716
getFinalKnockback: 0.0,2.2100000474601984,0.0
getKnockback: 0.0,2.200000047683716,0.0
getEntity: PrettyTroubles1
getEntity: PrettyTroubles1
getCause: EXPLOSION
isCancelled: false
getEntityType: PLAYER
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: EntityKnockbackEvent
getForce: 2.200000047683716
getFinalKnockback: 0.0,2.2100000474601984,0.0
getKnockback: 0.0,2.200000047683716,0.0
getEntity: PrettyTroubles1
getEntity: PrettyTroubles1
getCause: EXPLOSION
isCancelled: false
getEntityType: PLAYER
[22:51:18] [Server thread/INFO]: [EventDebug] Event fired: BlockExplodeEvent
getExplosionResult: TRIGGER_BLOCK
getYield: 1.0
isCancelled: false
getBlock: AIR at Location{world=CraftWorld{name=world},x=-19.0,y=67.0,z=16.0,pitch=0.0,yaw=0.0}
[22:51:21] [Server thread/INFO]: [EventDebug] Event fired: EntityDamageEvent
getDamage: 20.0
getDamageSource: DamageSource{damageType=CraftDamageType{holder=Reference{ResourceKey[minecraft:damage_type / minecraft:fall]=DamageType[msgId=fall, scaling=WHEN_CAUSED_BY_LIVING_NON_PLAYER, exhaustion=0.0, effects=HURT, deathMessageType=FALL_VARIANTS]}}, causingEntity=null, directEntity=null, damageLocation=null}
getFinalDamage: 16.0
getCause: FALL
isCancelled: false
getEntityType: PLAYER
getEntity: PrettyTroubles1
[22:51:21] [Server thread/INFO]: [EventDebug] Event fired: EntityDamageEvent
getDamage: 20.0
getDamageSource: DamageSource{damageType=CraftDamageType{holder=Reference{ResourceKey[minecraft:damage_type / minecraft:fall]=DamageType[msgId=fall, scaling=WHEN_CAUSED_BY_LIVING_NON_PLAYER, exhaustion=0.0, effects=HURT, deathMessageType=FALL_VARIANTS]}}, causingEntity=null, directEntity=null, damageLocation=null}
getFinalDamage: 16.0
getCause: FALL
isCancelled: false
getEntityType: PLAYER
getEntity: PrettyTroubles1
[22:51:21] [Server thread/INFO]: [EventDebug] Event fired: EntityDamageEvent
getDamage: 20.0
getDamageSource: DamageSource{damageType=CraftDamageType{holder=Reference{ResourceKey[minecraft:damage_type / minecraft:fall]=DamageType[msgId=fall, scaling=WHEN_CAUSED_BY_LIVING_NON_PLAYER, exhaustion=0.0, effects=HURT, deathMessageType=FALL_VARIANTS]}}, causingEntity=null, directEntity=null, damageLocation=null}
getFinalDamage: 16.0
getCause: FALL
isCancelled: false
getEntityType: PLAYER
getEntity: PrettyTroubles1
[22:51:21] [Server thread/INFO]: [EventDebug] Event fired: PlayerVelocityEvent
getVelocity: 0.0,-0.1552320045166016,0.0
isCancelled: false
getPlayer: PrettyTroubles1
[22:51:26] [Server thread/INFO]: [EventDebug] Event fired: ServerCommandEvent
getCommand: ed quiet true
isCancelled: false
[22:51:26] [Server thread/INFO]: The setting quiet was changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment