Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 1db1e42

Browse files
committed
Javadoc fixes to patchwork-events-entity
1 parent 021eb38 commit 1db1e42

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

patchwork-events-entity/src/main/java/net/minecraftforge/event/entity/living/LivingDeathEvent.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@
2525
import net.minecraft.entity.damage.DamageSource;
2626

2727
/**
28-
* LivingDeathEvent is fired when an Entity dies.
28+
* LivingDeathEvent is fired when a {@link LivingEntity} dies.
2929
*
30-
* <p>This event is fired whenever an Entity dies in
30+
* <p>This event is fired whenever a {@link LivingEntity} dies in
3131
* {@link LivingEntity#onDeath(DamageSource)},
3232
* {@link net.minecraft.entity.player.PlayerEntity#onDeath(DamageSource)}, and
3333
* {@link net.minecraft.server.network.ServerPlayerEntity#onDeath(DamageSource)}.</p>
3434
*
3535
* <p>This event is fired via {@link com.patchworkmc.impl.event.entity.EntityEvents#onLivingDeath(LivingEntity, DamageSource)}.</p>
3636
*
37-
* <p>{@link #source} contains the DamageSource that caused the entity to die.</p>
37+
* <p>{@link #source} contains the {@link DamageSource} that caused the {@link LivingEntity} to die.</p>
3838
*
3939
* <p>This event is cancellable.
40-
* If this event is canceled, the Entity does not die.</p>
40+
* If this event is canceled, the {@link LivingEntity} does not die.</p>
4141
*
4242
* <p>This event is fired on the {@link MinecraftForge#EVENT_BUS}.</p>
4343
*/

patchwork-events-entity/src/main/java/net/minecraftforge/event/entity/player/PlayerInteractEvent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public boolean isCancelable() {
212212
* will be called after {@link net.minecraft.item.Item#onItemUseFirst} is called.</p>
213213
*
214214
* <p>This event is cancellable.
215-
* Canceling the event will cause none of the above noted methods to be called.</p>
215+
* Cancelling the event will cause none of the above noted methods to be called.</p>
216216
*
217217
* <p>Let result be a return value of the above three methods, or {@link #cancellationResult} if the event is cancelled.
218218
* If we are on the client and result is not {@link ActionResult#SUCCESS}, the client will then try {@link RightClickItem}.</p>
@@ -322,7 +322,7 @@ public RightClickEmpty(PlayerEntity player, Hand hand) {
322322
* <p>This event controls which of {@link net.minecraft.block.Block#onBlockBreakStart(BlockState, World, BlockPos, PlayerEntity)} and/or the item harvesting methods will be called.</p>
323323
324324
* <p>This event is cancellable.
325-
* Canceling the event will cause none of the above noted methods to be called.</p>
325+
* Cancelling the event will cause none of the above noted methods to be called.</p>
326326
327327
* There are various results to this event, see the getters below.
328328
*

0 commit comments

Comments
 (0)