Search in sources :

Example 1 with PlasmagunRender

use of mod.azure.doom.client.render.weapons.PlasmagunRender in project MCDoom by AzureDoom.

the class ClientInit method onInitializeClient.

@Override
public void onInitializeClient() {
    ModelProviderinit.init();
    DoomRenderRegistry.init();
    ScreenRegistry.register(DoomMod.SCREEN_HANDLER_TYPE, GunTableScreen::new);
    GeoItemRenderer.registerItemRenderer(DoomBlocks.TOTEM.asItem(), new TotemItemRender());
    GeoItemRenderer.registerItemRenderer(DoomBlocks.GUN_TABLE.asItem(), new GunCraftingItemRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.BFG, new BFG9000Render());
    GeoItemRenderer.registerItemRenderer(DoomItems.BFG_ETERNAL, new BFGRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.SG, new SGRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.SSG, new SSGRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.CHAINGUN, new ChaingunRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.BALLISTA, new BallistaRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.PLASMAGUN, new PlasmagunRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.HEAVYCANNON, new HeavyCannonRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.CHAINSAW_ETERNAL, new ChainsawRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.PISTOL, new PistolRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.ROCKETLAUNCHER, new RocketLauncherRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.UNMAYKR, new UnmaykrRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.SENTINELHAMMER, new SentinelHammerRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.CRUCIBLESWORD, new SwordCrucibleRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.DARKLORDCRUCIBLE, new DarkLordCrucibleRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.DSG, new DSGRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.DPLASMARIFLE, new DPlamsaRifleRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.DGAUSS, new DGaussRender());
    GeoItemRenderer.registerItemRenderer(DoomItems.GRENADE, new GrenadeItemRender());
    ClientSidePacketRegistry.INSTANCE.register(EntityPacket.ID, (ctx, buf) -> {
        EntityPacketOnClient.onPacket(ctx, buf);
    });
    KeyBindingHelper.registerKeyBinding(reload);
    KeyBindingHelper.registerKeyBinding(yeethook);
    requestParticleTexture(new Identifier("doom:particle/plasma"));
    ParticleFactoryRegistry.getInstance().register(DoomParticles.PLASMA, PlasmaParticle.Factory::new);
    ParticleFactoryRegistry.getInstance().register(DoomParticles.PISTOL, PlasmaParticle.Factory::new);
    ParticleFactoryRegistry.getInstance().register(DoomParticles.UNMAYKR, PlasmaParticle.Factory::new);
}
Also used : SSGRender(mod.azure.doom.client.render.weapons.SSGRender) HeavyCannonRender(mod.azure.doom.client.render.weapons.HeavyCannonRender) DPlamsaRifleRender(mod.azure.doom.client.render.weapons.DPlamsaRifleRender) GrenadeItemRender(mod.azure.doom.client.render.projectiles.GrenadeItemRender) SSGRender(mod.azure.doom.client.render.weapons.SSGRender) SGRender(mod.azure.doom.client.render.weapons.SGRender) DSGRender(mod.azure.doom.client.render.weapons.DSGRender) RocketLauncherRender(mod.azure.doom.client.render.weapons.RocketLauncherRender) ChainsawRender(mod.azure.doom.client.render.weapons.ChainsawRender) PistolRender(mod.azure.doom.client.render.weapons.PistolRender) TotemItemRender(mod.azure.doom.client.render.item.TotemItemRender) PlasmagunRender(mod.azure.doom.client.render.weapons.PlasmagunRender) SentinelHammerRender(mod.azure.doom.client.render.weapons.SentinelHammerRender) DarkLordCrucibleRender(mod.azure.doom.client.render.weapons.DarkLordCrucibleRender) DGaussRender(mod.azure.doom.client.render.weapons.DGaussRender) GunTableScreen(mod.azure.doom.client.gui.GunTableScreen) Identifier(net.minecraft.util.Identifier) ChaingunRender(mod.azure.doom.client.render.weapons.ChaingunRender) DSGRender(mod.azure.doom.client.render.weapons.DSGRender) BFGRender(mod.azure.doom.client.render.weapons.BFGRender) BFG9000Render(mod.azure.doom.client.render.weapons.BFG9000Render) GunCraftingItemRender(mod.azure.doom.client.render.item.GunCraftingItemRender) BallistaRender(mod.azure.doom.client.render.weapons.BallistaRender) SwordCrucibleRender(mod.azure.doom.client.render.weapons.SwordCrucibleRender) UnmaykrRender(mod.azure.doom.client.render.weapons.UnmaykrRender)

Aggregations

GunTableScreen (mod.azure.doom.client.gui.GunTableScreen)1 GunCraftingItemRender (mod.azure.doom.client.render.item.GunCraftingItemRender)1 TotemItemRender (mod.azure.doom.client.render.item.TotemItemRender)1 GrenadeItemRender (mod.azure.doom.client.render.projectiles.GrenadeItemRender)1 BFG9000Render (mod.azure.doom.client.render.weapons.BFG9000Render)1 BFGRender (mod.azure.doom.client.render.weapons.BFGRender)1 BallistaRender (mod.azure.doom.client.render.weapons.BallistaRender)1 ChaingunRender (mod.azure.doom.client.render.weapons.ChaingunRender)1 ChainsawRender (mod.azure.doom.client.render.weapons.ChainsawRender)1 DGaussRender (mod.azure.doom.client.render.weapons.DGaussRender)1 DPlamsaRifleRender (mod.azure.doom.client.render.weapons.DPlamsaRifleRender)1 DSGRender (mod.azure.doom.client.render.weapons.DSGRender)1 DarkLordCrucibleRender (mod.azure.doom.client.render.weapons.DarkLordCrucibleRender)1 HeavyCannonRender (mod.azure.doom.client.render.weapons.HeavyCannonRender)1 PistolRender (mod.azure.doom.client.render.weapons.PistolRender)1 PlasmagunRender (mod.azure.doom.client.render.weapons.PlasmagunRender)1 RocketLauncherRender (mod.azure.doom.client.render.weapons.RocketLauncherRender)1 SGRender (mod.azure.doom.client.render.weapons.SGRender)1 SSGRender (mod.azure.doom.client.render.weapons.SSGRender)1 SentinelHammerRender (mod.azure.doom.client.render.weapons.SentinelHammerRender)1