修改主类名称
This commit is contained in:
parent
860ecc63ae
commit
d5bbb7c224
270 changed files with 1248 additions and 1249 deletions
|
@ -11,7 +11,6 @@ import net.minecraft.resources.ResourceLocation;
|
||||||
import net.neoforged.bus.api.IEventBus;
|
import net.neoforged.bus.api.IEventBus;
|
||||||
import net.neoforged.bus.api.SubscribeEvent;
|
import net.neoforged.bus.api.SubscribeEvent;
|
||||||
import net.neoforged.fml.ModContainer;
|
import net.neoforged.fml.ModContainer;
|
||||||
import net.neoforged.fml.common.Mod;
|
|
||||||
import net.neoforged.fml.config.ModConfig;
|
import net.neoforged.fml.config.ModConfig;
|
||||||
import net.neoforged.fml.event.lifecycle.FMLClientSetupEvent;
|
import net.neoforged.fml.event.lifecycle.FMLClientSetupEvent;
|
||||||
import net.neoforged.neoforge.client.event.ClientTickEvent;
|
import net.neoforged.neoforge.client.event.ClientTickEvent;
|
||||||
|
@ -26,15 +25,15 @@ import java.util.Collection;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.ConcurrentLinkedQueue;
|
import java.util.concurrent.ConcurrentLinkedQueue;
|
||||||
|
|
||||||
@Mod(ModUtils.MODID)
|
@net.neoforged.fml.common.Mod(Mod.MODID)
|
||||||
public class ModUtils {
|
public class Mod {
|
||||||
|
|
||||||
public static final String MODID = "superbwarfare";
|
public static final String MODID = "superbwarfare";
|
||||||
public static final String ATTRIBUTE_MODIFIER = "superbwarfare_attribute_modifier";
|
public static final String ATTRIBUTE_MODIFIER = "superbwarfare_attribute_modifier";
|
||||||
|
|
||||||
public static final Logger LOGGER = LogManager.getLogger(ModUtils.class);
|
public static final Logger LOGGER = LogManager.getLogger(Mod.class);
|
||||||
|
|
||||||
public ModUtils(IEventBus bus, ModContainer container) {
|
public Mod(IEventBus bus, ModContainer container) {
|
||||||
container.registerConfig(ModConfig.Type.CLIENT, ClientConfig.init());
|
container.registerConfig(ModConfig.Type.CLIENT, ClientConfig.init());
|
||||||
container.registerConfig(ModConfig.Type.COMMON, CommonConfig.init());
|
container.registerConfig(ModConfig.Type.COMMON, CommonConfig.init());
|
||||||
container.registerConfig(ModConfig.Type.SERVER, ServerConfig.init());
|
container.registerConfig(ModConfig.Type.SERVER, ServerConfig.init());
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.capability;
|
package com.atsuishio.superbwarfare.capability;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.block.entity.ChargingStationBlockEntity;
|
import com.atsuishio.superbwarfare.block.entity.ChargingStationBlockEntity;
|
||||||
import com.atsuishio.superbwarfare.block.entity.CreativeChargingStationBlockEntity;
|
import com.atsuishio.superbwarfare.block.entity.CreativeChargingStationBlockEntity;
|
||||||
import com.atsuishio.superbwarfare.capability.energy.BlockEnergyStorageProvider;
|
import com.atsuishio.superbwarfare.capability.energy.BlockEnergyStorageProvider;
|
||||||
|
@ -20,11 +20,11 @@ import net.neoforged.neoforge.capabilities.Capabilities;
|
||||||
import net.neoforged.neoforge.capabilities.EntityCapability;
|
import net.neoforged.neoforge.capabilities.EntityCapability;
|
||||||
import net.neoforged.neoforge.capabilities.RegisterCapabilitiesEvent;
|
import net.neoforged.neoforge.capabilities.RegisterCapabilitiesEvent;
|
||||||
|
|
||||||
@EventBusSubscriber(modid = ModUtils.MODID, bus = EventBusSubscriber.Bus.MOD)
|
@EventBusSubscriber(modid = Mod.MODID, bus = EventBusSubscriber.Bus.MOD)
|
||||||
public class ModCapabilities {
|
public class ModCapabilities {
|
||||||
|
|
||||||
public static final EntityCapability<LaserCapability, Void> LASER_CAPABILITY = EntityCapability.createVoid(ModUtils.loc("laser_capability"), LaserCapability.class);
|
public static final EntityCapability<LaserCapability, Void> LASER_CAPABILITY = EntityCapability.createVoid(Mod.loc("laser_capability"), LaserCapability.class);
|
||||||
public static final EntityCapability<PlayerVariable, Void> PLAYER_VARIABLE = EntityCapability.createVoid(ModUtils.loc("player_variable"), PlayerVariable.class);
|
public static final EntityCapability<PlayerVariable, Void> PLAYER_VARIABLE = EntityCapability.createVoid(Mod.loc("player_variable"), PlayerVariable.class);
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public static void registerCapabilities(RegisterCapabilitiesEvent event) {
|
public static void registerCapabilities(RegisterCapabilitiesEvent event) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.capability.player;
|
package com.atsuishio.superbwarfare.capability.player;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.capability.ModCapabilities;
|
import com.atsuishio.superbwarfare.capability.ModCapabilities;
|
||||||
import com.atsuishio.superbwarfare.network.message.receive.PlayerVariablesSyncMessage;
|
import com.atsuishio.superbwarfare.network.message.receive.PlayerVariablesSyncMessage;
|
||||||
import com.atsuishio.superbwarfare.tools.AmmoType;
|
import com.atsuishio.superbwarfare.tools.AmmoType;
|
||||||
|
@ -14,7 +14,7 @@ import net.neoforged.neoforge.event.entity.player.PlayerEvent;
|
||||||
import net.neoforged.neoforge.network.PacketDistributor;
|
import net.neoforged.neoforge.network.PacketDistributor;
|
||||||
|
|
||||||
// TODO 在退出世界时正确持久化弹药数量
|
// TODO 在退出世界时正确持久化弹药数量
|
||||||
@EventBusSubscriber(modid = ModUtils.MODID)
|
@EventBusSubscriber(modid = Mod.MODID)
|
||||||
public class PlayerVariable {
|
public class PlayerVariable {
|
||||||
public boolean zoom = false;
|
public boolean zoom = false;
|
||||||
public boolean holdFire = false;
|
public boolean holdFire = false;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer;
|
package com.atsuishio.superbwarfare.client.layer;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.TargetEntity;
|
import com.atsuishio.superbwarfare.entity.TargetEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class TargetLayer extends GeoRenderLayer<TargetEntity> {
|
public class TargetLayer extends GeoRenderLayer<TargetEntity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/target_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/target_e.png");
|
||||||
|
|
||||||
public TargetLayer(GeoRenderer<TargetEntity> entityRenderer) {
|
public TargetLayer(GeoRenderer<TargetEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.rifle.AK12Item;
|
import com.atsuishio.superbwarfare.item.gun.rifle.AK12Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class AK12Layer extends GeoRenderLayer<AK12Item> {
|
public class AK12Layer extends GeoRenderLayer<AK12Item> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/ak12_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/ak12_e.png");
|
||||||
|
|
||||||
public AK12Layer(GeoRenderer<AK12Item> entityRenderer) {
|
public AK12Layer(GeoRenderer<AK12Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.rifle.AK47Item;
|
import com.atsuishio.superbwarfare.item.gun.rifle.AK47Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class AK47Layer extends GeoRenderLayer<AK47Item> {
|
public class AK47Layer extends GeoRenderLayer<AK47Item> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/ak47_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/ak47_e.png");
|
||||||
|
|
||||||
public AK47Layer(GeoRenderer<AK47Item> entityRenderer) {
|
public AK47Layer(GeoRenderer<AK47Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.shotgun.Aa12Item;
|
import com.atsuishio.superbwarfare.item.gun.shotgun.Aa12Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Aa12Layer extends GeoRenderLayer<Aa12Item> {
|
public class Aa12Layer extends GeoRenderLayer<Aa12Item> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/aa12_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/aa12_e.png");
|
||||||
|
|
||||||
public Aa12Layer(GeoRenderer<Aa12Item> entityRenderer) {
|
public Aa12Layer(GeoRenderer<Aa12Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.special.BocekItem;
|
import com.atsuishio.superbwarfare.item.gun.special.BocekItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class BocekLayer extends GeoRenderLayer<BocekItem> {
|
public class BocekLayer extends GeoRenderLayer<BocekItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/bocek_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/bocek_e.png");
|
||||||
|
|
||||||
public BocekLayer(GeoRenderer<BocekItem> entityRenderer) {
|
public BocekLayer(GeoRenderer<BocekItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.machinegun.DevotionItem;
|
import com.atsuishio.superbwarfare.item.gun.machinegun.DevotionItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class DevotionLayer extends GeoRenderLayer<DevotionItem> {
|
public class DevotionLayer extends GeoRenderLayer<DevotionItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/devotion_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/devotion_e.png");
|
||||||
|
|
||||||
public DevotionLayer(GeoRenderer<DevotionItem> entityRenderer) {
|
public DevotionLayer(GeoRenderer<DevotionItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.handgun.Glock17Item;
|
import com.atsuishio.superbwarfare.item.gun.handgun.Glock17Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Glock17Layer extends GeoRenderLayer<Glock17Item> {
|
public class Glock17Layer extends GeoRenderLayer<Glock17Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/glock17_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/glock17_e.png");
|
||||||
|
|
||||||
public Glock17Layer(GeoRenderer<Glock17Item> entityRenderer) {
|
public Glock17Layer(GeoRenderer<Glock17Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
||||||
import com.atsuishio.superbwarfare.item.gun.handgun.Glock17Item;
|
import com.atsuishio.superbwarfare.item.gun.handgun.Glock17Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Glock17LightLayer extends GeoRenderLayer<Glock17Item> {
|
public class Glock17LightLayer extends GeoRenderLayer<Glock17Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/glock17_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/glock17_e.png");
|
||||||
|
|
||||||
public Glock17LightLayer(GeoRenderer<Glock17Item> itemGeoRenderer) {
|
public Glock17LightLayer(GeoRenderer<Glock17Item> itemGeoRenderer) {
|
||||||
super(itemGeoRenderer);
|
super(itemGeoRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.handgun.Glock18Item;
|
import com.atsuishio.superbwarfare.item.gun.handgun.Glock18Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Glock18Layer extends GeoRenderLayer<Glock18Item> {
|
public class Glock18Layer extends GeoRenderLayer<Glock18Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/glock17_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/glock17_e.png");
|
||||||
|
|
||||||
public Glock18Layer(GeoRenderer<Glock18Item> entityRenderer) {
|
public Glock18Layer(GeoRenderer<Glock18Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
||||||
import com.atsuishio.superbwarfare.item.gun.handgun.Glock18Item;
|
import com.atsuishio.superbwarfare.item.gun.handgun.Glock18Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Glock18LightLayer extends GeoRenderLayer<Glock18Item> {
|
public class Glock18LightLayer extends GeoRenderLayer<Glock18Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/glock17_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/glock17_e.png");
|
||||||
|
|
||||||
public Glock18LightLayer(GeoRenderer<Glock18Item> itemGeoRenderer) {
|
public Glock18LightLayer(GeoRenderer<Glock18Item> itemGeoRenderer) {
|
||||||
super(itemGeoRenderer);
|
super(itemGeoRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.rifle.Hk416Item;
|
import com.atsuishio.superbwarfare.item.gun.rifle.Hk416Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Hk416Layer extends GeoRenderLayer<Hk416Item> {
|
public class Hk416Layer extends GeoRenderLayer<Hk416Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/hk416_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/hk416_e.png");
|
||||||
|
|
||||||
public Hk416Layer(GeoRenderer<Hk416Item> entityRenderer) {
|
public Hk416Layer(GeoRenderer<Hk416Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.shotgun.HomemadeShotgunItem;
|
import com.atsuishio.superbwarfare.item.gun.shotgun.HomemadeShotgunItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class HomemadeShotgunLayer extends GeoRenderLayer<HomemadeShotgunItem> {
|
public class HomemadeShotgunLayer extends GeoRenderLayer<HomemadeShotgunItem> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/homemade_shotgun_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/homemade_shotgun_e.png");
|
||||||
|
|
||||||
public HomemadeShotgunLayer(GeoRenderer<HomemadeShotgunItem> entityRenderer) {
|
public HomemadeShotgunLayer(GeoRenderer<HomemadeShotgunItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.sniper.HuntingRifleItem;
|
import com.atsuishio.superbwarfare.item.gun.sniper.HuntingRifleItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class HuntingRifleLayer extends GeoRenderLayer<HuntingRifleItem> {
|
public class HuntingRifleLayer extends GeoRenderLayer<HuntingRifleItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/hunting_rifle_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/hunting_rifle_e.png");
|
||||||
|
|
||||||
public HuntingRifleLayer(GeoRenderer<HuntingRifleItem> entityRenderer) {
|
public HuntingRifleLayer(GeoRenderer<HuntingRifleItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.sniper.K98Item;
|
import com.atsuishio.superbwarfare.item.gun.sniper.K98Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class K98Layer extends GeoRenderLayer<K98Item> {
|
public class K98Layer extends GeoRenderLayer<K98Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/k98_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/k98_e.png");
|
||||||
|
|
||||||
public K98Layer(GeoRenderer<K98Item> entityRenderer) {
|
public K98Layer(GeoRenderer<K98Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.handgun.M1911Item;
|
import com.atsuishio.superbwarfare.item.gun.handgun.M1911Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class M1911Layer extends GeoRenderLayer<M1911Item> {
|
public class M1911Layer extends GeoRenderLayer<M1911Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/m1911_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/m1911_e.png");
|
||||||
|
|
||||||
public M1911Layer(GeoRenderer<M1911Item> entityRenderer) {
|
public M1911Layer(GeoRenderer<M1911Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.rifle.M4Item;
|
import com.atsuishio.superbwarfare.item.gun.rifle.M4Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class M4Layer extends GeoRenderLayer<M4Item> {
|
public class M4Layer extends GeoRenderLayer<M4Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/m4_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/m4_e.png");
|
||||||
|
|
||||||
public M4Layer(GeoRenderer<M4Item> itemGeoRenderer) {
|
public M4Layer(GeoRenderer<M4Item> itemGeoRenderer) {
|
||||||
super(itemGeoRenderer);
|
super(itemGeoRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.machinegun.M60Item;
|
import com.atsuishio.superbwarfare.item.gun.machinegun.M60Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class M60Layer extends GeoRenderLayer<M60Item> {
|
public class M60Layer extends GeoRenderLayer<M60Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/m60_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/m60_e.png");
|
||||||
|
|
||||||
public M60Layer(GeoRenderer<M60Item> entityRenderer) {
|
public M60Layer(GeoRenderer<M60Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.launcher.M79Item;
|
import com.atsuishio.superbwarfare.item.gun.launcher.M79Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class M79Layer extends GeoRenderLayer<M79Item> {
|
public class M79Layer extends GeoRenderLayer<M79Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/m79_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/m79_e.png");
|
||||||
|
|
||||||
public M79Layer(GeoRenderer<M79Item> entityRenderer) {
|
public M79Layer(GeoRenderer<M79Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.shotgun.M870Item;
|
import com.atsuishio.superbwarfare.item.gun.shotgun.M870Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class M870Layer extends GeoRenderLayer<M870Item> {
|
public class M870Layer extends GeoRenderLayer<M870Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/m870_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/m870_e.png");
|
||||||
|
|
||||||
public M870Layer(GeoRenderer<M870Item> entityRenderer) {
|
public M870Layer(GeoRenderer<M870Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.sniper.M98bItem;
|
import com.atsuishio.superbwarfare.item.gun.sniper.M98bItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class M98bLayer extends GeoRenderLayer<M98bItem> {
|
public class M98bLayer extends GeoRenderLayer<M98bItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/m98b_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/m98b_e.png");
|
||||||
|
|
||||||
public M98bLayer(GeoRenderer<M98bItem> entityRenderer) {
|
public M98bLayer(GeoRenderer<M98bItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.rifle.MarlinItem;
|
import com.atsuishio.superbwarfare.item.gun.rifle.MarlinItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class MarlinLayer extends GeoRenderLayer<MarlinItem> {
|
public class MarlinLayer extends GeoRenderLayer<MarlinItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/marlin_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/marlin_e.png");
|
||||||
|
|
||||||
public MarlinLayer(GeoRenderer<MarlinItem> entityRenderer) {
|
public MarlinLayer(GeoRenderer<MarlinItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
||||||
import com.atsuishio.superbwarfare.init.ModTags;
|
import com.atsuishio.superbwarfare.init.ModTags;
|
||||||
import com.atsuishio.superbwarfare.item.gun.machinegun.MinigunItem;
|
import com.atsuishio.superbwarfare.item.gun.machinegun.MinigunItem;
|
||||||
|
@ -20,7 +20,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class MinigunHeatLayer extends GeoRenderLayer<MinigunItem> {
|
public class MinigunHeatLayer extends GeoRenderLayer<MinigunItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/minigun_heat_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/minigun_heat_e.png");
|
||||||
|
|
||||||
public MinigunHeatLayer(GeoRenderer<MinigunItem> itemGeoRenderer) {
|
public MinigunHeatLayer(GeoRenderer<MinigunItem> itemGeoRenderer) {
|
||||||
super(itemGeoRenderer);
|
super(itemGeoRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.machinegun.MinigunItem;
|
import com.atsuishio.superbwarfare.item.gun.machinegun.MinigunItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class MinigunLayer extends GeoRenderLayer<MinigunItem> {
|
public class MinigunLayer extends GeoRenderLayer<MinigunItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/minigun_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/minigun_e.png");
|
||||||
|
|
||||||
public MinigunLayer(GeoRenderer<MinigunItem> entityRenderer) {
|
public MinigunLayer(GeoRenderer<MinigunItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.rifle.Mk14Item;
|
import com.atsuishio.superbwarfare.item.gun.rifle.Mk14Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Mk14Layer extends GeoRenderLayer<Mk14Item> {
|
public class Mk14Layer extends GeoRenderLayer<Mk14Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/mk14_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/mk14_e.png");
|
||||||
|
|
||||||
public Mk14Layer(GeoRenderer<Mk14Item> entityRenderer) {
|
public Mk14Layer(GeoRenderer<Mk14Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.sniper.MosinNagantItem;
|
import com.atsuishio.superbwarfare.item.gun.sniper.MosinNagantItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class MosinNagantLayer extends GeoRenderLayer<MosinNagantItem> {
|
public class MosinNagantLayer extends GeoRenderLayer<MosinNagantItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/mosin_nagant_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/mosin_nagant_e.png");
|
||||||
|
|
||||||
public MosinNagantLayer(GeoRenderer<MosinNagantItem> entityRenderer) {
|
public MosinNagantLayer(GeoRenderer<MosinNagantItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.handgun.Mp443Item;
|
import com.atsuishio.superbwarfare.item.gun.handgun.Mp443Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Mp443Layer extends GeoRenderLayer<Mp443Item> {
|
public class Mp443Layer extends GeoRenderLayer<Mp443Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/mp443_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/mp443_e.png");
|
||||||
|
|
||||||
public Mp443Layer(GeoRenderer<Mp443Item> itemGeoRenderer) {
|
public Mp443Layer(GeoRenderer<Mp443Item> itemGeoRenderer) {
|
||||||
super(itemGeoRenderer);
|
super(itemGeoRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
||||||
import com.atsuishio.superbwarfare.item.gun.handgun.Mp443Item;
|
import com.atsuishio.superbwarfare.item.gun.handgun.Mp443Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Mp443LightLayer extends GeoRenderLayer<Mp443Item> {
|
public class Mp443LightLayer extends GeoRenderLayer<Mp443Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/mp443_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/mp443_e.png");
|
||||||
|
|
||||||
public Mp443LightLayer(GeoRenderer<Mp443Item> itemGeoRenderer) {
|
public Mp443LightLayer(GeoRenderer<Mp443Item> itemGeoRenderer) {
|
||||||
super(itemGeoRenderer);
|
super(itemGeoRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.heavy.Ntw20Item;
|
import com.atsuishio.superbwarfare.item.gun.heavy.Ntw20Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Ntw20Layer extends GeoRenderLayer<Ntw20Item> {
|
public class Ntw20Layer extends GeoRenderLayer<Ntw20Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/ntw_20_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/ntw_20_e.png");
|
||||||
|
|
||||||
public Ntw20Layer(GeoRenderer<Ntw20Item> entityRenderer) {
|
public Ntw20Layer(GeoRenderer<Ntw20Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.rifle.Qbz95Item;
|
import com.atsuishio.superbwarfare.item.gun.rifle.Qbz95Item;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Qbz95Layer extends GeoRenderLayer<Qbz95Item> {
|
public class Qbz95Layer extends GeoRenderLayer<Qbz95Item> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/qbz95_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/qbz95_e.png");
|
||||||
|
|
||||||
public Qbz95Layer(GeoRenderer<Qbz95Item> entityRenderer) {
|
public Qbz95Layer(GeoRenderer<Qbz95Item> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.machinegun.RpkItem;
|
import com.atsuishio.superbwarfare.item.gun.machinegun.RpkItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class RpkLayer extends GeoRenderLayer<RpkItem> {
|
public class RpkLayer extends GeoRenderLayer<RpkItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/rpk_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/rpk_e.png");
|
||||||
|
|
||||||
public RpkLayer(GeoRenderer<RpkItem> entityRenderer) {
|
public RpkLayer(GeoRenderer<RpkItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
||||||
import com.atsuishio.superbwarfare.item.gun.launcher.SecondaryCataclysm;
|
import com.atsuishio.superbwarfare.item.gun.launcher.SecondaryCataclysm;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class SecondaryCataclysmLightLayer extends GeoRenderLayer<SecondaryCataclysm> {
|
public class SecondaryCataclysmLightLayer extends GeoRenderLayer<SecondaryCataclysm> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/secondary_cataclysm_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/secondary_cataclysm_e.png");
|
||||||
|
|
||||||
public SecondaryCataclysmLightLayer(GeoRenderer<SecondaryCataclysm> itemGeoRenderer) {
|
public SecondaryCataclysmLightLayer(GeoRenderer<SecondaryCataclysm> itemGeoRenderer) {
|
||||||
super(itemGeoRenderer);
|
super(itemGeoRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.sniper.SentinelItem;
|
import com.atsuishio.superbwarfare.item.gun.sniper.SentinelItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class SentinelLayer extends GeoRenderLayer<SentinelItem> {
|
public class SentinelLayer extends GeoRenderLayer<SentinelItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/sentinel_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/sentinel_e.png");
|
||||||
|
|
||||||
public SentinelLayer(GeoRenderer<SentinelItem> entityRenderer) {
|
public SentinelLayer(GeoRenderer<SentinelItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
||||||
import com.atsuishio.superbwarfare.item.gun.sniper.SentinelItem;
|
import com.atsuishio.superbwarfare.item.gun.sniper.SentinelItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class SentinelLightLayer extends GeoRenderLayer<SentinelItem> {
|
public class SentinelLightLayer extends GeoRenderLayer<SentinelItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/sentinel_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/sentinel_e.png");
|
||||||
|
|
||||||
public SentinelLightLayer(GeoRenderer<SentinelItem> itemGeoRenderer) {
|
public SentinelLightLayer(GeoRenderer<SentinelItem> itemGeoRenderer) {
|
||||||
super(itemGeoRenderer);
|
super(itemGeoRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.rifle.SksItem;
|
import com.atsuishio.superbwarfare.item.gun.rifle.SksItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class SksLayer extends GeoRenderLayer<SksItem> {
|
public class SksLayer extends GeoRenderLayer<SksItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/sks_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/sks_e.png");
|
||||||
|
|
||||||
public SksLayer(GeoRenderer<SksItem> entityRenderer) {
|
public SksLayer(GeoRenderer<SksItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.sniper.SvdItem;
|
import com.atsuishio.superbwarfare.item.gun.sniper.SvdItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class SvdLayer extends GeoRenderLayer<SvdItem> {
|
public class SvdLayer extends GeoRenderLayer<SvdItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/ak12_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/ak12_e.png");
|
||||||
|
|
||||||
public SvdLayer(GeoRenderer<SvdItem> entityRenderer) {
|
public SvdLayer(GeoRenderer<SvdItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.handgun.Trachelium;
|
import com.atsuishio.superbwarfare.item.gun.handgun.Trachelium;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class TracheliumLayer extends GeoRenderLayer<Trachelium> {
|
public class TracheliumLayer extends GeoRenderLayer<Trachelium> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/trachelium_texture_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/trachelium_texture_e.png");
|
||||||
|
|
||||||
public TracheliumLayer(GeoRenderer<Trachelium> entityRenderer) {
|
public TracheliumLayer(GeoRenderer<Trachelium> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
||||||
import com.atsuishio.superbwarfare.item.gun.handgun.Trachelium;
|
import com.atsuishio.superbwarfare.item.gun.handgun.Trachelium;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class TracheliumLightLayer extends GeoRenderLayer<Trachelium> {
|
public class TracheliumLightLayer extends GeoRenderLayer<Trachelium> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/trachelium_texture_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/trachelium_texture_e.png");
|
||||||
|
|
||||||
public TracheliumLightLayer(GeoRenderer<Trachelium> itemGeoRenderer) {
|
public TracheliumLightLayer(GeoRenderer<Trachelium> itemGeoRenderer) {
|
||||||
super(itemGeoRenderer);
|
super(itemGeoRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.gun;
|
package com.atsuishio.superbwarfare.client.layer.gun;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.gun.smg.VectorItem;
|
import com.atsuishio.superbwarfare.item.gun.smg.VectorItem;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class VectorLayer extends GeoRenderLayer<VectorItem> {
|
public class VectorLayer extends GeoRenderLayer<VectorItem> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/item/vector_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/item/vector_e.png");
|
||||||
|
|
||||||
public VectorLayer(GeoRenderer<VectorItem> entityRenderer) {
|
public VectorLayer(GeoRenderer<VectorItem> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.projectile;
|
package com.atsuishio.superbwarfare.client.layer.projectile;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.CannonShellEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.CannonShellEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class CannonShellLayer extends GeoRenderLayer<CannonShellEntity> {
|
public class CannonShellLayer extends GeoRenderLayer<CannonShellEntity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/cannon_shell_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/cannon_shell_e.png");
|
||||||
|
|
||||||
public CannonShellLayer(GeoRenderer<CannonShellEntity> entityRenderer) {
|
public CannonShellLayer(GeoRenderer<CannonShellEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.projectile;
|
package com.atsuishio.superbwarfare.client.layer.projectile;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.GunGrenadeEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.GunGrenadeEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class GunGrenadeLayer extends GeoRenderLayer<GunGrenadeEntity> {
|
public class GunGrenadeLayer extends GeoRenderLayer<GunGrenadeEntity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/cannon_shell_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/cannon_shell_e.png");
|
||||||
|
|
||||||
public GunGrenadeLayer(GeoRenderer<GunGrenadeEntity> entityRenderer) {
|
public GunGrenadeLayer(GeoRenderer<GunGrenadeEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.projectile;
|
package com.atsuishio.superbwarfare.client.layer.projectile;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.HeliRocketEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.HeliRocketEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class HeliRocketLayer extends GeoRenderLayer<HeliRocketEntity> {
|
public class HeliRocketLayer extends GeoRenderLayer<HeliRocketEntity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/rpg_rocket_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/rpg_rocket_e.png");
|
||||||
|
|
||||||
public HeliRocketLayer(GeoRenderer<HeliRocketEntity> entityRenderer) {
|
public HeliRocketLayer(GeoRenderer<HeliRocketEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.projectile;
|
package com.atsuishio.superbwarfare.client.layer.projectile;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.JavelinMissileEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.JavelinMissileEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class JavelinMissleLayer extends GeoRenderLayer<JavelinMissileEntity> {
|
public class JavelinMissleLayer extends GeoRenderLayer<JavelinMissileEntity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/rpg_rocket_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/rpg_rocket_e.png");
|
||||||
|
|
||||||
public JavelinMissleLayer(GeoRenderer<JavelinMissileEntity> entityRenderer) {
|
public JavelinMissleLayer(GeoRenderer<JavelinMissileEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.projectile;
|
package com.atsuishio.superbwarfare.client.layer.projectile;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.ProjectileEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.ProjectileEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class ProjectileEntityInsideLayer extends GeoRenderLayer<ProjectileEntity> {
|
public class ProjectileEntityInsideLayer extends GeoRenderLayer<ProjectileEntity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/projectile_entity_inside.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/projectile_entity_inside.png");
|
||||||
|
|
||||||
public ProjectileEntityInsideLayer(GeoRenderer<ProjectileEntity> entityRenderer) {
|
public ProjectileEntityInsideLayer(GeoRenderer<ProjectileEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.projectile;
|
package com.atsuishio.superbwarfare.client.layer.projectile;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.ProjectileEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.ProjectileEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class ProjectileEntityLayer extends GeoRenderLayer<ProjectileEntity> {
|
public class ProjectileEntityLayer extends GeoRenderLayer<ProjectileEntity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/projectile_entity.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/projectile_entity.png");
|
||||||
|
|
||||||
public ProjectileEntityLayer(GeoRenderer<ProjectileEntity> entityRenderer) {
|
public ProjectileEntityLayer(GeoRenderer<ProjectileEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.projectile;
|
package com.atsuishio.superbwarfare.client.layer.projectile;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.RpgRocketEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.RpgRocketEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class RpgRocketLayer extends GeoRenderLayer<RpgRocketEntity> {
|
public class RpgRocketLayer extends GeoRenderLayer<RpgRocketEntity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/rpg_rocket_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/rpg_rocket_e.png");
|
||||||
|
|
||||||
public RpgRocketLayer(GeoRenderer<RpgRocketEntity> entityRenderer) {
|
public RpgRocketLayer(GeoRenderer<RpgRocketEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.projectile;
|
package com.atsuishio.superbwarfare.client.layer.projectile;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.SmallCannonShellEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.SmallCannonShellEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class SmallCannonShellLayer extends GeoRenderLayer<SmallCannonShellEntity> {
|
public class SmallCannonShellLayer extends GeoRenderLayer<SmallCannonShellEntity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/cannon_shell_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/cannon_shell_e.png");
|
||||||
|
|
||||||
public SmallCannonShellLayer(GeoRenderer<SmallCannonShellEntity> entityRenderer) {
|
public SmallCannonShellLayer(GeoRenderer<SmallCannonShellEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.projectile;
|
package com.atsuishio.superbwarfare.client.layer.projectile;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.WgMissileEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.WgMissileEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class WgMissileLayer extends GeoRenderLayer<WgMissileEntity> {
|
public class WgMissileLayer extends GeoRenderLayer<WgMissileEntity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/rpg_rocket_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/rpg_rocket_e.png");
|
||||||
|
|
||||||
public WgMissileLayer(GeoRenderer<WgMissileEntity> entityRenderer) {
|
public WgMissileLayer(GeoRenderer<WgMissileEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
@ -15,7 +15,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class AnnihilatorGlowLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
public class AnnihilatorGlowLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/annihilator_glow_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/annihilator_glow_e.png");
|
||||||
|
|
||||||
public AnnihilatorGlowLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
public AnnihilatorGlowLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class AnnihilatorLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
public class AnnihilatorLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/annihilator_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/annihilator_e.png");
|
||||||
|
|
||||||
public AnnihilatorLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
public AnnihilatorLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class AnnihilatorLedLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
public class AnnihilatorLedLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/annihilator_led.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/annihilator_led.png");
|
||||||
|
|
||||||
public AnnihilatorLedLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
public AnnihilatorLedLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class AnnihilatorLedLightLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
public class AnnihilatorLedLightLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/annihilator_led.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/annihilator_led.png");
|
||||||
|
|
||||||
public AnnihilatorLedLightLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
public AnnihilatorLedLightLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -16,7 +16,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class AnnihilatorPowerLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
public class AnnihilatorPowerLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/annihilator_power.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/annihilator_power.png");
|
||||||
|
|
||||||
public AnnihilatorPowerLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
public AnnihilatorPowerLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -16,7 +16,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class AnnihilatorPowerLightLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
public class AnnihilatorPowerLightLayer extends GeoRenderLayer<AnnihilatorEntity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/annihilator_power.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/annihilator_power.png");
|
||||||
|
|
||||||
public AnnihilatorPowerLightLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
public AnnihilatorPowerLightLayer(GeoRenderer<AnnihilatorEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Bmp2Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Bmp2Entity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Bmp2Layer extends GeoRenderLayer<Bmp2Entity> {
|
public class Bmp2Layer extends GeoRenderLayer<Bmp2Entity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/speedboat_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/speedboat_e.png");
|
||||||
|
|
||||||
public Bmp2Layer(GeoRenderer<Bmp2Entity> entityRenderer) {
|
public Bmp2Layer(GeoRenderer<Bmp2Entity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.LaserTowerEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.LaserTowerEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class LaserTowerLaserLayer extends GeoRenderLayer<LaserTowerEntity> {
|
public class LaserTowerLaserLayer extends GeoRenderLayer<LaserTowerEntity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/laser_tower_laser.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/laser_tower_laser.png");
|
||||||
|
|
||||||
public LaserTowerLaserLayer(GeoRenderer<LaserTowerEntity> entityRenderer) {
|
public LaserTowerLaserLayer(GeoRenderer<LaserTowerEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.LaserTowerEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.LaserTowerEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -16,7 +16,7 @@ import static com.atsuishio.superbwarfare.entity.vehicle.LaserTowerEntity.ACTIVE
|
||||||
|
|
||||||
public class LaserTowerPowerLayer extends GeoRenderLayer<LaserTowerEntity> {
|
public class LaserTowerPowerLayer extends GeoRenderLayer<LaserTowerEntity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/laser_tower_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/laser_tower_e.png");
|
||||||
|
|
||||||
public LaserTowerPowerLayer(GeoRenderer<LaserTowerEntity> entityRenderer) {
|
public LaserTowerPowerLayer(GeoRenderer<LaserTowerEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Lav150Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Lav150Entity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Lav150Layer extends GeoRenderLayer<Lav150Entity> {
|
public class Lav150Layer extends GeoRenderLayer<Lav150Entity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/speedboat_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/speedboat_e.png");
|
||||||
|
|
||||||
public Lav150Layer(GeoRenderer<Lav150Entity> entityRenderer) {
|
public Lav150Layer(GeoRenderer<Lav150Entity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Mk42Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Mk42Entity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Mk42Layer extends GeoRenderLayer<Mk42Entity> {
|
public class Mk42Layer extends GeoRenderLayer<Mk42Entity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/sherman_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/sherman_e.png");
|
||||||
|
|
||||||
public Mk42Layer(GeoRenderer<Mk42Entity> entityRenderer) {
|
public Mk42Layer(GeoRenderer<Mk42Entity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Mle1934Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Mle1934Entity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -13,7 +13,7 @@ import software.bernie.geckolib.renderer.GeoRenderer;
|
||||||
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Mle1934Layer extends GeoRenderLayer<Mle1934Entity> {
|
public class Mle1934Layer extends GeoRenderLayer<Mle1934Entity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/sherman_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/sherman_e.png");
|
||||||
|
|
||||||
public Mle1934Layer(GeoRenderer<Mle1934Entity> entityRenderer) {
|
public Mle1934Layer(GeoRenderer<Mle1934Entity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.MortarEntity;
|
import com.atsuishio.superbwarfare.entity.MortarEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class MortarLayer extends GeoRenderLayer<MortarEntity> {
|
public class MortarLayer extends GeoRenderLayer<MortarEntity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/mortar_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/mortar_e.png");
|
||||||
|
|
||||||
public MortarLayer(GeoRenderer<MortarEntity> entityRenderer) {
|
public MortarLayer(GeoRenderer<MortarEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.SpeedboatEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.SpeedboatEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -16,7 +16,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
import static com.atsuishio.superbwarfare.entity.vehicle.SpeedboatEntity.HEAT;
|
import static com.atsuishio.superbwarfare.entity.vehicle.SpeedboatEntity.HEAT;
|
||||||
|
|
||||||
public class SpeedBoatHeatLayer extends GeoRenderLayer<SpeedboatEntity> {
|
public class SpeedBoatHeatLayer extends GeoRenderLayer<SpeedboatEntity> {
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/speedboat_heat.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/speedboat_heat.png");
|
||||||
|
|
||||||
public SpeedBoatHeatLayer(GeoRenderer<SpeedboatEntity> entityRenderer) {
|
public SpeedBoatHeatLayer(GeoRenderer<SpeedboatEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.SpeedboatEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.SpeedboatEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class SpeedBoatLayer extends GeoRenderLayer<SpeedboatEntity> {
|
public class SpeedBoatLayer extends GeoRenderLayer<SpeedboatEntity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/speedboat_e.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/speedboat_e.png");
|
||||||
|
|
||||||
public SpeedBoatLayer(GeoRenderer<SpeedboatEntity> entityRenderer) {
|
public SpeedBoatLayer(GeoRenderer<SpeedboatEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.SpeedboatEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.SpeedboatEntity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||||
|
@ -14,7 +14,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class SpeedBoatPowerLayer extends GeoRenderLayer<SpeedboatEntity> {
|
public class SpeedBoatPowerLayer extends GeoRenderLayer<SpeedboatEntity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/speedboat_power.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/speedboat_power.png");
|
||||||
|
|
||||||
public SpeedBoatPowerLayer(GeoRenderer<SpeedboatEntity> entityRenderer) {
|
public SpeedBoatPowerLayer(GeoRenderer<SpeedboatEntity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
package com.atsuishio.superbwarfare.client.layer.vehicle;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
import com.atsuishio.superbwarfare.client.ModRenderTypes;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Yx100Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Yx100Entity;
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
|
@ -15,7 +15,7 @@ import software.bernie.geckolib.renderer.layer.GeoRenderLayer;
|
||||||
|
|
||||||
public class Yx100GlowLayer extends GeoRenderLayer<Yx100Entity> {
|
public class Yx100GlowLayer extends GeoRenderLayer<Yx100Entity> {
|
||||||
|
|
||||||
private static final ResourceLocation LAYER = ModUtils.loc("textures/entity/yx_100_glow.png");
|
private static final ResourceLocation LAYER = Mod.loc("textures/entity/yx_100_glow.png");
|
||||||
|
|
||||||
public Yx100GlowLayer(GeoRenderer<Yx100Entity> entityRenderer) {
|
public Yx100GlowLayer(GeoRenderer<Yx100Entity> entityRenderer) {
|
||||||
super(entityRenderer);
|
super(entityRenderer);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.armor;
|
package com.atsuishio.superbwarfare.client.model.armor;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.armor.GeHelmetM35;
|
import com.atsuishio.superbwarfare.item.armor.GeHelmetM35;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -14,11 +14,11 @@ public class GeHelmetM35Model extends GeoModel<GeHelmetM35> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(GeHelmetM35 object) {
|
public ResourceLocation getModelResource(GeHelmetM35 object) {
|
||||||
return ModUtils.loc("geo/ge_helmet_m_35.geo.json");
|
return Mod.loc("geo/ge_helmet_m_35.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(GeHelmetM35 object) {
|
public ResourceLocation getTextureResource(GeHelmetM35 object) {
|
||||||
return ModUtils.loc("textures/armor/ge_helmet_m_35.png");
|
return Mod.loc("textures/armor/ge_helmet_m_35.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.armor;
|
package com.atsuishio.superbwarfare.client.model.armor;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.armor.RuChest6b43;
|
import com.atsuishio.superbwarfare.item.armor.RuChest6b43;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -14,11 +14,11 @@ public class RuChest6b43Model extends GeoModel<RuChest6b43> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(RuChest6b43 object) {
|
public ResourceLocation getModelResource(RuChest6b43 object) {
|
||||||
return ModUtils.loc("geo/ru_chest_6b43.geo.json");
|
return Mod.loc("geo/ru_chest_6b43.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(RuChest6b43 object) {
|
public ResourceLocation getTextureResource(RuChest6b43 object) {
|
||||||
return ModUtils.loc("textures/armor/ru_chest_6b43.png");
|
return Mod.loc("textures/armor/ru_chest_6b43.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.armor;
|
package com.atsuishio.superbwarfare.client.model.armor;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.armor.RuHelmet6b47;
|
import com.atsuishio.superbwarfare.item.armor.RuHelmet6b47;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -14,11 +14,11 @@ public class RuHelmet6b47Model extends GeoModel<RuHelmet6b47> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(RuHelmet6b47 object) {
|
public ResourceLocation getModelResource(RuHelmet6b47 object) {
|
||||||
return ModUtils.loc("geo/ru_helmet_6b47.geo.json");
|
return Mod.loc("geo/ru_helmet_6b47.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(RuHelmet6b47 object) {
|
public ResourceLocation getTextureResource(RuHelmet6b47 object) {
|
||||||
return ModUtils.loc("textures/armor/ru_helmet_6b47.png");
|
return Mod.loc("textures/armor/ru_helmet_6b47.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.armor;
|
package com.atsuishio.superbwarfare.client.model.armor;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.armor.UsChestIotv;
|
import com.atsuishio.superbwarfare.item.armor.UsChestIotv;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -14,11 +14,11 @@ public class UsChestIotvModel extends GeoModel<UsChestIotv> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(UsChestIotv object) {
|
public ResourceLocation getModelResource(UsChestIotv object) {
|
||||||
return ModUtils.loc("geo/us_chest_iotv.geo.json");
|
return Mod.loc("geo/us_chest_iotv.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(UsChestIotv object) {
|
public ResourceLocation getTextureResource(UsChestIotv object) {
|
||||||
return ModUtils.loc("textures/armor/us_chest_iotv.png");
|
return Mod.loc("textures/armor/us_chest_iotv.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.armor;
|
package com.atsuishio.superbwarfare.client.model.armor;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.item.armor.UsHelmetPastg;
|
import com.atsuishio.superbwarfare.item.armor.UsHelmetPastg;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -14,11 +14,11 @@ public class UsHelmetPastgModel extends GeoModel<UsHelmetPastg> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(UsHelmetPastg object) {
|
public ResourceLocation getModelResource(UsHelmetPastg object) {
|
||||||
return ModUtils.loc("geo/us_helmet_pastg.geo.json");
|
return Mod.loc("geo/us_helmet_pastg.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(UsHelmetPastg object) {
|
public ResourceLocation getTextureResource(UsHelmetPastg object) {
|
||||||
return ModUtils.loc("textures/armor/us_helmet_pastg.png");
|
return Mod.loc("textures/armor/us_helmet_pastg.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.block;
|
package com.atsuishio.superbwarfare.client.model.block;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.block.entity.ContainerBlockEntity;
|
import com.atsuishio.superbwarfare.block.entity.ContainerBlockEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -9,16 +9,16 @@ public class ContainerBlockModel extends GeoModel<ContainerBlockEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(ContainerBlockEntity animatable) {
|
public ResourceLocation getAnimationResource(ContainerBlockEntity animatable) {
|
||||||
return ModUtils.loc("animations/container.animation.json");
|
return Mod.loc("animations/container.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(ContainerBlockEntity animatable) {
|
public ResourceLocation getModelResource(ContainerBlockEntity animatable) {
|
||||||
return ModUtils.loc("geo/container.geo.json");
|
return Mod.loc("geo/container.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(ContainerBlockEntity animatable) {
|
public ResourceLocation getTextureResource(ContainerBlockEntity animatable) {
|
||||||
return ModUtils.loc("textures/block/container.png");
|
return Mod.loc("textures/block/container.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.block;
|
package com.atsuishio.superbwarfare.client.model.block;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.block.entity.FuMO25BlockEntity;
|
import com.atsuishio.superbwarfare.block.entity.FuMO25BlockEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -13,11 +13,11 @@ public class FuMO25Model extends GeoModel<FuMO25BlockEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(FuMO25BlockEntity animatable) {
|
public ResourceLocation getModelResource(FuMO25BlockEntity animatable) {
|
||||||
return ModUtils.loc("geo/fumo_25.geo.json");
|
return Mod.loc("geo/fumo_25.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(FuMO25BlockEntity animatable) {
|
public ResourceLocation getTextureResource(FuMO25BlockEntity animatable) {
|
||||||
return ModUtils.loc("textures/block/fumo_25.png");
|
return Mod.loc("textures/block/fumo_25.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.block;
|
package com.atsuishio.superbwarfare.client.model.block;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.block.entity.SmallContainerBlockEntity;
|
import com.atsuishio.superbwarfare.block.entity.SmallContainerBlockEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -9,19 +9,19 @@ public class SmallContainerBlockModel extends GeoModel<SmallContainerBlockEntity
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(SmallContainerBlockEntity animatable) {
|
public ResourceLocation getAnimationResource(SmallContainerBlockEntity animatable) {
|
||||||
return ModUtils.loc("animations/small_container.animation.json");
|
return Mod.loc("animations/small_container.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(SmallContainerBlockEntity animatable) {
|
public ResourceLocation getModelResource(SmallContainerBlockEntity animatable) {
|
||||||
return ModUtils.loc("geo/small_container.geo.json");
|
return Mod.loc("geo/small_container.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(SmallContainerBlockEntity animatable) {
|
public ResourceLocation getTextureResource(SmallContainerBlockEntity animatable) {
|
||||||
if (animatable.lootTableSeed != 0L && animatable.lootTableSeed % 205 == 0) {
|
if (animatable.lootTableSeed != 0L && animatable.lootTableSeed % 205 == 0) {
|
||||||
return ModUtils.loc("textures/block/small_container_sui.png");
|
return Mod.loc("textures/block/small_container_sui.png");
|
||||||
}
|
}
|
||||||
return ModUtils.loc("textures/block/small_container.png");
|
return Mod.loc("textures/block/small_container.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Ah6Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Ah6Entity;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
|
@ -26,18 +26,18 @@ public class Ah6Model extends GeoModel<Ah6Entity> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (distance < 32) {
|
if (distance < 32) {
|
||||||
return ModUtils.loc("geo/ah_6.geo.json");
|
return Mod.loc("geo/ah_6.geo.json");
|
||||||
} else if (distance < 64) {
|
} else if (distance < 64) {
|
||||||
return ModUtils.loc("geo/ah_6.lod1.geo.json");
|
return Mod.loc("geo/ah_6.lod1.geo.json");
|
||||||
} else if (distance < 96) {
|
} else if (distance < 96) {
|
||||||
return ModUtils.loc("geo/ah_6.lod2.geo.json");
|
return Mod.loc("geo/ah_6.lod2.geo.json");
|
||||||
} else {
|
} else {
|
||||||
return ModUtils.loc("geo/ah_6.lod3.geo.json");
|
return Mod.loc("geo/ah_6.lod3.geo.json");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(Ah6Entity entity) {
|
public ResourceLocation getTextureResource(Ah6Entity entity) {
|
||||||
return ModUtils.loc("textures/entity/ah_6.png");
|
return Mod.loc("textures/entity/ah_6.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.config.server.VehicleConfig;
|
import com.atsuishio.superbwarfare.config.server.VehicleConfig;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.AnnihilatorEntity;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
|
@ -19,7 +19,7 @@ public class AnnihilatorModel extends GeoModel<AnnihilatorEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(AnnihilatorEntity entity) {
|
public ResourceLocation getAnimationResource(AnnihilatorEntity entity) {
|
||||||
return ModUtils.loc("animations/annihilator.animation.json");
|
return Mod.loc("animations/annihilator.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -33,15 +33,15 @@ public class AnnihilatorModel extends GeoModel<AnnihilatorEntity> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (distance < 64) {
|
if (distance < 64) {
|
||||||
return ModUtils.loc("geo/annihilator.geo.json");
|
return Mod.loc("geo/annihilator.geo.json");
|
||||||
} else {
|
} else {
|
||||||
return ModUtils.loc("geo/annihilator.lod1.geo.json");
|
return Mod.loc("geo/annihilator.lod1.geo.json");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(AnnihilatorEntity entity) {
|
public ResourceLocation getTextureResource(AnnihilatorEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/annihilator.png");
|
return Mod.loc("textures/entity/annihilator.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Bmp2Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Bmp2Entity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -9,12 +9,12 @@ public class Bmp2Model extends GeoModel<Bmp2Entity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(Bmp2Entity entity) {
|
public ResourceLocation getAnimationResource(Bmp2Entity entity) {
|
||||||
return ModUtils.loc("animations/lav.animation.json");
|
return Mod.loc("animations/lav.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(Bmp2Entity entity) {
|
public ResourceLocation getModelResource(Bmp2Entity entity) {
|
||||||
return ModUtils.loc("geo/bmp2.geo.json");
|
return Mod.loc("geo/bmp2.geo.json");
|
||||||
// Player player = Minecraft.getInstance().player;
|
// Player player = Minecraft.getInstance().player;
|
||||||
//
|
//
|
||||||
// int distance = 0;
|
// int distance = 0;
|
||||||
|
@ -32,6 +32,6 @@ public class Bmp2Model extends GeoModel<Bmp2Entity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(Bmp2Entity entity) {
|
public ResourceLocation getTextureResource(Bmp2Entity entity) {
|
||||||
return ModUtils.loc("textures/entity/bmp2.png");
|
return Mod.loc("textures/entity/bmp2.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.C4Entity;
|
import com.atsuishio.superbwarfare.entity.projectile.C4Entity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -11,20 +11,20 @@ public class C4Model extends GeoModel<C4Entity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(C4Entity entity) {
|
public ResourceLocation getAnimationResource(C4Entity entity) {
|
||||||
return ModUtils.loc("animations/c4.animation.json");
|
return Mod.loc("animations/c4.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(C4Entity entity) {
|
public ResourceLocation getModelResource(C4Entity entity) {
|
||||||
return ModUtils.loc("geo/c4.geo.json");
|
return Mod.loc("geo/c4.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(C4Entity entity) {
|
public ResourceLocation getTextureResource(C4Entity entity) {
|
||||||
UUID uuid = entity.getUUID();
|
UUID uuid = entity.getUUID();
|
||||||
if (uuid.getLeastSignificantBits() % 114 == 0) {
|
if (uuid.getLeastSignificantBits() % 114 == 0) {
|
||||||
return ModUtils.loc("textures/item/c4_alter.png");
|
return Mod.loc("textures/item/c4_alter.png");
|
||||||
}
|
}
|
||||||
return ModUtils.loc("textures/item/c4.png");
|
return Mod.loc("textures/item/c4.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.CannonShellEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.CannonShellEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.animation.AnimationState;
|
import software.bernie.geckolib.animation.AnimationState;
|
||||||
|
@ -11,17 +11,17 @@ public class CannonShellEntityModel extends GeoModel<CannonShellEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(CannonShellEntity entity) {
|
public ResourceLocation getAnimationResource(CannonShellEntity entity) {
|
||||||
return ModUtils.loc("animations/cannon_shell.animation.json");
|
return Mod.loc("animations/cannon_shell.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(CannonShellEntity entity) {
|
public ResourceLocation getModelResource(CannonShellEntity entity) {
|
||||||
return ModUtils.loc("geo/cannon_shell.geo.json");
|
return Mod.loc("geo/cannon_shell.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(CannonShellEntity entity) {
|
public ResourceLocation getTextureResource(CannonShellEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/cannon_shell.png");
|
return Mod.loc("textures/entity/cannon_shell.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.ClaymoreEntity;
|
import com.atsuishio.superbwarfare.entity.ClaymoreEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -11,20 +11,20 @@ public class ClaymoreModel extends GeoModel<ClaymoreEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(ClaymoreEntity entity) {
|
public ResourceLocation getAnimationResource(ClaymoreEntity entity) {
|
||||||
return ModUtils.loc("animations/claymore.animation.json");
|
return Mod.loc("animations/claymore.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(ClaymoreEntity entity) {
|
public ResourceLocation getModelResource(ClaymoreEntity entity) {
|
||||||
return ModUtils.loc("geo/claymore.geo.json");
|
return Mod.loc("geo/claymore.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(ClaymoreEntity entity) {
|
public ResourceLocation getTextureResource(ClaymoreEntity entity) {
|
||||||
UUID uuid = entity.getUUID();
|
UUID uuid = entity.getUUID();
|
||||||
if (uuid.getLeastSignificantBits() % 514 == 0) {
|
if (uuid.getLeastSignificantBits() % 514 == 0) {
|
||||||
return ModUtils.loc("textures/entity/claymore_alter.png");
|
return Mod.loc("textures/entity/claymore_alter.png");
|
||||||
}
|
}
|
||||||
return ModUtils.loc("textures/entity/claymore.png");
|
return Mod.loc("textures/entity/claymore.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.DroneEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.DroneEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -8,16 +8,16 @@ import software.bernie.geckolib.model.GeoModel;
|
||||||
public class DroneModel extends GeoModel<DroneEntity> {
|
public class DroneModel extends GeoModel<DroneEntity> {
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(DroneEntity entity) {
|
public ResourceLocation getAnimationResource(DroneEntity entity) {
|
||||||
return ModUtils.loc("animations/drone.animation.json");
|
return Mod.loc("animations/drone.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(DroneEntity entity) {
|
public ResourceLocation getModelResource(DroneEntity entity) {
|
||||||
return ModUtils.loc("geo/drone.geo.json");
|
return Mod.loc("geo/drone.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(DroneEntity entity) {
|
public ResourceLocation getTextureResource(DroneEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/drone.png");
|
return Mod.loc("textures/entity/drone.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.GunGrenadeEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.GunGrenadeEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.animation.AnimationState;
|
import software.bernie.geckolib.animation.AnimationState;
|
||||||
|
@ -11,17 +11,17 @@ public class GunGrenadeModel extends GeoModel<GunGrenadeEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(GunGrenadeEntity entity) {
|
public ResourceLocation getAnimationResource(GunGrenadeEntity entity) {
|
||||||
return ModUtils.loc("animations/cannon_shell.animation.json");
|
return Mod.loc("animations/cannon_shell.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(GunGrenadeEntity entity) {
|
public ResourceLocation getModelResource(GunGrenadeEntity entity) {
|
||||||
return ModUtils.loc("geo/cannon_shell.geo.json");
|
return Mod.loc("geo/cannon_shell.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(GunGrenadeEntity entity) {
|
public ResourceLocation getTextureResource(GunGrenadeEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/cannon_shell.png");
|
return Mod.loc("textures/entity/cannon_shell.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.HandGrenadeEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.HandGrenadeEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -14,11 +14,11 @@ public class HandGrenadeEntityModel extends GeoModel<HandGrenadeEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(HandGrenadeEntity entity) {
|
public ResourceLocation getModelResource(HandGrenadeEntity entity) {
|
||||||
return ModUtils.loc("geo/hand_grenade.geo.json");
|
return Mod.loc("geo/hand_grenade.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(HandGrenadeEntity entity) {
|
public ResourceLocation getTextureResource(HandGrenadeEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/hand_grenade.png");
|
return Mod.loc("textures/entity/hand_grenade.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.HeliRocketEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.HeliRocketEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -9,16 +9,16 @@ public class HeliRocketModel extends GeoModel<HeliRocketEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(HeliRocketEntity entity) {
|
public ResourceLocation getAnimationResource(HeliRocketEntity entity) {
|
||||||
return ModUtils.loc("animations/rpg_rocket.animation.json");
|
return Mod.loc("animations/rpg_rocket.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(HeliRocketEntity entity) {
|
public ResourceLocation getModelResource(HeliRocketEntity entity) {
|
||||||
return ModUtils.loc("geo/heli_rocket.geo.json");
|
return Mod.loc("geo/heli_rocket.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(HeliRocketEntity entity) {
|
public ResourceLocation getTextureResource(HeliRocketEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/heli_rocket.png");
|
return Mod.loc("textures/entity/heli_rocket.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.JavelinMissileEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.JavelinMissileEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -9,16 +9,16 @@ public class JavelinMissileModel extends GeoModel<JavelinMissileEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(JavelinMissileEntity entity) {
|
public ResourceLocation getAnimationResource(JavelinMissileEntity entity) {
|
||||||
return ModUtils.loc("animations/javelin_missile.animation.json");
|
return Mod.loc("animations/javelin_missile.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(JavelinMissileEntity entity) {
|
public ResourceLocation getModelResource(JavelinMissileEntity entity) {
|
||||||
return ModUtils.loc("geo/javelin_missile.geo.json");
|
return Mod.loc("geo/javelin_missile.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(JavelinMissileEntity entity) {
|
public ResourceLocation getTextureResource(JavelinMissileEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/javelin_missile.png");
|
return Mod.loc("textures/entity/javelin_missile.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.LaserTowerEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.LaserTowerEntity;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
|
@ -15,7 +15,7 @@ public class LaserTowerModel extends GeoModel<LaserTowerEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(LaserTowerEntity entity) {
|
public ResourceLocation getAnimationResource(LaserTowerEntity entity) {
|
||||||
return ModUtils.loc("animations/laser_tower.animation.json");
|
return Mod.loc("animations/laser_tower.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -29,17 +29,17 @@ public class LaserTowerModel extends GeoModel<LaserTowerEntity> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (distance < 24 || player.isScoping()) {
|
if (distance < 24 || player.isScoping()) {
|
||||||
return ModUtils.loc("geo/laser_tower.geo.json");
|
return Mod.loc("geo/laser_tower.geo.json");
|
||||||
} else if (distance < 48) {
|
} else if (distance < 48) {
|
||||||
return ModUtils.loc("geo/laser_tower.lod1.geo.json");
|
return Mod.loc("geo/laser_tower.lod1.geo.json");
|
||||||
} else {
|
} else {
|
||||||
return ModUtils.loc("geo/laser_tower.lod2.geo.json");
|
return Mod.loc("geo/laser_tower.lod2.geo.json");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(LaserTowerEntity entity) {
|
public ResourceLocation getTextureResource(LaserTowerEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/laser_tower.png");
|
return Mod.loc("textures/entity/laser_tower.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Lav150Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Lav150Entity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -9,12 +9,12 @@ public class Lav150Model extends GeoModel<Lav150Entity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(Lav150Entity entity) {
|
public ResourceLocation getAnimationResource(Lav150Entity entity) {
|
||||||
return ModUtils.loc("animations/lav.animation.json");
|
return Mod.loc("animations/lav.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(Lav150Entity entity) {
|
public ResourceLocation getModelResource(Lav150Entity entity) {
|
||||||
return ModUtils.loc("geo/lav150.geo.json");
|
return Mod.loc("geo/lav150.geo.json");
|
||||||
// Player player = Minecraft.getInstance().player;
|
// Player player = Minecraft.getInstance().player;
|
||||||
//
|
//
|
||||||
// int distance = 0;
|
// int distance = 0;
|
||||||
|
@ -32,6 +32,6 @@ public class Lav150Model extends GeoModel<Lav150Entity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(Lav150Entity entity) {
|
public ResourceLocation getTextureResource(Lav150Entity entity) {
|
||||||
return ModUtils.loc("textures/entity/lav150.png");
|
return Mod.loc("textures/entity/lav150.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Mk42Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Mk42Entity;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
|
@ -16,7 +16,7 @@ public class Mk42Model extends GeoModel<Mk42Entity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(Mk42Entity entity) {
|
public ResourceLocation getAnimationResource(Mk42Entity entity) {
|
||||||
return ModUtils.loc("animations/mk_42.animation.json");
|
return Mod.loc("animations/mk_42.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -30,17 +30,17 @@ public class Mk42Model extends GeoModel<Mk42Entity> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (distance < 32) {
|
if (distance < 32) {
|
||||||
return ModUtils.loc("geo/sherman.geo.json");
|
return Mod.loc("geo/sherman.geo.json");
|
||||||
} else if (distance < 64) {
|
} else if (distance < 64) {
|
||||||
return ModUtils.loc("geo/sherman_lod1.geo.json");
|
return Mod.loc("geo/sherman_lod1.geo.json");
|
||||||
} else {
|
} else {
|
||||||
return ModUtils.loc("geo/sherman_lod2.geo.json");
|
return Mod.loc("geo/sherman_lod2.geo.json");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(Mk42Entity entity) {
|
public ResourceLocation getTextureResource(Mk42Entity entity) {
|
||||||
return ModUtils.loc("textures/entity/mk42.png");
|
return Mod.loc("textures/entity/mk42.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Mle1934Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Mle1934Entity;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
|
@ -16,7 +16,7 @@ public class Mle1934Model extends GeoModel<Mle1934Entity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(Mle1934Entity entity) {
|
public ResourceLocation getAnimationResource(Mle1934Entity entity) {
|
||||||
return ModUtils.loc("animations/mle1934.animation.json");
|
return Mod.loc("animations/mle1934.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -29,15 +29,15 @@ public class Mle1934Model extends GeoModel<Mle1934Entity> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (distance < 32) {
|
if (distance < 32) {
|
||||||
return ModUtils.loc("geo/mle1934.geo.json");
|
return Mod.loc("geo/mle1934.geo.json");
|
||||||
} else {
|
} else {
|
||||||
return ModUtils.loc("geo/mle1934_lod1.geo.json");
|
return Mod.loc("geo/mle1934_lod1.geo.json");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(Mle1934Entity entity) {
|
public ResourceLocation getTextureResource(Mle1934Entity entity) {
|
||||||
return ModUtils.loc("textures/entity/mle1934.png");
|
return Mod.loc("textures/entity/mle1934.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.MortarEntity;
|
import com.atsuishio.superbwarfare.entity.MortarEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import net.minecraft.util.Mth;
|
import net.minecraft.util.Mth;
|
||||||
|
@ -14,17 +14,17 @@ public class MortarModel extends GeoModel<MortarEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(MortarEntity entity) {
|
public ResourceLocation getAnimationResource(MortarEntity entity) {
|
||||||
return ModUtils.loc("animations/mortar.animation.json");
|
return Mod.loc("animations/mortar.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(MortarEntity entity) {
|
public ResourceLocation getModelResource(MortarEntity entity) {
|
||||||
return ModUtils.loc("geo/mortar.geo.json");
|
return Mod.loc("geo/mortar.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(MortarEntity entity) {
|
public ResourceLocation getTextureResource(MortarEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/mortar.png");
|
return Mod.loc("textures/entity/mortar.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.MortarShellEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.MortarShellEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -14,11 +14,11 @@ public class MortarShellEntityModel extends GeoModel<MortarShellEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(MortarShellEntity entity) {
|
public ResourceLocation getModelResource(MortarShellEntity entity) {
|
||||||
return ModUtils.loc("geo/mortar_shell.geo.json");
|
return Mod.loc("geo/mortar_shell.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(MortarShellEntity entity) {
|
public ResourceLocation getTextureResource(MortarShellEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/mortar.png");
|
return Mod.loc("textures/entity/mortar.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.ProjectileEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.ProjectileEntity;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.base.ArmedVehicleEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.base.ArmedVehicleEntity;
|
||||||
import com.atsuishio.superbwarfare.event.ClientEventHandler;
|
import com.atsuishio.superbwarfare.event.ClientEventHandler;
|
||||||
|
@ -23,7 +23,7 @@ public class ProjectileEntityModel extends GeoModel<ProjectileEntity> {
|
||||||
public ResourceLocation getModelResource(ProjectileEntity entity) {
|
public ResourceLocation getModelResource(ProjectileEntity entity) {
|
||||||
Player player = Minecraft.getInstance().player;
|
Player player = Minecraft.getInstance().player;
|
||||||
if (player == null) {
|
if (player == null) {
|
||||||
return ModUtils.loc("geo/projectile_entity2.geo.json");
|
return Mod.loc("geo/projectile_entity2.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((ClientEventHandler.zoom && !player.getMainHandItem().is(ModItems.MINIGUN.get()))
|
if ((ClientEventHandler.zoom && !player.getMainHandItem().is(ModItems.MINIGUN.get()))
|
||||||
|
@ -31,15 +31,15 @@ public class ProjectileEntityModel extends GeoModel<ProjectileEntity> {
|
||||||
|| player.getMainHandItem().is(ModItems.GLOCK_18.get())
|
|| player.getMainHandItem().is(ModItems.GLOCK_18.get())
|
||||||
|| player.getMainHandItem().is(ModItems.BOCEK.get())
|
|| player.getMainHandItem().is(ModItems.BOCEK.get())
|
||||||
|| (player.getVehicle() instanceof ArmedVehicleEntity)) {
|
|| (player.getVehicle() instanceof ArmedVehicleEntity)) {
|
||||||
return ModUtils.loc("geo/projectile_entity.geo.json");
|
return Mod.loc("geo/projectile_entity.geo.json");
|
||||||
} else {
|
} else {
|
||||||
return ModUtils.loc("geo/projectile_entity2.geo.json");
|
return Mod.loc("geo/projectile_entity2.geo.json");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(ProjectileEntity entity) {
|
public ResourceLocation getTextureResource(ProjectileEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/empty.png");
|
return Mod.loc("textures/entity/empty.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.RgoGrenadeEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.RgoGrenadeEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -14,11 +14,11 @@ public class RgoGrenadeEntityModel extends GeoModel<RgoGrenadeEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(RgoGrenadeEntity entity) {
|
public ResourceLocation getModelResource(RgoGrenadeEntity entity) {
|
||||||
return ModUtils.loc("geo/rgo_grenade.geo.json");
|
return Mod.loc("geo/rgo_grenade.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(RgoGrenadeEntity entity) {
|
public ResourceLocation getTextureResource(RgoGrenadeEntity entity) {
|
||||||
return ModUtils.loc("textures/item/rgo_grenade.png");
|
return Mod.loc("textures/item/rgo_grenade.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.RpgRocketEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.RpgRocketEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -9,16 +9,16 @@ public class RpgRocketModel extends GeoModel<RpgRocketEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(RpgRocketEntity entity) {
|
public ResourceLocation getAnimationResource(RpgRocketEntity entity) {
|
||||||
return ModUtils.loc("animations/rpg_rocket.animation.json");
|
return Mod.loc("animations/rpg_rocket.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(RpgRocketEntity entity) {
|
public ResourceLocation getModelResource(RpgRocketEntity entity) {
|
||||||
return ModUtils.loc("geo/rpg_rocket.geo.json");
|
return Mod.loc("geo/rpg_rocket.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(RpgRocketEntity entity) {
|
public ResourceLocation getTextureResource(RpgRocketEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/rpg_rocket.png");
|
return Mod.loc("textures/entity/rpg_rocket.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.SenpaiEntity;
|
import com.atsuishio.superbwarfare.entity.SenpaiEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -9,16 +9,16 @@ public class SenpaiModel extends GeoModel<SenpaiEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(SenpaiEntity entity) {
|
public ResourceLocation getAnimationResource(SenpaiEntity entity) {
|
||||||
return ModUtils.loc("animations/senpai.animation.json");
|
return Mod.loc("animations/senpai.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(SenpaiEntity entity) {
|
public ResourceLocation getModelResource(SenpaiEntity entity) {
|
||||||
return ModUtils.loc("geo/senpai.geo.json");
|
return Mod.loc("geo/senpai.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(SenpaiEntity entity) {
|
public ResourceLocation getTextureResource(SenpaiEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/senpai.png");
|
return Mod.loc("textures/entity/senpai.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.SmallCannonShellEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.SmallCannonShellEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.animation.AnimationState;
|
import software.bernie.geckolib.animation.AnimationState;
|
||||||
|
@ -11,17 +11,17 @@ public class SmallCannonShellModel extends GeoModel<SmallCannonShellEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(SmallCannonShellEntity entity) {
|
public ResourceLocation getAnimationResource(SmallCannonShellEntity entity) {
|
||||||
return ModUtils.loc("animations/cannon_shell.animation.json");
|
return Mod.loc("animations/cannon_shell.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(SmallCannonShellEntity entity) {
|
public ResourceLocation getModelResource(SmallCannonShellEntity entity) {
|
||||||
return ModUtils.loc("geo/cannon_shell.geo.json");
|
return Mod.loc("geo/cannon_shell.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(SmallCannonShellEntity entity) {
|
public ResourceLocation getTextureResource(SmallCannonShellEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/cannon_shell.png");
|
return Mod.loc("textures/entity/cannon_shell.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.SpeedboatEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.SpeedboatEntity;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
|
@ -11,7 +11,7 @@ public class SpeedboatModel extends GeoModel<SpeedboatEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(SpeedboatEntity entity) {
|
public ResourceLocation getAnimationResource(SpeedboatEntity entity) {
|
||||||
return ModUtils.loc("animations/speedboat.animation.json");
|
return Mod.loc("animations/speedboat.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -25,14 +25,14 @@ public class SpeedboatModel extends GeoModel<SpeedboatEntity> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (distance < 32) {
|
if (distance < 32) {
|
||||||
return ModUtils.loc("geo/speedboat.geo.json");
|
return Mod.loc("geo/speedboat.geo.json");
|
||||||
} else {
|
} else {
|
||||||
return ModUtils.loc("geo/speedboat.lod1.geo.json");
|
return Mod.loc("geo/speedboat.lod1.geo.json");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(SpeedboatEntity entity) {
|
public ResourceLocation getTextureResource(SpeedboatEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/speedboat.png");
|
return Mod.loc("textures/entity/speedboat.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.TargetEntity;
|
import com.atsuishio.superbwarfare.entity.TargetEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -9,16 +9,16 @@ public class TargetModel extends GeoModel<TargetEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getAnimationResource(TargetEntity entity) {
|
public ResourceLocation getAnimationResource(TargetEntity entity) {
|
||||||
return ModUtils.loc("animations/target.animation.json");
|
return Mod.loc("animations/target.animation.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(TargetEntity entity) {
|
public ResourceLocation getModelResource(TargetEntity entity) {
|
||||||
return ModUtils.loc("geo/target.geo.json");
|
return Mod.loc("geo/target.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(TargetEntity entity) {
|
public ResourceLocation getTextureResource(TargetEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/target.png");
|
return Mod.loc("textures/entity/target.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.client.model.entity;
|
package com.atsuishio.superbwarfare.client.model.entity;
|
||||||
|
|
||||||
import com.atsuishio.superbwarfare.ModUtils;
|
import com.atsuishio.superbwarfare.Mod;
|
||||||
import com.atsuishio.superbwarfare.entity.projectile.TaserBulletEntity;
|
import com.atsuishio.superbwarfare.entity.projectile.TaserBulletEntity;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import software.bernie.geckolib.model.GeoModel;
|
import software.bernie.geckolib.model.GeoModel;
|
||||||
|
@ -14,11 +14,11 @@ public class TaserBulletProjectileModel extends GeoModel<TaserBulletEntity> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getModelResource(TaserBulletEntity entity) {
|
public ResourceLocation getModelResource(TaserBulletEntity entity) {
|
||||||
return ModUtils.loc("geo/taser_rod.geo.json");
|
return Mod.loc("geo/taser_rod.geo.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResourceLocation getTextureResource(TaserBulletEntity entity) {
|
public ResourceLocation getTextureResource(TaserBulletEntity entity) {
|
||||||
return ModUtils.loc("textures/entity/taser_rod.png");
|
return Mod.loc("textures/entity/taser_rod.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue