Bug fixes, new guns, new textures and models
This commit is contained in:
parent
ae299530b2
commit
b746b3b506
@ -10,6 +10,8 @@ import org.bukkit.World;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.entity.Snowball;
|
||||
import org.bukkit.event.block.Action;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public final class giGuns extends JavaPlugin {
|
||||
@ -44,11 +46,24 @@ public final class giGuns extends JavaPlugin {
|
||||
|
||||
getCommand("getgun").setExecutor((commandSender, command, s, args) -> {
|
||||
if (commandSender instanceof Player player) {
|
||||
IGun gun = GunHandler.registeredGuns.values().stream().toList().get(Integer.parseInt(args[0]));
|
||||
IGun gun = GunHandler.guns.get(Integer.parseInt(args[0]));
|
||||
player.getInventory().addItem(gun.compileGun());
|
||||
}
|
||||
return false;
|
||||
});
|
||||
getCommand("getammo").setExecutor((commandSender, command, s, args) -> {
|
||||
if (commandSender instanceof Player player) {
|
||||
if (player.getInventory().getItemInMainHand() !=null &&
|
||||
player.getInventory().getItemInMainHand().getItemMeta()!=null &&
|
||||
GunHandler.isRegisteredGun(player.getInventory().getItemInMainHand().getItemMeta().getItemName())) {
|
||||
IGun gun = GunHandler.getRegisteredGun(player.getInventory().getItemInMainHand().getItemMeta().getItemName());
|
||||
ItemStack ammo = gun.bulletType().getItem();
|
||||
ammo.setAmount(64);
|
||||
player.getInventory().addItem(ammo);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -6,14 +6,15 @@ import org.bukkit.NamespacedKey;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.ShapedRecipe;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
import org.bukkit.inventory.meta.components.CustomModelDataComponent;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public enum BulletType {
|
||||
// Penetration in blocks/entities a bullet can travel through before it stops
|
||||
PISTOL("&cPistol", BulletType.Recipes.pistol()),
|
||||
RIFLE("&eRifle", BulletType.Recipes.rifle()),
|
||||
HEAVY("&6Heavy", BulletType.Recipes.heavy()),
|
||||
EXPLOSIVE("&4Explosive", BulletType.Recipes.explosive()),
|
||||
GRENADE("&2Grenade", BulletType.Recipes.grenade()),
|
||||
ANTI_TANK("&9Anti-Tank", BulletType.Recipes.antiTank()),;
|
||||
|
||||
private final String prettyName;
|
||||
@ -41,16 +42,19 @@ public enum BulletType {
|
||||
}
|
||||
|
||||
public static class Recipes {
|
||||
public static ItemStack makeAmmo(String prettyName) {
|
||||
public static ItemStack makeAmmo(String prettyName, int textureID) {
|
||||
ItemStack gunItem = new ItemStack(Material.BLACK_DYE);
|
||||
ItemMeta meta = gunItem.getItemMeta();
|
||||
meta.setItemName(giGuns.color(prettyName + " Ammo"));
|
||||
CustomModelDataComponent component = meta.getCustomModelDataComponent();
|
||||
component.setStrings(List.of("ammomodel" + textureID));
|
||||
meta.setCustomModelDataComponent(component);
|
||||
gunItem.setItemMeta(meta);
|
||||
return gunItem;
|
||||
}
|
||||
|
||||
public static ShapedRecipe pistol() {
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:pistol_ammo"), makeAmmo("&cPistol"));
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:pistol_ammo"), makeAmmo("&cPistol", 0));
|
||||
recipe.shape(" c ", "ngn", "nnn");
|
||||
recipe.setIngredient('c', Material.COPPER_INGOT);
|
||||
recipe.setIngredient('n', Material.IRON_NUGGET);
|
||||
@ -58,7 +62,7 @@ public enum BulletType {
|
||||
return recipe;
|
||||
}
|
||||
public static ShapedRecipe rifle() {
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:rifle_ammo"), makeAmmo("&eRifle"));
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:rifle_ammo"), makeAmmo("&eRifle", 1));
|
||||
recipe.shape(" c ", "ngn", "nIn");
|
||||
recipe.setIngredient('c', Material.COPPER_INGOT);
|
||||
recipe.setIngredient('n', Material.IRON_NUGGET);
|
||||
@ -67,7 +71,7 @@ public enum BulletType {
|
||||
return recipe;
|
||||
}
|
||||
public static ShapedRecipe heavy() {
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:heavy_ammo"), makeAmmo("&6Heavy"));
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:heavy_ammo"), makeAmmo("&6Heavy", 2));
|
||||
recipe.shape(" c ", "IgI", "InI");
|
||||
recipe.setIngredient('c', Material.COPPER_INGOT);
|
||||
recipe.setIngredient('n', Material.IRON_NUGGET);
|
||||
@ -75,24 +79,8 @@ public enum BulletType {
|
||||
recipe.setIngredient('I', Material.IRON_INGOT);
|
||||
return recipe;
|
||||
}
|
||||
public static ShapedRecipe explosive() {
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:explosive_ammo"), makeAmmo("&4Explosive"));
|
||||
recipe.shape(" c ", "ngn", "nIn");
|
||||
recipe.setIngredient('c', Material.COPPER_INGOT);
|
||||
recipe.setIngredient('n', Material.IRON_NUGGET);
|
||||
recipe.setIngredient('g', Material.GUNPOWDER);
|
||||
recipe.setIngredient('I', Material.BLAZE_POWDER);
|
||||
return recipe;
|
||||
}
|
||||
public static ShapedRecipe grenade() {
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:grenade_ammo"), makeAmmo("&2Grenade"));
|
||||
recipe.shape(" I ", "ITI", "III");
|
||||
recipe.setIngredient('T', Material.TNT);
|
||||
recipe.setIngredient('I', Material.IRON_INGOT);
|
||||
return recipe;
|
||||
}
|
||||
public static ShapedRecipe antiTank() {
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:antitank_ammo"), makeAmmo("&9Anti-Tank"));
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:antitank_ammo"), makeAmmo("&9Anti-Tank", 3));
|
||||
recipe.shape(" B ", "ITI", "III");
|
||||
recipe.setIngredient('T', Material.TNT);
|
||||
recipe.setIngredient('I', Material.IRON_INGOT);
|
||||
|
@ -9,6 +9,7 @@ import org.bukkit.event.block.Action;
|
||||
import org.bukkit.event.entity.ProjectileHitEvent;
|
||||
import org.bukkit.event.player.PlayerInteractAtEntityEvent;
|
||||
import org.bukkit.event.player.PlayerInteractEvent;
|
||||
import org.bukkit.inventory.EquipmentSlot;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.PlayerInventory;
|
||||
import org.bukkit.metadata.FixedMetadataValue;
|
||||
@ -19,12 +20,14 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
public class GunHandler implements Listener {
|
||||
public static ArrayList<IGun> guns = new ArrayList<>();
|
||||
public static HashMap<String, IGun> registeredGuns = new HashMap<>();
|
||||
public static HashMap<Snowball, IBullet> physicsBullets = new HashMap<>();
|
||||
public static HashMap<Snowball, Location> lastLocationsOfBullets = new HashMap<>();
|
||||
|
||||
public static void register(IGun gun) {
|
||||
registeredGuns.put(giGuns.color(gun.name()), gun);
|
||||
guns.add(gun);
|
||||
giGuns.plugin.getServer().addRecipe(gun.recipe());
|
||||
}
|
||||
|
||||
@ -80,7 +83,7 @@ public class GunHandler implements Listener {
|
||||
physbullet.setMetadata("isBullet", new FixedMetadataValue(giGuns.plugin, true));
|
||||
physbullet.setMetadata("bornAt", new FixedMetadataValue(giGuns.plugin, System.currentTimeMillis()));
|
||||
for (Sound sound : gun.sound()) {
|
||||
world.playSound(from.getEyeLocation(), sound, SoundCategory.PLAYERS, 15f, gun.soundPitch());
|
||||
world.playSound(from.getEyeLocation(), sound, SoundCategory.PLAYERS, gun.soundVolume(), gun.soundPitch());
|
||||
}
|
||||
from.setCooldown(from.getInventory().getItemInMainHand(), gun.cooldown());
|
||||
lastLocationsOfBullets.put(physbullet, physbullet.getLocation());
|
||||
@ -89,8 +92,9 @@ public class GunHandler implements Listener {
|
||||
|
||||
@EventHandler
|
||||
public static void onRightClick(PlayerInteractEvent event) {
|
||||
if (event.getPlayer().getInventory().getItemInMainHand() !=null && event.getPlayer().getInventory().getItemInMainHand().getItemMeta()!=null && GunHandler.isRegisteredGun(event.getPlayer().getInventory().getItemInMainHand().getItemMeta().getItemName())
|
||||
&& (event.getAction() == Action.RIGHT_CLICK_BLOCK || event.getAction() == Action.RIGHT_CLICK_AIR)) {
|
||||
if (event.getAction() == Action.RIGHT_CLICK_BLOCK || event.getAction() == Action.RIGHT_CLICK_AIR) {
|
||||
if (event.getHand() == EquipmentSlot.HAND) {
|
||||
if (event.getPlayer().getInventory().getItemInMainHand() !=null && event.getPlayer().getInventory().getItemInMainHand().getItemMeta()!=null && GunHandler.isRegisteredGun(event.getPlayer().getInventory().getItemInMainHand().getItemMeta().getItemName())) {
|
||||
event.setCancelled(true);
|
||||
shoot(event.getPlayer());
|
||||
} else if (event.getPlayer().getInventory().getItemInMainHand() != null &&
|
||||
@ -99,6 +103,19 @@ public class GunHandler implements Listener {
|
||||
event.getPlayer().getInventory().getItemInMainHand().getItemMeta().getItemName().contains("Ammo")) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
} else if (event.getHand() == EquipmentSlot.OFF_HAND) {
|
||||
if (event.getPlayer().getInventory().getItemInOffHand() !=null && event.getPlayer().getInventory().getItemInOffHand().getItemMeta()!=null && GunHandler.isRegisteredGun(event.getPlayer().getInventory().getItemInOffHand().getItemMeta().getItemName())) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
else if (event.getPlayer().getInventory().getItemInOffHand() != null &&
|
||||
event.getPlayer().getInventory().getItemInOffHand().getType().equals(Material.BLACK_DYE) &&
|
||||
event.getPlayer().getInventory().getItemInOffHand().getItemMeta()!=null &&
|
||||
event.getPlayer().getInventory().getItemInOffHand().getItemMeta().getItemName().contains("Ammo")) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@EventHandler
|
||||
public static void onPlayerInteract(PlayerInteractAtEntityEvent event) {
|
||||
@ -128,19 +145,20 @@ public class GunHandler implements Listener {
|
||||
} else {
|
||||
double dueDamage = gun.damage()-Math.min(GunHandler.Calc.getDamageAfterArmor(damagedPlayer), gun.damage()-0.5f);
|
||||
damagedPlayer.damage(dueDamage, bulletOwner);
|
||||
gun.onHitPlayer(damagedPlayer.getLocation(), damagedPlayer);
|
||||
gun.onHitEntity(damagedPlayer.getLocation(), damagedPlayer);
|
||||
Calc.makeBlood(event.getEntity().getLocation(), (float) dueDamage);
|
||||
physicsBullets.remove(physbullet);
|
||||
|
||||
}
|
||||
} else if (event.getHitEntity() instanceof LivingEntity livingEntity) {
|
||||
livingEntity.damage(gun.damage(), bulletOwner);
|
||||
gun.onHitPlayer(livingEntity.getLocation(), livingEntity);
|
||||
gun.onHitEntity(event.getEntity().getLocation(), livingEntity);
|
||||
Calc.makeBlood(event.getEntity().getLocation(), (int) gun.damage());
|
||||
physicsBullets.remove(physbullet);
|
||||
|
||||
}
|
||||
if (event.getHitBlock()!=null) {
|
||||
event.getHitBlock().getDrops().clear();
|
||||
gun.onHitBlock(event.getHitBlock().getLocation(), event.getHitBlock());
|
||||
gun.onHitBlock(event.getEntity().getLocation(), event.getHitBlock());
|
||||
physicsBullets.remove(physbullet);
|
||||
}
|
||||
|
||||
@ -226,5 +244,9 @@ public class GunHandler implements Listener {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public static void makeBlood(Location location, float damage) {
|
||||
location.getWorld().spawnParticle(Particle.BLOCK_CRUMBLE, location, (int) damage * 8, 0.1f, 0.1f, 0.1f, Material.RED_WOOL.createBlockData());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ public class Guns {
|
||||
GunHandler.register(new m1Bazooka());
|
||||
GunHandler.register(new barrettM82());
|
||||
GunHandler.register(new AK47());
|
||||
GunHandler.register(new m4a1s());
|
||||
}
|
||||
|
||||
// public static final IGun hecateII = new IGun() {
|
||||
|
@ -1,7 +1,6 @@
|
||||
package com.s5gi.giGuns.guns;
|
||||
|
||||
import com.s5gi.giGuns.giGuns;
|
||||
import org.bukkit.Color;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.Sound;
|
||||
@ -9,30 +8,29 @@ import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.inventory.CraftingRecipe;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
import org.bukkit.inventory.meta.CrossbowMeta;
|
||||
import org.bukkit.inventory.meta.components.CustomModelDataComponent;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public interface IGun {
|
||||
String name();
|
||||
List<String> description();
|
||||
Material getItem();
|
||||
|
||||
BulletType bulletType();
|
||||
List<Sound> sound();
|
||||
float soundPitch();
|
||||
void onHitPlayer(Location location, LivingEntity entity);
|
||||
default float soundVolume() {
|
||||
return 15f;
|
||||
}
|
||||
void onHitEntity(Location location, LivingEntity entity);
|
||||
void onHitBlock(Location location, Block block);
|
||||
double bulletSpeed();
|
||||
double damage();
|
||||
//in ticks
|
||||
int cooldown();
|
||||
default int textureId() {
|
||||
return 0;
|
||||
}
|
||||
int textureId();
|
||||
CraftingRecipe recipe();
|
||||
default List<String> getLore() {
|
||||
List<String> lore = new ArrayList<>();
|
||||
@ -45,10 +43,11 @@ public interface IGun {
|
||||
}
|
||||
default ItemStack compileGun() {
|
||||
IGun gun = this;
|
||||
ItemStack gunItem = new ItemStack(gun.getItem());
|
||||
ItemMeta meta = gunItem.getItemMeta();
|
||||
ItemStack gunItem = new ItemStack(Material.CROSSBOW);
|
||||
CrossbowMeta meta = (CrossbowMeta) gunItem.getItemMeta();
|
||||
meta.setItemName(giGuns.color(gun.name()));
|
||||
meta.setLore(gun.getLore());
|
||||
meta.addChargedProjectile(new ItemStack(Material.LIGHT, 1));
|
||||
CustomModelDataComponent component = meta.getCustomModelDataComponent();
|
||||
component.setStrings(List.of("gunmodel" + gun.textureId()));
|
||||
meta.setCustomModelDataComponent(component);
|
||||
|
@ -21,7 +21,7 @@ public class AK47 implements IGun {
|
||||
|
||||
@Override
|
||||
public int textureId() {
|
||||
return 1;
|
||||
return 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -29,11 +29,6 @@ public class AK47 implements IGun {
|
||||
return List.of("&cSoviet &eUnion", "&7A gas-operated, long-stroke piston, closed rotating bolt, assault rifle");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Material getItem() {
|
||||
return Material.DIAMOND_HOE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BulletType bulletType() {
|
||||
return BulletType.RIFLE;
|
||||
@ -50,7 +45,7 @@ public class AK47 implements IGun {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onHitPlayer(Location location, LivingEntity entity) {
|
||||
public void onHitEntity(Location location, LivingEntity entity) {
|
||||
|
||||
}
|
||||
|
||||
|
@ -25,11 +25,6 @@ public class _1911 implements IGun {
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Material getItem() {
|
||||
return Material.WOODEN_HOE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BulletType bulletType() {
|
||||
return BulletType.PISTOL;
|
||||
@ -46,7 +41,7 @@ public class _1911 implements IGun {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onHitPlayer(Location location, LivingEntity entity) {
|
||||
public void onHitEntity(Location location, LivingEntity entity) {
|
||||
|
||||
}
|
||||
|
||||
@ -70,6 +65,11 @@ public class _1911 implements IGun {
|
||||
return 3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int textureId() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean gravity() {
|
||||
return true;
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.s5gi.giGuns.guns.ind;
|
||||
|
||||
import com.s5gi.giGuns.giGuns;
|
||||
import com.s5gi.giGuns.guns.BulletType;
|
||||
import com.s5gi.giGuns.guns.IGun;
|
||||
import org.bukkit.Location;
|
||||
@ -9,7 +10,10 @@ import org.bukkit.Sound;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.inventory.CraftingRecipe;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.ShapedRecipe;
|
||||
import org.bukkit.inventory.meta.CrossbowMeta;
|
||||
import org.bukkit.inventory.meta.components.CustomModelDataComponent;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -25,8 +29,8 @@ public class barrettM82 implements IGun {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Material getItem() {
|
||||
return Material.STONE_HOE;
|
||||
public int textureId() {
|
||||
return 4;
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -45,7 +49,7 @@ public class barrettM82 implements IGun {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onHitPlayer(Location location, LivingEntity entity) {
|
||||
public void onHitEntity(Location location, LivingEntity entity) {
|
||||
|
||||
}
|
||||
|
||||
|
@ -24,11 +24,6 @@ public class desertDeagle implements IGun {
|
||||
return List.of("&9U.S.A.", "&7A single-action, gas-operated, semi-automatic pistol");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Material getItem() {
|
||||
return Material.DIAMOND_HOE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BulletType bulletType() {
|
||||
return BulletType.HEAVY;
|
||||
@ -45,7 +40,7 @@ public class desertDeagle implements IGun {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onHitPlayer(Location location, LivingEntity entity) {
|
||||
public void onHitEntity(Location location, LivingEntity entity) {
|
||||
|
||||
}
|
||||
|
||||
@ -69,6 +64,11 @@ public class desertDeagle implements IGun {
|
||||
return 15;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int textureId() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CraftingRecipe recipe() {
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:desert_eagle"), compileGun());
|
||||
|
@ -25,11 +25,6 @@ public class hecateII implements IGun {
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Material getItem() {
|
||||
return Material.IRON_HOE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BulletType bulletType() {
|
||||
return BulletType.HEAVY;
|
||||
@ -46,7 +41,7 @@ public class hecateII implements IGun {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onHitPlayer(Location location, LivingEntity entity) {
|
||||
public void onHitEntity(Location location, LivingEntity entity) {
|
||||
|
||||
}
|
||||
|
||||
@ -70,6 +65,11 @@ public class hecateII implements IGun {
|
||||
return 30;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int textureId() {
|
||||
return 3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CraftingRecipe recipe() {
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:hekateii"), compileGun());
|
||||
|
@ -21,11 +21,6 @@ public class m1Bazooka implements IGun {
|
||||
return List.of("&9U.S.A.", "&7A man-portable recoilless anti-tank rocket launcher");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Material getItem() {
|
||||
return Material.GOLDEN_HOE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BulletType bulletType() {
|
||||
return BulletType.ANTI_TANK;
|
||||
@ -42,7 +37,7 @@ public class m1Bazooka implements IGun {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onHitPlayer(Location location, LivingEntity entity) {
|
||||
public void onHitEntity(Location location, LivingEntity entity) {
|
||||
explode(location);
|
||||
}
|
||||
|
||||
@ -71,6 +66,11 @@ public class m1Bazooka implements IGun {
|
||||
return 200;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int textureId() {
|
||||
return 5;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CraftingRecipe recipe() {
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:m1_bazooka"), compileGun());
|
||||
|
94
src/main/java/com/s5gi/giGuns/guns/ind/m4a1s.java
Normal file
94
src/main/java/com/s5gi/giGuns/guns/ind/m4a1s.java
Normal file
@ -0,0 +1,94 @@
|
||||
package com.s5gi.giGuns.guns.ind;
|
||||
|
||||
import com.s5gi.giGuns.guns.BulletType;
|
||||
import com.s5gi.giGuns.guns.IGun;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.NamespacedKey;
|
||||
import org.bukkit.Sound;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.inventory.CraftingRecipe;
|
||||
import org.bukkit.inventory.ShapedRecipe;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class m4a1s implements IGun {
|
||||
@Override
|
||||
public String name() {
|
||||
return "&cM4A1-S";
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> description() {
|
||||
return List.of("&9U.S.A.", "&7A variant of the base M4 Carbine (Suppressed)");
|
||||
}
|
||||
|
||||
@Override
|
||||
public BulletType bulletType() {
|
||||
return BulletType.RIFLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Sound> sound() {
|
||||
return List.of(Sound.ENTITY_FIREWORK_ROCKET_BLAST);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public float soundPitch() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onHitEntity(Location location, LivingEntity entity) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onHitBlock(Location location, Block block) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public double bulletSpeed() {
|
||||
return 3.4;
|
||||
}
|
||||
|
||||
@Override
|
||||
public double damage() {
|
||||
return 5;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int cooldown() {
|
||||
return 3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean gravity() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int textureId() {
|
||||
return 6;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float soundVolume() {
|
||||
return 0.5f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CraftingRecipe recipe() {
|
||||
ShapedRecipe recipe = new ShapedRecipe(NamespacedKey.fromString("giguns:m4a1s"), compileGun());
|
||||
recipe.shape("iii","rdI","iis");
|
||||
recipe.setIngredient('i', Material.IRON_INGOT);
|
||||
recipe.setIngredient('I', Material.IRON_BLOCK);
|
||||
recipe.setIngredient('r', Material.BREEZE_ROD);
|
||||
recipe.setIngredient('d', Material.DISPENSER);
|
||||
recipe.setIngredient('s', Material.STICK);
|
||||
return recipe;
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "select",
|
||||
"property": "custom_model_data",
|
||||
"fallback": {
|
||||
"type": "model",
|
||||
"model": "item/black_dye"
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"when": "ammomodel0",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/pistolammo"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "ammomodel1",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/rifleammo"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "ammomodel2",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/heavyammo"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "ammomodel3",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/antitankammo"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "select",
|
||||
"property": "custom_model_data",
|
||||
"fallback": {
|
||||
"type": "model",
|
||||
"model": "item/crossbow"
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"when": "gunmodel0",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/1911"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "gunmodel1",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/deserteagle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "gunmodel2",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/ak47"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "gunmodel3",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/hecateii"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "gunmodel4",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/barettm82"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "gunmodel5",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/m1bazooka"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "gunmodel6",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/m4a1s"
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
}
|
@ -33,6 +33,12 @@
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [0, -20.5, 0]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [13, 1.5, 0]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [36, 118, 3],
|
||||
"translation": [4.25, 0, 0],
|
||||
|
@ -80,7 +80,7 @@
|
||||
"name": "stock",
|
||||
"from": [8, 2, 16],
|
||||
"to": [9, 3.25, 22],
|
||||
"rotation": {"angle": 0, "axis": "x", "origin": [8, 3, 22]},
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 3, 22]},
|
||||
"faces": {
|
||||
"north": {"uv": [7.5, 5.75, 7.75, 6], "texture": "#0"},
|
||||
"east": {"uv": [6, 5.75, 7.5, 6], "texture": "#0"},
|
||||
@ -121,13 +121,14 @@
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [-0.25, 6.75, -4]
|
||||
"rotation": [0, -13.75, 0],
|
||||
"translation": [1, 6.75, -4]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [1, 6.75, -4.25]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [0, 9, -2]
|
||||
"translation": [7.25, 9, -2]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"translation": [0, 5, 0]
|
||||
|
@ -0,0 +1,48 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [8, 8],
|
||||
"textures": {
|
||||
"0": "item/antitankammo",
|
||||
"particle": "item/antitankammo"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [7.5, 0, 7.5],
|
||||
"to": [8.5, 4.75, 8.5],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6.5, 0, 7.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 2, 10], "texture": "#0"},
|
||||
"east": {"uv": [2, 0, 4, 10], "texture": "#0"},
|
||||
"south": {"uv": [4, 0, 6, 10], "texture": "#0"},
|
||||
"west": {"uv": [6, 0, 8, 10], "texture": "#0"},
|
||||
"up": {"uv": [10, 2, 8, 0], "texture": "#0"},
|
||||
"down": {"uv": [10, 2, 8, 4], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 7.75, 0]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 7.5, 0]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [0, 7.5, 1.25]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"translation": [0, 6.75, 1.5]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 5.25, 0]
|
||||
},
|
||||
"gui": {
|
||||
"translation": [0, 14, 0],
|
||||
"scale": [2.5, 2.5, 2.5]
|
||||
},
|
||||
"fixed": {
|
||||
"translation": [0, 13.5, 0],
|
||||
"scale": [2.5, 2.5, 2.5]
|
||||
}
|
||||
}
|
||||
}
|
@ -147,13 +147,14 @@
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0.5, 6.75, -6.5]
|
||||
"rotation": [0, -14.75, 0],
|
||||
"translation": [2, 6.25, -7.25]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [-0.5, 6.75, -6.5]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [-0.75, 9.75, -7.5]
|
||||
"translation": [9, 9, -6.25]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"translation": [-2.25, 6.5, -5]
|
||||
|
@ -9,7 +9,7 @@
|
||||
{
|
||||
"from": [6, 5, 1],
|
||||
"to": [9, 8, 9],
|
||||
"rotation": {"angle": 0, "axis": "x", "origin": [7, 5, 9]},
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7, 5, 9]},
|
||||
"faces": {
|
||||
"north": {"uv": [6, 4, 7.5, 5.5], "texture": "#0"},
|
||||
"east": {"uv": [1, 9, 5, 10.5], "texture": "#0"},
|
||||
@ -61,13 +61,14 @@
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0.5, 3.5, 0]
|
||||
"rotation": [0, -15.25, 0],
|
||||
"translation": [1.25, 3.5, -1.25]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [-0.5, 3.5, 0]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [0, 6, 0]
|
||||
"translation": [9.5, 6.25, 0]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"translation": [0, 2.75, 0]
|
||||
|
@ -0,0 +1,48 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [8, 8],
|
||||
"textures": {
|
||||
"0": "item/heavyammo",
|
||||
"particle": "item/heavyammo"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [7.5, 0, 7.5],
|
||||
"to": [8.5, 4.75, 8.5],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6.5, 0, 7.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 2, 10], "texture": "#0"},
|
||||
"east": {"uv": [2, 0, 4, 10], "texture": "#0"},
|
||||
"south": {"uv": [4, 0, 6, 10], "texture": "#0"},
|
||||
"west": {"uv": [6, 0, 8, 10], "texture": "#0"},
|
||||
"up": {"uv": [10, 2, 8, 0], "texture": "#0"},
|
||||
"down": {"uv": [10, 2, 8, 4], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 8, 0]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 7.5, 0]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [0, 7.5, 2.25]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"translation": [3.25, 6.5, 0]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 5, 0]
|
||||
},
|
||||
"gui": {
|
||||
"translation": [0, 13.5, 0],
|
||||
"scale": [2.5, 2.5, 2.5]
|
||||
},
|
||||
"fixed": {
|
||||
"translation": [0, 13.5, 0],
|
||||
"scale": [2.5, 2.5, 2.5]
|
||||
}
|
||||
}
|
||||
}
|
@ -147,13 +147,14 @@
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0.5, 6.75, -5]
|
||||
"rotation": [0, -16, 0],
|
||||
"translation": [2, 7, -7.25]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [-0.5, 6.75, -5.25]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [-0.75, 8.75, -6]
|
||||
"translation": [8.5, 8.75, -6]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"translation": [-2.25, 6.5, -5]
|
||||
|
@ -0,0 +1,116 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [64, 64],
|
||||
"textures": {
|
||||
"0": "item/m1bazooka",
|
||||
"particle": "item/m1bazooka"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "trigger",
|
||||
"from": [8, 1.75, -3.75],
|
||||
"to": [9, 3, -3.5],
|
||||
"rotation": {"angle": 22.5, "axis": "x", "origin": [8, 1, -3]},
|
||||
"faces": {
|
||||
"north": {"uv": [3.75, 1.5, 4, 1.75], "texture": "#0"},
|
||||
"east": {"uv": [3.75, 1.75, 4, 2], "texture": "#0"},
|
||||
"south": {"uv": [3.75, 2, 4, 2.25], "texture": "#0"},
|
||||
"west": {"uv": [3.75, 2.25, 4, 2.5], "texture": "#0"},
|
||||
"up": {"uv": [4, 2.75, 3.75, 2.5], "texture": "#0"},
|
||||
"down": {"uv": [4, 2.75, 3.75, 3], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "grip2",
|
||||
"from": [8, -1, -2],
|
||||
"to": [9, 4, 0],
|
||||
"rotation": {"angle": -22.5, "axis": "x", "origin": [8, 2, -1]},
|
||||
"faces": {
|
||||
"north": {"uv": [3.25, 2.25, 3.5, 3.5], "texture": "#0"},
|
||||
"east": {"uv": [1.5, 2.75, 2, 4], "texture": "#0"},
|
||||
"south": {"uv": [3.5, 2.25, 3.75, 3.5], "texture": "#0"},
|
||||
"west": {"uv": [2, 2.75, 2.5, 4], "texture": "#0"},
|
||||
"up": {"uv": [3.25, 2.75, 3, 2.25], "texture": "#0"},
|
||||
"down": {"uv": [3.75, 3.5, 3.5, 4], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "grip",
|
||||
"from": [8, -1, 7],
|
||||
"to": [9, 4, 10],
|
||||
"rotation": {"angle": -22.5, "axis": "x", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [2.5, 3.5, 2.75, 4.75], "texture": "#0"},
|
||||
"east": {"uv": [1.5, 1.5, 2.25, 2.75], "texture": "#0"},
|
||||
"south": {"uv": [2.75, 3.5, 3, 4.75], "texture": "#0"},
|
||||
"west": {"uv": [2.25, 1.5, 3, 2.75], "texture": "#0"},
|
||||
"up": {"uv": [3.25, 4.25, 3, 3.5], "texture": "#0"},
|
||||
"down": {"uv": [3.5, 3.5, 3.25, 4.25], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [7, 3, -8],
|
||||
"to": [10, 6, 23],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7, 3, 7]},
|
||||
"faces": {
|
||||
"north": {"uv": [2.5, 2.75, 3.25, 3.5], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 7.75, 0.75], "texture": "#0"},
|
||||
"south": {"uv": [3, 1.5, 3.75, 2.25], "texture": "#0"},
|
||||
"west": {"uv": [0, 0.75, 7.75, 1.5], "texture": "#0"},
|
||||
"up": {"uv": [0.75, 9.25, 0, 1.5], "texture": "#0"},
|
||||
"down": {"uv": [1.5, 1.5, 0.75, 9.25], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [6.5, 3, -8],
|
||||
"to": [7, 7, -7],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [5.5, 4, -8]},
|
||||
"faces": {
|
||||
"north": {"uv": [7, 6.75, 7.125, 7.75], "texture": "#0"},
|
||||
"east": {"uv": [1.75, 4.25, 2, 5.25], "texture": "#0"},
|
||||
"south": {"uv": [6, 8.5, 6.125, 9.5], "texture": "#0"},
|
||||
"west": {"uv": [2.75, 5.75, 3, 6.75], "texture": "#0"},
|
||||
"up": {"uv": [6.75, 4.5, 6.875, 4.75], "texture": "#0"},
|
||||
"down": {"uv": [5.5, 6.5, 5.625, 6.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [6.5, 3, 3],
|
||||
"to": [7, 7, 4],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [5.5, 4, 3]},
|
||||
"faces": {
|
||||
"north": {"uv": [4, 3.5, 4.125, 4.5], "texture": "#0"},
|
||||
"east": {"uv": [3.25, 4.5, 3.5, 5.5], "texture": "#0"},
|
||||
"south": {"uv": [3.75, 4.5, 3.875, 5.5], "texture": "#0"},
|
||||
"west": {"uv": [2, 4.75, 2.25, 5.75], "texture": "#0"},
|
||||
"up": {"uv": [3.5, 7, 3.625, 7.25], "texture": "#0"},
|
||||
"down": {"uv": [4.25, 4.75, 4.375, 5], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [0, -9.25, 0],
|
||||
"translation": [-0.25, 6.25, 8.5]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 5.25, 10.75]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [10.5, 7, 8]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [20, 128, 3],
|
||||
"translation": [0.5, 1.25, 0],
|
||||
"scale": [0.6, 0.6, 0.6]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "group",
|
||||
"origin": [8, 2, 8],
|
||||
"color": 0,
|
||||
"children": [0, 1, 2, 3, 4, 5]
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,278 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [32, 32],
|
||||
"textures": {
|
||||
"0": "item/m4a1s",
|
||||
"particle": "item/m4a1s"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "sight",
|
||||
"from": [8.25, 6.25, 9],
|
||||
"to": [8.75, 6.75, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7.25, 6.25, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [6.5, 4.5, 7, 5], "texture": "#0"},
|
||||
"east": {"uv": [8, 7, 10.5, 7.5], "texture": "#0"},
|
||||
"south": {"uv": [9.5, 9, 10, 9.5], "texture": "#0"},
|
||||
"west": {"uv": [8, 7.5, 10.5, 8], "texture": "#0"},
|
||||
"up": {"uv": [5.5, 10.5, 5, 8], "texture": "#0"},
|
||||
"down": {"uv": [6, 8, 5.5, 10.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sightleg1",
|
||||
"from": [8.25, 5.25, 9],
|
||||
"to": [8.75, 6.75, 9.5],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7.25, 6.25, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [9, 1, 9.5, 2], "texture": "#0"},
|
||||
"east": {"uv": [9, 2, 9.5, 3], "texture": "#0"},
|
||||
"south": {"uv": [2.5, 9, 3, 10], "texture": "#0"},
|
||||
"west": {"uv": [9, 8.5, 9.5, 9.5], "texture": "#0"},
|
||||
"up": {"uv": [10.5, 4.5, 10, 4], "texture": "#0"},
|
||||
"down": {"uv": [5, 10, 4.5, 10.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sightleg1",
|
||||
"from": [8.25, 4.95, 0.5],
|
||||
"to": [8.75, 6.75, 1],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7.25, 6.25, -8.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [1, 9.5, 1.5, 10.5], "texture": "#0"},
|
||||
"east": {"uv": [9.5, 1, 10, 2], "texture": "#0"},
|
||||
"south": {"uv": [1.5, 9.5, 2, 10.5], "texture": "#0"},
|
||||
"west": {"uv": [2, 9.5, 2.5, 10.5], "texture": "#0"},
|
||||
"up": {"uv": [10.5, 5, 10, 4.5], "texture": "#0"},
|
||||
"down": {"uv": [10.5, 5, 10, 5.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sightleg1",
|
||||
"from": [8.25, 4.84571, 1.22929],
|
||||
"to": [8.75, 6.94571, 1.72929],
|
||||
"rotation": {"angle": -45, "axis": "x", "origin": [8.5, 5.875, 1.55]},
|
||||
"faces": {
|
||||
"north": {"uv": [9.5, 2, 10, 3], "texture": "#0"},
|
||||
"east": {"uv": [9.5, 3, 10, 4], "texture": "#0"},
|
||||
"south": {"uv": [3.5, 9.5, 4, 10.5], "texture": "#0"},
|
||||
"west": {"uv": [4, 9.5, 4.5, 10.5], "texture": "#0"},
|
||||
"up": {"uv": [10.5, 6, 10, 5.5], "texture": "#0"},
|
||||
"down": {"uv": [10.5, 6, 10, 6.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sightleg2",
|
||||
"from": [8.25, 5.25, 13.5],
|
||||
"to": [8.75, 6.75, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7.25, 6.25, 4.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [9.5, 4, 10, 5], "texture": "#0"},
|
||||
"east": {"uv": [9.5, 5, 10, 6], "texture": "#0"},
|
||||
"south": {"uv": [8, 9.5, 8.5, 10.5], "texture": "#0"},
|
||||
"west": {"uv": [8.5, 9.5, 9, 10.5], "texture": "#0"},
|
||||
"up": {"uv": [10.5, 7, 10, 6.5], "texture": "#0"},
|
||||
"down": {"uv": [7.5, 10, 7, 10.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "barrel",
|
||||
"from": [8, 4, 0],
|
||||
"to": [9, 5, 16.05],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7, 4, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [7.5, 10, 8, 10.5], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 8, 0.5], "texture": "#0"},
|
||||
"south": {"uv": [9, 10, 9.5, 10.5], "texture": "#0"},
|
||||
"west": {"uv": [0, 0.5, 8, 1], "texture": "#0"},
|
||||
"up": {"uv": [0.5, 9, 0, 1], "texture": "#0"},
|
||||
"down": {"uv": [1, 1, 0.5, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "supressor",
|
||||
"from": [7.75, 3.75, -7],
|
||||
"to": [9.25, 5.25, 0],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7.25, 3.75, -16]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.5, 4, 9.5, 5], "texture": "#0"},
|
||||
"east": {"uv": [3, 3, 6.5, 4], "texture": "#0"},
|
||||
"south": {"uv": [8.5, 5, 9.5, 6], "texture": "#0"},
|
||||
"west": {"uv": [3, 4, 6.5, 5], "texture": "#0"},
|
||||
"up": {"uv": [4, 8.5, 3, 5], "texture": "#0"},
|
||||
"down": {"uv": [5, 5, 4, 8.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "chamber",
|
||||
"from": [7.65, 3.6, 9],
|
||||
"to": [9.4, 5.35, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7.4, 3.6, -2]},
|
||||
"faces": {
|
||||
"north": {"uv": [8, 8.5, 9, 9.5], "texture": "#0"},
|
||||
"east": {"uv": [4.5, 1, 7, 2], "texture": "#0"},
|
||||
"south": {"uv": [0, 9, 1, 10], "texture": "#0"},
|
||||
"west": {"uv": [4.5, 2, 7, 3], "texture": "#0"},
|
||||
"up": {"uv": [2, 9, 1, 6.5], "texture": "#0"},
|
||||
"down": {"uv": [3, 6.5, 2, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "trigger",
|
||||
"from": [8.1, 2.1, 11.3],
|
||||
"to": [8.9, 3, 11.55],
|
||||
"rotation": {"angle": 22.5, "axis": "x", "origin": [8, 1, 12.05]},
|
||||
"faces": {
|
||||
"north": {"uv": [10, 9, 10.5, 9.5], "texture": "#0"},
|
||||
"east": {"uv": [9.5, 10, 10, 10.5], "texture": "#0"},
|
||||
"south": {"uv": [10, 9.5, 10.5, 10], "texture": "#0"},
|
||||
"west": {"uv": [10, 10, 10.5, 10.5], "texture": "#0"},
|
||||
"up": {"uv": [11, 1, 10.5, 0.5], "texture": "#0"},
|
||||
"down": {"uv": [1.5, 10.5, 1, 11], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "magrecept",
|
||||
"from": [7.9, 2.9, 9],
|
||||
"to": [9.15, 3.65, 13.95],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7.4, 1.9, -2]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.5, 1, 11, 1.5], "texture": "#0"},
|
||||
"east": {"uv": [8, 8, 10.5, 8.5], "texture": "#0"},
|
||||
"south": {"uv": [1.5, 10.5, 2, 11], "texture": "#0"},
|
||||
"west": {"uv": [8.5, 0, 11, 0.5], "texture": "#0"},
|
||||
"up": {"uv": [6.5, 10.5, 6, 8], "texture": "#0"},
|
||||
"down": {"uv": [7, 8, 6.5, 10.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "foregrip",
|
||||
"from": [7.5, 3.5, 2],
|
||||
"to": [9.5, 5.5, 9],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8.5, 4.5, 5.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.5, 3, 9.5, 4], "texture": "#0"},
|
||||
"east": {"uv": [1, 1, 4.5, 2], "texture": "#0"},
|
||||
"south": {"uv": [3.5, 8.5, 4.5, 9.5], "texture": "#0"},
|
||||
"west": {"uv": [1, 2, 4.5, 3], "texture": "#0"},
|
||||
"up": {"uv": [2, 6.5, 1, 3], "texture": "#0"},
|
||||
"down": {"uv": [3, 3, 2, 6.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "stockend",
|
||||
"from": [7.9, 2.2, 18.998],
|
||||
"to": [9.1, 3.45, 22.198],
|
||||
"rotation": {"angle": 22.5, "axis": "x", "origin": [8, 4.15, 23.15]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.5, 1.5, 11, 2], "texture": "#0"},
|
||||
"east": {"uv": [9, 0.5, 10.5, 1], "texture": "#0"},
|
||||
"south": {"uv": [2, 10.5, 2.5, 11], "texture": "#0"},
|
||||
"west": {"uv": [1, 9, 2.5, 9.5], "texture": "#0"},
|
||||
"up": {"uv": [7, 4.5, 6.5, 3], "texture": "#0"},
|
||||
"down": {"uv": [5, 8.5, 4.5, 10], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "stock",
|
||||
"from": [7.9, 3.85, 16],
|
||||
"to": [9.1, 5.1, 22],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 4.85, 22]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.5, 2, 11, 2.5], "texture": "#0"},
|
||||
"east": {"uv": [7, 6, 10, 6.5], "texture": "#0"},
|
||||
"south": {"uv": [10.5, 2.5, 11, 3], "texture": "#0"},
|
||||
"west": {"uv": [7, 6.5, 10, 7], "texture": "#0"},
|
||||
"up": {"uv": [7.5, 10, 7, 7], "texture": "#0"},
|
||||
"down": {"uv": [8, 7, 7.5, 10], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sight",
|
||||
"from": [8.05, 1.85, 11.55],
|
||||
"to": [8.95, 2.05, 13.25],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7.25, 1.55, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.5, 3, 11, 3.5], "texture": "#0"},
|
||||
"east": {"uv": [9.5, 8.5, 10.5, 9], "texture": "#0"},
|
||||
"south": {"uv": [3.5, 10.5, 4, 11], "texture": "#0"},
|
||||
"west": {"uv": [9, 9.5, 10, 10], "texture": "#0"},
|
||||
"up": {"uv": [0.5, 11, 0, 10], "texture": "#0"},
|
||||
"down": {"uv": [1, 10, 0.5, 11], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "sight",
|
||||
"from": [8.05, 1.85, 11.35],
|
||||
"to": [8.95, 3.3, 11.6],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [7.25, 1.55, 0.1]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.5, 3.5, 11, 4], "texture": "#0"},
|
||||
"east": {"uv": [4, 10.5, 4.5, 11], "texture": "#0"},
|
||||
"south": {"uv": [10.5, 4, 11, 4.5], "texture": "#0"},
|
||||
"west": {"uv": [4.5, 10.5, 5, 11], "texture": "#0"},
|
||||
"up": {"uv": [11, 5, 10.5, 4.5], "texture": "#0"},
|
||||
"down": {"uv": [5.5, 10.5, 5, 11], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "mag",
|
||||
"from": [8, -1.5, 9.25],
|
||||
"to": [9, 4.5, 11.25],
|
||||
"rotation": {"angle": 22.5, "axis": "x", "origin": [8, 2.5, 10.25]},
|
||||
"faces": {
|
||||
"north": {"uv": [8, 0, 8.5, 3], "texture": "#0"},
|
||||
"east": {"uv": [5, 5, 6, 8], "texture": "#0"},
|
||||
"south": {"uv": [8, 3, 8.5, 6], "texture": "#0"},
|
||||
"west": {"uv": [6, 5, 7, 8], "texture": "#0"},
|
||||
"up": {"uv": [10.5, 2, 10, 1], "texture": "#0"},
|
||||
"down": {"uv": [10.5, 2, 10, 3], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "grip",
|
||||
"from": [8, -0.5, 12.75],
|
||||
"to": [9, 4, 14.5],
|
||||
"rotation": {"angle": -22.5, "axis": "x", "origin": [8, 2, 13.75]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.5, 0.5, 9, 3], "texture": "#0"},
|
||||
"east": {"uv": [7, 1, 8, 3.5], "texture": "#0"},
|
||||
"south": {"uv": [3, 8.5, 3.5, 11], "texture": "#0"},
|
||||
"west": {"uv": [7, 3.5, 8, 6], "texture": "#0"},
|
||||
"up": {"uv": [3, 11, 2.5, 10], "texture": "#0"},
|
||||
"down": {"uv": [10.5, 3, 10, 4], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [0, -12, 0],
|
||||
"translation": [0.5, 5.25, -4.5]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0.25, 5.5, -4.5]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, -8, 0],
|
||||
"translation": [9, 7.75, -0.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, -20, 0],
|
||||
"translation": [11.5, 5, -3.5]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [19, 116, 3],
|
||||
"translation": [0.5, 1.5, 0],
|
||||
"scale": [0.58, 0.58, 0.58]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "group",
|
||||
"origin": [8, 8, 8],
|
||||
"color": 0,
|
||||
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "item/pistolammo",
|
||||
"particle": "item/pistolammo"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [7.5, 0, 7.5],
|
||||
"to": [8.5, 2, 8.5],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6.5, 0, 7.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 1, 4], "texture": "#0"},
|
||||
"east": {"uv": [1, 0, 2, 4], "texture": "#0"},
|
||||
"south": {"uv": [2, 0, 3, 4], "texture": "#0"},
|
||||
"west": {"uv": [3, 0, 4, 4], "texture": "#0"},
|
||||
"up": {"uv": [4, 6, 3, 5], "texture": "#0"},
|
||||
"down": {"uv": [6, 3, 5, 4], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [5.9, 0, 7],
|
||||
"to": [6.9, 2, 8],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [4.9, 0, 7]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 4, 1, 8], "texture": "#0"},
|
||||
"east": {"uv": [4, 0, 5, 4], "texture": "#0"},
|
||||
"south": {"uv": [1, 4, 2, 8], "texture": "#0"},
|
||||
"west": {"uv": [2, 4, 3, 8], "texture": "#0"},
|
||||
"up": {"uv": [5, 6, 4, 5], "texture": "#0"},
|
||||
"down": {"uv": [6, 5, 5, 6], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0.75, 8.25, 0.75]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [-0.75, 7.75, 0]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [0, 10.25, 3.5]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"translation": [0, 9.5, 2.5]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [1, 6.75, 0]
|
||||
},
|
||||
"gui": {
|
||||
"translation": [2.25, 21, 0],
|
||||
"scale": [3, 3, 3]
|
||||
},
|
||||
"fixed": {
|
||||
"translation": [2.25, 16.75, 0],
|
||||
"scale": [2.5, 2.5, 2.5]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "group",
|
||||
"origin": [8, 8, 8],
|
||||
"color": 0,
|
||||
"children": [0, 1]
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [8, 8],
|
||||
"textures": {
|
||||
"0": "item/rifleammo",
|
||||
"particle": "item/rifleammo"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [9, 0, 7.2],
|
||||
"to": [10, 2.75, 8.2],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, 7.2]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 2, 6], "texture": "#0"},
|
||||
"east": {"uv": [2, 0, 4, 6], "texture": "#0"},
|
||||
"south": {"uv": [4, 0, 6, 6], "texture": "#0"},
|
||||
"west": {"uv": [0, 6, 2, 12], "texture": "#0"},
|
||||
"up": {"uv": [2, 14, 0, 12], "texture": "#0"},
|
||||
"down": {"uv": [14, 0, 12, 2], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [7.5, 0, 7.5],
|
||||
"to": [8.5, 2.75, 8.5],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [6.5, 0, 7.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [6, 0, 8, 6], "texture": "#0"},
|
||||
"east": {"uv": [2, 6, 4, 12], "texture": "#0"},
|
||||
"south": {"uv": [4, 6, 6, 12], "texture": "#0"},
|
||||
"west": {"uv": [6, 6, 8, 12], "texture": "#0"},
|
||||
"up": {"uv": [4, 14, 2, 12], "texture": "#0"},
|
||||
"down": {"uv": [14, 2, 12, 4], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [6, 0, 7.8],
|
||||
"to": [7, 2.75, 8.8],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [5, 0, 7.8]},
|
||||
"faces": {
|
||||
"north": {"uv": [8, 0, 10, 6], "texture": "#0"},
|
||||
"east": {"uv": [8, 6, 10, 12], "texture": "#0"},
|
||||
"south": {"uv": [10, 0, 12, 6], "texture": "#0"},
|
||||
"west": {"uv": [10, 6, 12, 12], "texture": "#0"},
|
||||
"up": {"uv": [6, 14, 4, 12], "texture": "#0"},
|
||||
"down": {"uv": [14, 4, 12, 6], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 7.75, 0]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 8, 0]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [0, 9.75, 2.75]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"translation": [0, 9, 1.25]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 5.5, 0]
|
||||
},
|
||||
"gui": {
|
||||
"translation": [0, 16, 0],
|
||||
"scale": [2.5, 2.5, 2.5]
|
||||
},
|
||||
"fixed": {
|
||||
"translation": [0, 19.75, 0],
|
||||
"scale": [3, 3, 3]
|
||||
}
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "group",
|
||||
"origin": [5, 0, 7.8],
|
||||
"color": 0,
|
||||
"children": [0, 1, 2]
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 122 B |
Binary file not shown.
After Width: | Height: | Size: 122 B |
Binary file not shown.
After Width: | Height: | Size: 432 B |
Binary file not shown.
After Width: | Height: | Size: 408 B |
Binary file not shown.
After Width: | Height: | Size: 157 B |
Binary file not shown.
After Width: | Height: | Size: 153 B |
@ -1 +1 @@
|
||||
{"meta":{"format_version":"4.10","model_format":"java_block","box_uv":false},"name":"1911","parent":"","ambientocclusion":true,"front_gui_light":false,"visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"unhandled_root_fields":{},"resolution":{"width":16,"height":16},"elements":[{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7,5,7],"to":[9,10,9],"autouv":0,"color":6,"origin":[7,5,9],"faces":{"north":{"uv":[2,0,4,5],"texture":0},"east":{"uv":[4,0,6,5],"texture":0},"south":{"uv":[0,5,2,10],"texture":0},"west":{"uv":[0,0,2,5],"texture":0},"up":{"uv":[9,6,7,4],"rotation":270,"texture":0},"down":{"uv":[9,6,7,8],"rotation":90,"texture":0}},"type":"cube","uuid":"f7a7d3df-4d65-af56-50b9-0399fa6051ff"},{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7,8,2],"to":[9,10,7],"autouv":0,"color":6,"origin":[7,10,7],"faces":{"north":{"uv":[7,8,9,10],"texture":0},"east":{"uv":[6,0,11,2],"texture":0},"south":{"uv":[2,9,4,11],"texture":0},"west":{"uv":[2,5,7,7],"texture":0},"up":{"uv":[11,4,6,2],"rotation":270,"texture":0},"down":{"uv":[7,7,2,9],"rotation":90,"texture":0}},"type":"cube","uuid":"be7a956e-877b-f0eb-4f22-dc52c69bda61"}],"outliner":[{"name":"group","origin":[7,5,7],"color":0,"uuid":"6ba8cac1-e6f6-5299-d3a0-e32836954692","export":true,"mirror_uv":false,"isOpen":true,"locked":false,"visibility":true,"autouv":0,"selected":false,"children":["f7a7d3df-4d65-af56-50b9-0399fa6051ff","be7a956e-877b-f0eb-4f22-dc52c69bda61"]}],"textures":[{"path":"C:\\Users\\5gi\\AppData\\Roaming\\ModrinthApp\\profiles\\Fabulously Optimized\\resourcepacks\\giGuns Pack Java\\assets\\minecraft\\textures\\item\\1911.png","name":"1911.png","folder":"item","namespace":"minecraft","id":"0","group":"","width":16,"height":16,"uv_width":16,"uv_height":16,"particle":true,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","pbr_channel":"color","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"2962ab16-1de3-39c6-1951-15f4d263db24","relative_path":"../assets/minecraft/textures/item/1911.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAHJJREFUOE/tkkEKwDAIBNfnePX/b/Ca57QoTZA0GtpboblswGXQVRKRAwBU1QQi4mqPmV1ba66qSqN4fagCzOYSMJtXXbwCRPAjgJnDeLfZO3iYshGy8D4C6LcBYJ9BYvYjKwEhvK15FXTaWrWVWPsBwAllyzoRXJqgwQAAAABJRU5ErkJggg=="}],"display":{"gui":{"rotation":[36,118,3],"translation":[4.25,0,0],"scale":[2,2,2]},"fixed":{"rotation":[0,-90,0],"translation":[-2.25,0,0]}}}
|
||||
{"meta":{"format_version":"4.10","model_format":"java_block","box_uv":false},"name":"1911","parent":"","ambientocclusion":true,"front_gui_light":false,"visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"unhandled_root_fields":{},"resolution":{"width":16,"height":16},"elements":[{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7,5,7],"to":[9,10,9],"autouv":0,"color":6,"origin":[7,5,9],"faces":{"north":{"uv":[2,0,4,5],"texture":0},"east":{"uv":[4,0,6,5],"texture":0},"south":{"uv":[0,5,2,10],"texture":0},"west":{"uv":[0,0,2,5],"texture":0},"up":{"uv":[9,6,7,4],"rotation":270,"texture":0},"down":{"uv":[9,6,7,8],"rotation":90,"texture":0}},"type":"cube","uuid":"f7a7d3df-4d65-af56-50b9-0399fa6051ff"},{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7,8,2],"to":[9,10,7],"autouv":0,"color":6,"origin":[7,10,7],"faces":{"north":{"uv":[7,8,9,10],"texture":0},"east":{"uv":[6,0,11,2],"texture":0},"south":{"uv":[2,9,4,11],"texture":0},"west":{"uv":[2,5,7,7],"texture":0},"up":{"uv":[11,4,6,2],"rotation":270,"texture":0},"down":{"uv":[7,7,2,9],"rotation":90,"texture":0}},"type":"cube","uuid":"be7a956e-877b-f0eb-4f22-dc52c69bda61"}],"outliner":[{"name":"group","origin":[7,5,7],"color":0,"uuid":"6ba8cac1-e6f6-5299-d3a0-e32836954692","export":true,"mirror_uv":false,"isOpen":true,"locked":false,"visibility":true,"autouv":0,"selected":false,"children":["f7a7d3df-4d65-af56-50b9-0399fa6051ff","be7a956e-877b-f0eb-4f22-dc52c69bda61"]}],"textures":[{"path":"C:\\Users\\5gi\\AppData\\Roaming\\ModrinthApp\\profiles\\Fabulously Optimized\\resourcepacks\\giGuns Pack Java\\assets\\minecraft\\textures\\item\\1911.png","name":"1911.png","folder":"item","namespace":"minecraft","id":"0","group":"","width":16,"height":16,"uv_width":16,"uv_height":16,"particle":true,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","pbr_channel":"color","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"2962ab16-1de3-39c6-1951-15f4d263db24","relative_path":"../assets/minecraft/textures/item/1911.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAHJJREFUOE/tkkEKwDAIBNfnePX/b/Ca57QoTZA0GtpboblswGXQVRKRAwBU1QQi4mqPmV1ba66qSqN4fagCzOYSMJtXXbwCRPAjgJnDeLfZO3iYshGy8D4C6LcBYJ9BYvYjKwEhvK15FXTaWrWVWPsBwAllyzoRXJqgwQAAAABJRU5ErkJggg=="}],"display":{"thirdperson_righthand":{"rotation":[0,-20.5,0]},"firstperson_righthand":{"translation":[13,1.5,0]},"gui":{"rotation":[36,118,3],"translation":[4.25,0,0],"scale":[2,2,2]},"fixed":{"rotation":[0,-90,0],"translation":[-2.25,0,0]}}}
|
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
{"meta":{"format_version":"4.10","model_format":"java_block","box_uv":false},"name":"antitankammo","parent":"","ambientocclusion":true,"front_gui_light":false,"visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"unhandled_root_fields":{},"resolution":{"width":8,"height":8},"elements":[{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7.5,0,7.5],"to":[8.5,4.75,8.5],"autouv":0,"color":4,"origin":[6.5,0,7.5],"faces":{"north":{"uv":[0,0,1,5],"texture":0},"east":{"uv":[1,0,2,5],"texture":0},"south":{"uv":[2,0,3,5],"texture":0},"west":{"uv":[3,0,4,5],"texture":0},"up":{"uv":[5,1,4,0],"texture":0},"down":{"uv":[5,1,4,2],"texture":0}},"type":"cube","uuid":"33973286-6d31-9c4a-accd-7f29ba980271"}],"outliner":["33973286-6d31-9c4a-accd-7f29ba980271"],"textures":[{"path":"C:\\Users\\5gi\\AppData\\Roaming\\ModrinthApp\\profiles\\Fabulously Optimized\\resourcepacks\\giGuns Pack Java\\assets\\minecraft\\textures\\item\\antitankammo.png","name":"antitankammo.png","folder":"item","namespace":"minecraft","id":"0","group":"","width":16,"height":16,"uv_width":8,"uv_height":8,"particle":true,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","pbr_channel":"color","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"849c2d63-2f86-2321-46c2-45933e21843b","relative_path":"../assets/minecraft/textures/item/antitankammo.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAENJREFUOE9jZGBg+M9AHGDEpgwkSJkBmzZtIsoAPz8/7C6guQG4bIaFByMhF4wawMBAMAyIS4S4VWFNHKQYOmoAAwMACPwiESNrAOAAAAAASUVORK5CYII="}],"display":{"thirdperson_righthand":{"translation":[0,7.75,0]},"thirdperson_lefthand":{"translation":[0,7.5,0]},"firstperson_righthand":{"translation":[0,7.5,1.25]},"firstperson_lefthand":{"translation":[0,6.75,1.5]},"ground":{"translation":[0,5.25,0]},"gui":{"translation":[0,14,0],"scale":[2.5,2.5,2.5]},"fixed":{"translation":[0,13.5,0],"scale":[2.5,2.5,2.5]}}}
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{"meta":{"format_version":"4.10","model_format":"java_block","box_uv":false},"name":"deserteagle","parent":"","ambientocclusion":true,"front_gui_light":false,"visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"unhandled_root_fields":{},"resolution":{"width":32,"height":32},"elements":[{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[6,0,9],"to":[9,8,12],"autouv":0,"color":0,"origin":[7,0,9],"faces":{"north":{"uv":[6,6,9,14],"texture":0},"east":{"uv":[9,0,12,8],"texture":0},"south":{"uv":[9,8,12,16],"texture":0},"west":{"uv":[12,0,15,8],"texture":0},"up":{"uv":[3,17,0,14],"texture":0},"down":{"uv":[6,14,3,17],"texture":0}},"type":"cube","uuid":"9432b403-a440-cc05-1548-00375ae0f564"},{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[6,5,1],"to":[9,8,9],"autouv":0,"color":0,"origin":[7,5,9],"faces":{"north":{"uv":[12,8,15,11],"texture":0},"east":{"uv":[2,18,10,21],"texture":0},"south":{"uv":[12,11,15,14],"texture":0},"west":{"uv":[0,3,8,6],"texture":0},"up":{"uv":[3,14,0,6],"texture":0},"down":{"uv":[6,6,3,14],"texture":0}},"type":"cube","uuid":"043bfd91-bb96-7d98-4df0-fb6a8121329f"},{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7,5,12],"to":[8,7,13],"autouv":0,"color":6,"origin":[6,5,12],"faces":{"north":{"uv":[22,30,23,32],"texture":0},"east":{"uv":[8,29,9,31],"texture":0},"south":{"uv":[5,27,6,29],"texture":0},"west":{"uv":[9,25,10,27],"texture":0},"up":{"uv":[3,29,4,30],"texture":0},"down":{"uv":[10,29,11,30],"texture":0}},"type":"cube","uuid":"55146815-efc9-57ad-b33e-0e095e299858"},{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7,3,8],"to":[8,5,9],"autouv":0,"color":6,"origin":[6,3,8],"faces":{"north":{"uv":[11,17,12,19],"texture":0},"east":{"uv":[13,30,14,32],"texture":0},"south":{"uv":[13,24,14,26],"texture":0},"west":{"uv":[17,24,18,26],"texture":0},"up":{"uv":[16,17,17,18],"texture":0},"down":{"uv":[7,16.75,8,17.75],"texture":0}},"type":"cube","uuid":"d0a54ad3-f649-c932-cbe8-a587020d27e5"}],"outliner":[{"name":"group","origin":[8,8,8],"color":0,"uuid":"f63ee920-90a3-3e94-9fa2-3d6f244a1751","export":true,"mirror_uv":false,"isOpen":true,"locked":false,"visibility":true,"autouv":0,"selected":false,"children":["043bfd91-bb96-7d98-4df0-fb6a8121329f","9432b403-a440-cc05-1548-00375ae0f564","55146815-efc9-57ad-b33e-0e095e299858","d0a54ad3-f649-c932-cbe8-a587020d27e5"]}],"textures":[{"path":"C:\\Users\\5gi\\AppData\\Roaming\\ModrinthApp\\profiles\\Fabulously Optimized\\resourcepacks\\giGuns Pack Java\\assets\\minecraft\\textures\\item\\deserteagle.png","name":"deserteagle.png","folder":"item","namespace":"minecraft","id":"0","group":"","width":32,"height":32,"uv_width":32,"uv_height":32,"particle":true,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","pbr_channel":"color","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"00443fca-0043-fa91-ff59-fb4c130b7023","relative_path":"../assets/minecraft/textures/item/deserteagle.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAQhJREFUWEftlssNgzAMhuHeHbpAuk1myByeIzNkgO7QY3PpsTv0ThWpRA5yEtM4BakgIQEm9sfvBxkBYBoKBwCMuXeCrbSWY8s6nxcfAEEBpRSZJu/9b1LwPwD35ysW7uV8itfOObKgxVOwW4BcP4vPAazA43aNcbXWCQMADJ9Ttgu4AHhIcaZd6Z1kEuYAsAOJwsP+DoBEAdzvWGo8CbumYLcArZVe7IKS0RgzWWtjry/vJcCic87OaHMAiS9e+lilQFeAHs45Ppt/JpwgX3dBq3POehEFWrqDBVALULM3p6AlQC0NpAI9A2bnADZsBkAFnp/1gqoWIRU4/DckdsRB9SoAVUSSAG9Nb+UhRsq7nAAAAABJRU5ErkJggg=="}],"display":{"thirdperson_righthand":{"translation":[0.5,3.5,0]},"thirdperson_lefthand":{"translation":[-0.5,3.5,0]},"firstperson_righthand":{"translation":[0,6,0]},"firstperson_lefthand":{"translation":[0,2.75,0]},"ground":{"translation":[0,5.25,0]},"gui":{"rotation":[35,126,-5],"translation":[0,2.75,0]},"fixed":{"rotation":[180,-90,180],"translation":[-0.5,2.25,0]}}}
|
||||
{"meta":{"format_version":"4.10","model_format":"java_block","box_uv":false},"name":"deserteagle","parent":"","ambientocclusion":true,"front_gui_light":false,"visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"unhandled_root_fields":{},"resolution":{"width":32,"height":32},"elements":[{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[6,0,9],"to":[9,8,12],"autouv":0,"color":0,"origin":[7,0,9],"faces":{"north":{"uv":[6,6,9,14],"texture":0},"east":{"uv":[9,0,12,8],"texture":0},"south":{"uv":[9,8,12,16],"texture":0},"west":{"uv":[12,0,15,8],"texture":0},"up":{"uv":[3,17,0,14],"texture":0},"down":{"uv":[6,14,3,17],"texture":0}},"type":"cube","uuid":"9432b403-a440-cc05-1548-00375ae0f564"},{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[6,5,1],"to":[9,8,9],"autouv":0,"color":0,"origin":[7,5,9],"faces":{"north":{"uv":[12,8,15,11],"texture":0},"east":{"uv":[2,18,10,21],"texture":0},"south":{"uv":[12,11,15,14],"texture":0},"west":{"uv":[0,3,8,6],"texture":0},"up":{"uv":[3,14,0,6],"texture":0},"down":{"uv":[6,6,3,14],"texture":0}},"type":"cube","uuid":"043bfd91-bb96-7d98-4df0-fb6a8121329f"},{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7,5,12],"to":[8,7,13],"autouv":0,"color":6,"origin":[6,5,12],"faces":{"north":{"uv":[22,30,23,32],"texture":0},"east":{"uv":[8,29,9,31],"texture":0},"south":{"uv":[5,27,6,29],"texture":0},"west":{"uv":[9,25,10,27],"texture":0},"up":{"uv":[3,29,4,30],"texture":0},"down":{"uv":[10,29,11,30],"texture":0}},"type":"cube","uuid":"55146815-efc9-57ad-b33e-0e095e299858"},{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7,3,8],"to":[8,5,9],"autouv":0,"color":6,"origin":[6,3,8],"faces":{"north":{"uv":[11,17,12,19],"texture":0},"east":{"uv":[13,30,14,32],"texture":0},"south":{"uv":[13,24,14,26],"texture":0},"west":{"uv":[17,24,18,26],"texture":0},"up":{"uv":[16,17,17,18],"texture":0},"down":{"uv":[7,16.75,8,17.75],"texture":0}},"type":"cube","uuid":"d0a54ad3-f649-c932-cbe8-a587020d27e5"}],"outliner":[{"name":"group","origin":[8,8,8],"color":0,"uuid":"f63ee920-90a3-3e94-9fa2-3d6f244a1751","export":true,"mirror_uv":false,"isOpen":true,"locked":false,"visibility":true,"autouv":0,"selected":false,"children":["043bfd91-bb96-7d98-4df0-fb6a8121329f","9432b403-a440-cc05-1548-00375ae0f564","55146815-efc9-57ad-b33e-0e095e299858","d0a54ad3-f649-c932-cbe8-a587020d27e5"]}],"textures":[{"path":"C:\\Users\\5gi\\AppData\\Roaming\\ModrinthApp\\profiles\\Fabulously Optimized\\resourcepacks\\giGuns Pack Java\\assets\\minecraft\\textures\\item\\deserteagle.png","name":"deserteagle.png","folder":"item","namespace":"minecraft","id":"0","group":"","width":32,"height":32,"uv_width":32,"uv_height":32,"particle":true,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","pbr_channel":"color","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"00443fca-0043-fa91-ff59-fb4c130b7023","relative_path":"../assets/minecraft/textures/item/deserteagle.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAQhJREFUWEftlssNgzAMhuHeHbpAuk1myByeIzNkgO7QY3PpsTv0ThWpRA5yEtM4BakgIQEm9sfvBxkBYBoKBwCMuXeCrbSWY8s6nxcfAEEBpRSZJu/9b1LwPwD35ysW7uV8itfOObKgxVOwW4BcP4vPAazA43aNcbXWCQMADJ9Ttgu4AHhIcaZd6Z1kEuYAsAOJwsP+DoBEAdzvWGo8CbumYLcArZVe7IKS0RgzWWtjry/vJcCic87OaHMAiS9e+lilQFeAHs45Ppt/JpwgX3dBq3POehEFWrqDBVALULM3p6AlQC0NpAI9A2bnADZsBkAFnp/1gqoWIRU4/DckdsRB9SoAVUSSAG9Nb+UhRsq7nAAAAABJRU5ErkJggg=="}],"display":{"thirdperson_righthand":{"rotation":[0,-15.25,0],"translation":[1.25,3.5,-1.25]},"thirdperson_lefthand":{"translation":[-0.5,3.5,0]},"firstperson_righthand":{"translation":[9.5,6.25,0]},"firstperson_lefthand":{"translation":[0,2.75,0]},"ground":{"translation":[0,5.25,0]},"gui":{"rotation":[35,126,-5],"translation":[0,2.75,0]},"fixed":{"rotation":[180,-90,180],"translation":[-0.5,2.25,0]}}}
|
@ -0,0 +1 @@
|
||||
{"meta":{"format_version":"4.10","model_format":"java_block","box_uv":false},"name":"heavyammo","parent":"","ambientocclusion":true,"front_gui_light":false,"visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"unhandled_root_fields":{},"resolution":{"width":8,"height":8},"elements":[{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7.5,0,7.5],"to":[8.5,4.75,8.5],"autouv":0,"color":4,"origin":[6.5,0,7.5],"faces":{"north":{"uv":[0,0,1,5],"texture":0},"east":{"uv":[1,0,2,5],"texture":0},"south":{"uv":[2,0,3,5],"texture":0},"west":{"uv":[3,0,4,5],"texture":0},"up":{"uv":[5,1,4,0],"texture":0},"down":{"uv":[5,1,4,2],"texture":0}},"type":"cube","uuid":"a7ac3242-5933-1ae5-9b97-aec31485298c"}],"outliner":["a7ac3242-5933-1ae5-9b97-aec31485298c"],"textures":[{"path":"C:\\Users\\5gi\\AppData\\Roaming\\ModrinthApp\\profiles\\Fabulously Optimized\\resourcepacks\\giGuns Pack Java\\assets\\minecraft\\textures\\item\\heavyammo.png","name":"heavyammo.png","folder":"item","namespace":"minecraft","id":"0","group":"","width":16,"height":16,"uv_width":8,"uv_height":8,"particle":true,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","pbr_channel":"color","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"acef8780-5658-f1f7-d39e-f1e86c54c6fd","relative_path":"../assets/minecraft/textures/item/heavyammo.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAEVJREFUOE9j7Onp+c9ABCgpKWHEpoyRYgM+b2IgygW8fgzYXUBzA3DZDAsPRkIuGDWAgYFgGBCRCPEqwZo4SDF01AAGBgCJSiARRsjgsQAAAABJRU5ErkJggg=="}],"display":{"thirdperson_righthand":{"translation":[0,8,0]},"thirdperson_lefthand":{"translation":[0,7.5,0]},"firstperson_righthand":{"translation":[0,7.5,2.25]},"firstperson_lefthand":{"translation":[3.25,6.5,0]},"ground":{"translation":[0,5,0]},"gui":{"translation":[0,13.5,0],"scale":[2.5,2.5,2.5]},"fixed":{"translation":[0,13.5,0],"scale":[2.5,2.5,2.5]}}}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
{"meta":{"format_version":"4.10","model_format":"java_block","box_uv":false},"name":"pistolammo","parent":"","ambientocclusion":true,"front_gui_light":false,"visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"unhandled_root_fields":{},"resolution":{"width":16,"height":16},"elements":[{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7.5,0,7.5],"to":[8.5,2,8.5],"autouv":0,"color":4,"origin":[6.5,0,7.5],"faces":{"north":{"uv":[0,0,1,4],"texture":0},"east":{"uv":[1,0,2,4],"texture":0},"south":{"uv":[2,0,3,4],"texture":0},"west":{"uv":[3,0,4,4],"texture":0},"up":{"uv":[4,6,3,5],"texture":0},"down":{"uv":[6,3,5,4],"texture":0}},"type":"cube","uuid":"33c2a1af-8359-34d7-ad8e-b8d1c92e75df"},{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[5.9,0,7],"to":[6.9,2,8],"autouv":0,"color":4,"origin":[4.9,0,7],"faces":{"north":{"uv":[0,4,1,8],"texture":0},"east":{"uv":[4,0,5,4],"texture":0},"south":{"uv":[1,4,2,8],"texture":0},"west":{"uv":[2,4,3,8],"texture":0},"up":{"uv":[5,6,4,5],"texture":0},"down":{"uv":[6,5,5,6],"texture":0}},"type":"cube","uuid":"73e119ea-c51a-8876-1f62-4fb5cfbbb2ae"}],"outliner":[{"name":"group","origin":[8,8,8],"color":0,"uuid":"08a84bf3-bbb3-0b04-a525-457a95f0e7f8","export":true,"mirror_uv":false,"isOpen":true,"locked":false,"visibility":true,"autouv":0,"selected":false,"children":["33c2a1af-8359-34d7-ad8e-b8d1c92e75df","73e119ea-c51a-8876-1f62-4fb5cfbbb2ae"]}],"textures":[{"path":"C:\\Users\\5gi\\AppData\\Roaming\\ModrinthApp\\profiles\\Fabulously Optimized\\resourcepacks\\giGuns Pack Java\\assets\\minecraft\\textures\\item\\pistolammo.png","name":"pistolammo.png","folder":"item","namespace":"minecraft","id":"0","group":"","width":16,"height":16,"uv_width":16,"uv_height":16,"particle":true,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","pbr_channel":"color","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"a1b80afd-b8b3-328c-530d-65de446a4e5c","relative_path":"../assets/minecraft/textures/item/pistolammo.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAFZJREFUOE9j/L8s9j8DGvjCsxhFhNePgRFdDYzP+HkTA4YB6IoHzgB8NsO9gBwGpPgdaxjwfIkFi4MMIsZ2kFqMQCRWI1YXkKoZ7AJc8Uus+KgBwyIQAfgvHxHPpD86AAAAAElFTkSuQmCC"}],"display":{"thirdperson_righthand":{"translation":[0.75,8.25,0.75]},"thirdperson_lefthand":{"translation":[-0.75,7.75,0]},"firstperson_righthand":{"translation":[0,10.25,3.5]},"firstperson_lefthand":{"translation":[0,9.5,2.5]},"ground":{"translation":[1,6.75,0]},"gui":{"translation":[2.25,21,0],"scale":[3,3,3]},"fixed":{"translation":[2.25,16.75,0],"scale":[2.5,2.5,2.5]}}}
|
@ -0,0 +1 @@
|
||||
{"meta":{"format_version":"4.10","model_format":"java_block","box_uv":false},"name":"rifleammo","parent":"","ambientocclusion":true,"front_gui_light":false,"visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"unhandled_root_fields":{},"resolution":{"width":8,"height":8},"elements":[{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[7.5,0,7.5],"to":[8.5,2.75,8.5],"autouv":0,"color":4,"origin":[6.5,0,7.5],"faces":{"north":{"uv":[3,0,4,3],"texture":0},"east":{"uv":[1,3,2,6],"texture":0},"south":{"uv":[2,3,3,6],"texture":0},"west":{"uv":[3,3,4,6],"texture":0},"up":{"uv":[2,7,1,6],"texture":0},"down":{"uv":[7,1,6,2],"texture":0}},"type":"cube","uuid":"30784087-ed6c-6815-008d-af10525916a2"},{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[6,0,7.8],"to":[7,2.75,8.8],"autouv":0,"color":4,"origin":[5,0,7.8],"faces":{"north":{"uv":[4,0,5,3],"texture":0},"east":{"uv":[4,3,5,6],"texture":0},"south":{"uv":[5,0,6,3],"texture":0},"west":{"uv":[5,3,6,6],"texture":0},"up":{"uv":[3,7,2,6],"texture":0},"down":{"uv":[7,2,6,3],"texture":0}},"type":"cube","uuid":"029d3643-1609-f9ac-a7d9-214253a59330"},{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[9,0,7.2],"to":[10,2.75,8.2],"autouv":0,"color":4,"origin":[8,0,7.2],"faces":{"north":{"uv":[0,0,1,3],"texture":0},"east":{"uv":[1,0,2,3],"texture":0},"south":{"uv":[2,0,3,3],"texture":0},"west":{"uv":[0,3,1,6],"texture":0},"up":{"uv":[1,7,0,6],"texture":0},"down":{"uv":[7,0,6,1],"texture":0}},"type":"cube","uuid":"b5847878-89e6-bea9-9486-3d6bff8c1c70"}],"outliner":[{"name":"group","origin":[5,0,7.8],"color":0,"uuid":"ddb56f5f-bf6d-511d-06c4-a13a64d50118","export":true,"mirror_uv":false,"isOpen":true,"locked":false,"visibility":true,"autouv":0,"selected":false,"children":["b5847878-89e6-bea9-9486-3d6bff8c1c70","30784087-ed6c-6815-008d-af10525916a2","029d3643-1609-f9ac-a7d9-214253a59330"]}],"textures":[{"path":"C:\\Users\\5gi\\AppData\\Roaming\\ModrinthApp\\profiles\\Fabulously Optimized\\resourcepacks\\giGuns Pack Java\\assets\\minecraft\\textures\\item\\rifleammo.png","name":"rifleammo.png","folder":"item","namespace":"minecraft","id":"0","group":"","width":16,"height":16,"uv_width":8,"uv_height":8,"particle":true,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","pbr_channel":"color","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"430aac0c-42cc-794e-6f99-4b0fae7f1ff3","relative_path":"../assets/minecraft/textures/item/rifleammo.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAGJJREFUOE9j/L8s9j8DCeALz2Kwal4/BkYQzUixAZ83MZDkAphj4S4YBgaQGoiMUYvBoQ8DjKAw4PkSS3REYjWAaN1I8Y/igiFuAK5YQA8sXN7EmReINoCUAMSmFiVRkGMYALYJMxFaW8NnAAAAAElFTkSuQmCC"}],"display":{"thirdperson_righthand":{"translation":[0,7.75,0]},"thirdperson_lefthand":{"translation":[0,8,0]},"firstperson_righthand":{"translation":[0,9.75,2.75]},"firstperson_lefthand":{"translation":[0,9,1.25]},"ground":{"translation":[0,5.5,0]},"gui":{"translation":[0,16,0],"scale":[2.5,2.5,2.5]},"fixed":{"translation":[0,19.75,0],"scale":[3,3,3]}}}
|
BIN
src/main/resources/TexturePack/giGuns.zip
Normal file
BIN
src/main/resources/TexturePack/giGuns.zip
Normal file
Binary file not shown.
@ -5,3 +5,5 @@ api-version: '1.21'
|
||||
commands:
|
||||
getgun:
|
||||
description: gun
|
||||
getammo:
|
||||
description: ammo
|
Loading…
x
Reference in New Issue
Block a user