]> git.lizzy.rs Git - LightOverlay.git/blob - fabric/src/main/java/me/shedaniel/lightoverlay/common/fabric/LightOverlayTickerImpl.java
Update to 1.18.2
[LightOverlay.git] / fabric / src / main / java / me / shedaniel / lightoverlay / common / fabric / LightOverlayTickerImpl.java
1 package me.shedaniel.lightoverlay.common.fabric;
2
3 import com.google.common.collect.ImmutableSet;
4 import net.minecraft.world.entity.Entity;
5 import net.minecraft.world.entity.EntityDimensions;
6 import net.minecraft.world.entity.EntityType;
7 import net.minecraft.world.entity.MobCategory;
8
9 public class LightOverlayTickerImpl {
10     public static void populateEntityType(EntityType<Entity> type) {
11         type.factory = (entityType, level) -> null;
12         type.category = MobCategory.MONSTER;
13         type.immuneTo = ImmutableSet.of();
14         type.dimensions = EntityDimensions.fixed(0.0F, 0.0F);
15     }
16 }