Skip to content

Commit

Permalink
Fixed nudibranch loot table error
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticKoko committed Dec 8, 2024
1 parent b1ff6a2 commit 5f4cc08
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import net.minecraft.entity.EntityType
import net.minecraft.entity.attribute.DefaultAttributeContainer
import net.minecraft.entity.attribute.EntityAttributes
import net.minecraft.entity.mob.WaterCreatureEntity
import net.minecraft.util.Identifier
import net.minecraft.world.World
import software.bernie.geckolib.core.animatable.GeoAnimatable
import software.bernie.geckolib.core.animation.AnimationState
Expand Down Expand Up @@ -32,6 +33,10 @@ class NudibranchEntity(entityType: EntityType<out NudibranchEntity>, world: Worl
ignore = listOf(CritterVariant.Ignore.MODEL, CritterVariant.Ignore.ANIMATION)),
)) {

public override fun getLootTableId(): Identifier {
return Identifier("hybrid-aquatic", "entities/nudibranch")
}

companion object {
fun createMobAttributes(): DefaultAttributeContainer.Builder {
return WaterCreatureEntity.createMobAttributes()
Expand Down

0 comments on commit 5f4cc08

Please sign in to comment.