Class CreateEntityBuilder<T extends net.minecraft.world.entity.Entity,P>

java.lang.Object
com.tterrag.registrate.builders.AbstractBuilder<net.minecraft.world.entity.EntityType<?>,net.minecraft.world.entity.EntityType<T>,P,com.tterrag.registrate.builders.EntityBuilder<T,P>>
com.tterrag.registrate.builders.EntityBuilder<T,P>
com.simibubi.create.foundation.data.CreateEntityBuilder<T,P>
All Implemented Interfaces:
com.tterrag.registrate.builders.Builder<net.minecraft.world.entity.EntityType<?>,net.minecraft.world.entity.EntityType<T>,P,com.tterrag.registrate.builders.EntityBuilder<T,P>>, com.tterrag.registrate.util.nullness.NonNullSupplier<com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.entity.EntityType<T>>>, Supplier<com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.entity.EntityType<T>>>

@ParametersAreNonnullByDefault public class CreateEntityBuilder<T extends net.minecraft.world.entity.Entity,P> extends com.tterrag.registrate.builders.EntityBuilder<T,P>
  • Constructor Summary

    Constructors
    Constructor
    Description
    CreateEntityBuilder(com.tterrag.registrate.AbstractRegistrate<?> owner, P parent, String name, com.tterrag.registrate.builders.BuilderCallback callback, net.minecraft.world.entity.EntityType.EntityFactory<T> factory, net.minecraft.world.entity.MobCategory classification)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T extends net.minecraft.world.entity.Entity, P>
    com.tterrag.registrate.builders.EntityBuilder<T,P>
    create(com.tterrag.registrate.AbstractRegistrate<?> owner, P parent, String name, com.tterrag.registrate.builders.BuilderCallback callback, net.minecraft.world.entity.EntityType.EntityFactory<T> factory, net.minecraft.world.entity.MobCategory classification)
     
    instance(com.tterrag.registrate.util.nullness.NonNullSupplier<BiFunction<com.jozufozu.flywheel.api.MaterialManager,T,com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<? super T>>> instanceFactory)
     
    instance(com.tterrag.registrate.util.nullness.NonNullSupplier<BiFunction<com.jozufozu.flywheel.api.MaterialManager,T,com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<? super T>>> instanceFactory, boolean renderNormally)
     
    instance(com.tterrag.registrate.util.nullness.NonNullSupplier<BiFunction<com.jozufozu.flywheel.api.MaterialManager,T,com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<? super T>>> instanceFactory, net.minecraftforge.common.util.NonNullPredicate<T> renderNormally)
     
    protected void
     

    Methods inherited from class com.tterrag.registrate.builders.EntityBuilder

    attributes, createEntry, createEntryWrapper, defaultLang, defaultSpawnEgg, injectSpawnEggType, lang, loot, properties, register, registerRenderer, renderer, spawnEgg, spawnPlacement, tag

    Methods inherited from class com.tterrag.registrate.builders.AbstractBuilder

    asSupplier, getCallback, getName, getOwner, getParent, getRegistryType, lang, lang, removeTag, tag

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.tterrag.registrate.builders.Builder

    addMiscData, build, get, getEntry, onRegister, onRegisterAfter, setData, transform
  • Constructor Details

    • CreateEntityBuilder

      public CreateEntityBuilder(com.tterrag.registrate.AbstractRegistrate<?> owner, P parent, String name, com.tterrag.registrate.builders.BuilderCallback callback, net.minecraft.world.entity.EntityType.EntityFactory<T> factory, net.minecraft.world.entity.MobCategory classification)
  • Method Details

    • create

      public static <T extends net.minecraft.world.entity.Entity, P> com.tterrag.registrate.builders.EntityBuilder<T,P> create(com.tterrag.registrate.AbstractRegistrate<?> owner, P parent, String name, com.tterrag.registrate.builders.BuilderCallback callback, net.minecraft.world.entity.EntityType.EntityFactory<T> factory, net.minecraft.world.entity.MobCategory classification)
    • instance

      public CreateEntityBuilder<T,P> instance(com.tterrag.registrate.util.nullness.NonNullSupplier<BiFunction<com.jozufozu.flywheel.api.MaterialManager,T,com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<? super T>>> instanceFactory)
    • instance

      public CreateEntityBuilder<T,P> instance(com.tterrag.registrate.util.nullness.NonNullSupplier<BiFunction<com.jozufozu.flywheel.api.MaterialManager,T,com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<? super T>>> instanceFactory, boolean renderNormally)
    • instance

      public CreateEntityBuilder<T,P> instance(com.tterrag.registrate.util.nullness.NonNullSupplier<BiFunction<com.jozufozu.flywheel.api.MaterialManager,T,com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<? super T>>> instanceFactory, net.minecraftforge.common.util.NonNullPredicate<T> renderNormally)
    • registerInstance

      protected void registerInstance()