Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Description: Class that registers the projectile entity
Submitted on February 12, 2024 at 07:34 AM
Expires on February 11, 2025 at 07:34 AM (8 months from now)

package net.raguraccoon.ragu_testin.entity;

import net.minecraft.world.entity.EntityType;
import net.minecraft.world.entity.MobCategory;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;
import net.raguraccoon.ragu_testin.RaguTestin;
import net.raguraccoon.ragu_testin.entity.custom.IncinerateBall;

public class ModEntities {
    public static final DeferredRegister<EntityType<?>> ENTITY_TYPES =
            DeferredRegister.create(ForgeRegistries.ENTITY_TYPES, RaguTestin.MOD_ID);
    public static final RegistryObject<EntityType<IncinerateBall>> INCINERATE_BALL = ENTITY_TYPES.register("incinerate_ball",
            () -> EntityType.Builder.<IncinerateBall>of(IncinerateBall::new, MobCategory.MISC).sized(1f, 1f).build("incinerate_ball"));

    public static void register(IEventBus eventBus) {
        ENTITY_TYPES.register(eventBus);
    }
}