aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/gui/entity/ModifyInvisible.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/gui/entity/ModifyInvisible.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/entity/ModifyInvisible.kt13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/gui/entity/ModifyInvisible.kt b/src/main/kotlin/moe/nea/firmament/gui/entity/ModifyInvisible.kt
deleted file mode 100644
index 8d36991..0000000
--- a/src/main/kotlin/moe/nea/firmament/gui/entity/ModifyInvisible.kt
+++ /dev/null
@@ -1,13 +0,0 @@
-
-package moe.nea.firmament.gui.entity
-
-import com.google.gson.JsonObject
-import net.minecraft.entity.LivingEntity
-
-object ModifyInvisible : EntityModifier {
- override fun apply(entity: LivingEntity, info: JsonObject): LivingEntity {
- entity.isInvisible = info.get("invisible")?.asBoolean ?: true
- return entity
- }
-
-}