SteamPowered/src/main/java/com/teammoeg/steampowered/client/Particles.java

35 lines
1.3 KiB
Java

/*
* Copyright (c) 2021 TeamMoeg
*
* This file is part of Frosted Heart.
*
* Frosted Heart is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3.
*
* Frosted Heart is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Frosted Heart. If not, see <https://www.gnu.org/licenses/>.
*/
package com.teammoeg.steampowered.client;
import com.teammoeg.steampowered.SteamPowered;
import net.minecraft.core.particles.SimpleParticleType;
import net.minecraft.core.particles.ParticleType;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;
public class Particles {
public static final DeferredRegister<ParticleType<?>> REGISTER = DeferredRegister.create(ForgeRegistries.PARTICLE_TYPES, SteamPowered.MODID);
public static final RegistryObject<SimpleParticleType> STEAM = REGISTER.register("steam", () -> new SimpleParticleType(false));
}