-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
502 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...src/main/java/io/izzel/arclight/common/mod/server/entity/ArclightModAbstractSkeleton.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package io.izzel.arclight.common.mod.server.entity; | ||
|
||
import net.minecraft.world.entity.monster.AbstractSkeleton; | ||
import org.bukkit.craftbukkit.v.CraftServer; | ||
import org.bukkit.craftbukkit.v.entity.CraftAbstractSkeleton; | ||
import org.bukkit.entity.Skeleton; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
public class ArclightModAbstractSkeleton extends CraftAbstractSkeleton { | ||
public ArclightModAbstractSkeleton(CraftServer server, AbstractSkeleton entity) { | ||
super(server, entity); | ||
} | ||
|
||
@NotNull | ||
@Override | ||
public Skeleton.SkeletonType getSkeletonType() { | ||
return Skeleton.SkeletonType.NORMAL; | ||
} | ||
|
||
@Override | ||
public void setSkeletonType(Skeleton.SkeletonType type) { | ||
} | ||
} |
5 changes: 2 additions & 3 deletions
5
...ommon/src/main/java/io/izzel/arclight/common/mod/server/entity/ArclightModProjectile.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
package io.izzel.arclight.common.mod.server.entity; | ||
|
||
import net.minecraft.world.entity.Entity; | ||
import net.minecraft.world.entity.projectile.Projectile; | ||
import org.bukkit.craftbukkit.v.CraftServer; | ||
import org.bukkit.craftbukkit.v.entity.CraftProjectile; | ||
|
||
public class ArclightModProjectile extends CraftProjectile { | ||
|
||
public ArclightModProjectile(CraftServer server, Entity entity) { | ||
super(server, (Projectile) entity); | ||
public ArclightModProjectile(CraftServer server, Projectile entity) { | ||
super(server, entity); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
.../main/java/io/izzel/arclight/common/mod/server/entity/ArclightModThrowableProjectile.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package io.izzel.arclight.common.mod.server.entity; | ||
|
||
import net.minecraft.world.entity.projectile.ThrowableItemProjectile; | ||
import org.bukkit.craftbukkit.v.CraftServer; | ||
import org.bukkit.craftbukkit.v.entity.CraftThrowableProjectile; | ||
|
||
public class ArclightModThrowableProjectile extends CraftThrowableProjectile { | ||
|
||
public ArclightModThrowableProjectile(CraftServer server, ThrowableItemProjectile entity) { | ||
super(server, entity); | ||
} | ||
} |
Oops, something went wrong.