Carpet

Carpet

2M Downloads

Boat with Chest is classified as a living entity unlike the regular Boat.

James103 opened this issue ยท 1 comments

commented

Since Minecraft 22w12a, Boats with Chest are in the game, however, Carpet Mod classifies them as a living entity even though they aren't.

This can be solved by adding a new entry somewhere in (or at the end of) the following set:

Set<EntityType<?>> deads = Sets.newHashSet(
EntityType.AREA_EFFECT_CLOUD, EntityType.MARKER, EntityType.BOAT, EntityType.END_CRYSTAL,
EntityType.EVOKER_FANGS, EntityType.EXPERIENCE_ORB, EntityType.EYE_OF_ENDER,
EntityType.FALLING_BLOCK, EntityType.ITEM, EntityType.ITEM_FRAME, EntityType.GLOW_ITEM_FRAME,
EntityType.LEASH_KNOT, EntityType.LIGHTNING_BOLT, EntityType.PAINTING,
EntityType.TNT, EntityType.ARMOR_STAND

commented

so... if some other mod add a kind of entity, will it be viewed as a living entity?