@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/world/damagesource/DamageSource.java
|
||||
+++ b/net/minecraft/world/damagesource/DamageSource.java
|
||||
@@ -20,6 +20,86 @@
|
||||
@@ -21,6 +21,86 @@
|
||||
private final Entity directEntity;
|
||||
@Nullable
|
||||
private final Vec3D damageSourcePosition;
|
||||
@@ -87,12 +87,3 @@
|
||||
|
||||
public String toString() {
|
||||
return "DamageSource (" + this.type().msgId() + ")";
|
||||
@@ -33,7 +113,7 @@
|
||||
return this.causingEntity != this.directEntity;
|
||||
}
|
||||
|
||||
- private DamageSource(Holder<DamageType> holder, @Nullable Entity entity, @Nullable Entity entity1, @Nullable Vec3D vec3d) {
|
||||
+ public DamageSource(Holder<DamageType> holder, @Nullable Entity entity, @Nullable Entity entity1, @Nullable Vec3D vec3d) {
|
||||
this.type = holder;
|
||||
this.causingEntity = entity1;
|
||||
this.directEntity = entity;
|
||||
|
||||
Reference in New Issue
Block a user