Class SpawnEntry1_18_2
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.spawn.SpawnEntryAPI<net.minecraft.world.entity.LivingEntity>
mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.spawn.SpawnEntry1_18_2
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.util.RandomHelper.WeightedEntry
public class SpawnEntry1_18_2
extends mods.thecomputerizer.theimpossiblelibrary.api.spawn.SpawnEntryAPI<net.minecraft.world.entity.LivingEntity>
-
Field Summary
Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.spawn.SpawnEntryAPI
entityClass, maxGroupCount, minGroupCount, weight -
Constructor Summary
ConstructorsConstructorDescriptionSpawnEntry1_18_2(Class<? extends net.minecraft.world.entity.LivingEntity> clazz, int weight, int maxGroup, int minGroup) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.LivingEntitynewInstance(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> worldAPI) Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.spawn.SpawnEntryAPI
getEntityClass, getMaxGroupCount, getMinGroupCount, getWeight, setEntityClass, setMaxGroupCount, setMinGroupCount, setWeight, toString
-
Constructor Details
-
SpawnEntry1_18_2
public SpawnEntry1_18_2(Class<? extends net.minecraft.world.entity.LivingEntity> clazz, int weight, int maxGroup, int minGroup)
-
-
Method Details
-
newInstance
public net.minecraft.world.entity.LivingEntity newInstance(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> worldAPI) - Specified by:
newInstancein classmods.thecomputerizer.theimpossiblelibrary.api.spawn.SpawnEntryAPI<net.minecraft.world.entity.LivingEntity>
-