Spiffy Blockzapper

- Reworked animated models for the Handheld Blockzapper
- Fixed beam render on non-default FOV settings
This commit is contained in:
simibubi 2019-10-21 23:45:16 +02:00
parent 19abe37653
commit baba95e0eb
34 changed files with 610 additions and 981 deletions

View file

@ -20,7 +20,7 @@ archivesBaseName = 'create'
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
minecraft { minecraft {
mappings channel: 'snapshot', version: '20191012-1.14.3' mappings channel: 'snapshot', version: '20191021-1.14.3'
runs { runs {
client { client {
@ -71,12 +71,12 @@ repositories {
} }
dependencies { dependencies {
minecraft 'net.minecraftforge:forge:1.14.4-28.1.45' minecraft 'net.minecraftforge:forge:1.14.4-28.1.61'
// compile against the JEI API but do not include it at runtime // compile against the JEI API but do not include it at runtime
compileOnly fg.deobf("mezz.jei:jei-1.14.4:6.0.0.18:api") compileOnly fg.deobf("mezz.jei:jei-1.14.4:6.0.0.18:api")
// at runtime, use the full JEI jar // at runtime, use the full JEI jar
//runtimeOnly fg.deobf("mezz.jei:jei-1.14.4:6.0.0.18") runtimeOnly fg.deobf("mezz.jei:jei-1.14.4:6.0.0.10")
} }
jar { jar {

View file

@ -28,7 +28,7 @@ public class Create {
public static final String ID = "create"; public static final String ID = "create";
public static final String NAME = "Create"; public static final String NAME = "Create";
public static final String VERSION = "0.1.1"; public static final String VERSION = "0.1.1a";
public static Logger logger = LogManager.getLogger(); public static Logger logger = LogManager.getLogger();
public static ItemGroup creativeTab = new CreateItemGroup(); public static ItemGroup creativeTab = new CreateItemGroup();

View file

@ -24,6 +24,8 @@ import net.minecraft.util.ResourceLocation;
import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn; import net.minecraftforge.api.distmarker.OnlyIn;
import net.minecraftforge.client.event.ModelBakeEvent; import net.minecraftforge.client.event.ModelBakeEvent;
import net.minecraftforge.client.event.ModelRegistryEvent;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.DistExecutor; import net.minecraftforge.fml.DistExecutor;
import net.minecraftforge.fml.config.ModConfig; import net.minecraftforge.fml.config.ModConfig;
@ -44,9 +46,10 @@ public class CreateClient {
modEventBus.addListener(CreateClient::clientInit); modEventBus.addListener(CreateClient::clientInit);
modEventBus.addListener(CreateClient::createConfigs); modEventBus.addListener(CreateClient::createConfigs);
modEventBus.addListener(CreateClient::onModelBake); modEventBus.addListener(CreateClient::onModelBake);
modEventBus.addListener(CreateClient::onModelRegistry);
}); });
} }
public static void clientInit(FMLClientSetupEvent event) { public static void clientInit(FMLClientSetupEvent event) {
schematicSender = new ClientSchematicLoader(); schematicSender = new ClientSchematicLoader();
schematicHandler = new SchematicHandler(); schematicHandler = new SchematicHandler();
@ -97,7 +100,14 @@ public class CreateClient {
BlockModelShapes.getPropertyMapString(AllBlocks.WINDOW_IN_A_BLOCK.get().getDefaultState() BlockModelShapes.getPropertyMapString(AllBlocks.WINDOW_IN_A_BLOCK.get().getDefaultState()
.with(BlockStateProperties.WATERLOGGED, true).getValues())), .with(BlockStateProperties.WATERLOGGED, true).getValues())),
WindowInABlockModel::new); WindowInABlockModel::new);
}
@OnlyIn(Dist.CLIENT)
public static void onModelRegistry(ModelRegistryEvent event) {
for (String location : SymmetryWandModel.getCustomModelLocations())
ModelLoader.addSpecialModel(new ResourceLocation(Create.ID, "item/" + location));
for (String location : BuilderGunModel.getCustomModelLocations())
ModelLoader.addSpecialModel(new ResourceLocation(Create.ID, "item/" + location));
} }
protected static ModelResourceLocation getItemModelLocation(AllItems item) { protected static ModelResourceLocation getItemModelLocation(AllItems item) {
@ -114,6 +124,4 @@ public class CreateClient {
modelRegistry.put(location, factory.apply(modelRegistry.get(location))); modelRegistry.put(location, factory.apply(modelRegistry.get(location)));
} }
} }

View file

@ -15,7 +15,7 @@ public final class CreateItemGroup extends ItemGroup {
@Override @Override
public ItemStack createIcon() { public ItemStack createIcon() {
return new ItemStack(AllItems.SYMMETRY_WAND.get()); return new ItemStack(AllBlocks.COGWHEEL.get());
} }
@Override @Override

View file

@ -46,11 +46,11 @@ import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
@EventBusSubscriber(value = Dist.CLIENT) @EventBusSubscriber(value = Dist.CLIENT)
public class BuilderGunHandler { public class BuilderGunHandler {
private static List<LaserBeam> cachedBeams; public static List<LaserBeam> cachedBeams;
private static float leftHandAnimation; public static float leftHandAnimation;
private static float rightHandAnimation; public static float rightHandAnimation;
private static float lastLeftHandAnimation; public static float lastLeftHandAnimation;
private static float lastRightHandAnimation; public static float lastRightHandAnimation;
private static boolean dontReequipLeft; private static boolean dontReequipLeft;
private static boolean dontReequipRight; private static boolean dontReequipRight;
@ -86,8 +86,9 @@ public class BuilderGunHandler {
ClientPlayerEntity player = Minecraft.getInstance().player; ClientPlayerEntity player = Minecraft.getInstance().player;
float yaw = (float) ((player.getYaw(partialTicks)) / -180 * Math.PI); float yaw = (float) ((player.getYaw(partialTicks)) / -180 * Math.PI);
float pitch = (float) ((player.getPitch(partialTicks)) / -180 * Math.PI); float pitch = (float) ((player.getPitch(partialTicks)) / -180 * Math.PI);
Vec3d barrelPosNoTransform = new Vec3d(mainHand == (player.getPrimaryHand() == HandSide.RIGHT) ? -.35f : .35f, boolean rightHand = mainHand == (player.getPrimaryHand() == HandSide.RIGHT);
-0.1f, 1); float zOffset = ((float) Minecraft.getInstance().gameSettings.fov - 70) / -100;
Vec3d barrelPosNoTransform = new Vec3d(rightHand ? -.35f : .35f, -0.115f, .75f + zOffset);
Vec3d barrelPos = player.getEyePosition(partialTicks) Vec3d barrelPos = player.getEyePosition(partialTicks)
.add(barrelPosNoTransform.rotatePitch(pitch).rotateYaw(yaw)); .add(barrelPosNoTransform.rotatePitch(pitch).rotateYaw(yaw));
return barrelPos; return barrelPos;

View file

@ -1,5 +1,11 @@
package com.simibubi.create.modules.curiosities.placementHandgun; package com.simibubi.create.modules.curiosities.placementHandgun;
import static com.simibubi.create.modules.curiosities.placementHandgun.BuilderGunItem.Components.Accelerator;
import static com.simibubi.create.modules.curiosities.placementHandgun.BuilderGunItem.Components.Amplifier;
import static com.simibubi.create.modules.curiosities.placementHandgun.BuilderGunItem.Components.Body;
import static com.simibubi.create.modules.curiosities.placementHandgun.BuilderGunItem.Components.Retriever;
import static com.simibubi.create.modules.curiosities.placementHandgun.BuilderGunItem.Components.Scope;
import com.mojang.blaze3d.platform.GLX; import com.mojang.blaze3d.platform.GLX;
import com.mojang.blaze3d.platform.GlStateManager; import com.mojang.blaze3d.platform.GlStateManager;
import com.simibubi.create.modules.curiosities.placementHandgun.BuilderGunItem.ComponentTier; import com.simibubi.create.modules.curiosities.placementHandgun.BuilderGunItem.ComponentTier;
@ -7,10 +13,13 @@ import com.simibubi.create.modules.curiosities.placementHandgun.BuilderGunItem.C
import net.minecraft.block.BlockState; import net.minecraft.block.BlockState;
import net.minecraft.client.Minecraft; import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.player.ClientPlayerEntity;
import net.minecraft.client.renderer.ItemRenderer; import net.minecraft.client.renderer.ItemRenderer;
import net.minecraft.client.renderer.model.IBakedModel;
import net.minecraft.client.renderer.tileentity.ItemStackTileEntityRenderer; import net.minecraft.client.renderer.tileentity.ItemStackTileEntityRenderer;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTUtil; import net.minecraft.nbt.NBTUtil;
import net.minecraft.util.HandSide;
import net.minecraft.util.math.MathHelper; import net.minecraft.util.math.MathHelper;
import net.minecraftforge.client.model.animation.Animation; import net.minecraftforge.client.model.animation.Animation;
@ -20,85 +29,86 @@ public class BuilderGunItemRenderer extends ItemStackTileEntityRenderer {
public void renderByItem(ItemStack stack) { public void renderByItem(ItemStack stack) {
ItemRenderer itemRenderer = Minecraft.getInstance().getItemRenderer(); ItemRenderer itemRenderer = Minecraft.getInstance().getItemRenderer();
BuilderGunModel mainModel = (BuilderGunModel) itemRenderer.getModelWithOverrides(stack); BuilderGunModel mainModel = (BuilderGunModel) itemRenderer.getModelWithOverrides(stack);
float worldTime = Animation.getWorldTime(Minecraft.getInstance().world, float pt = Minecraft.getInstance().getRenderPartialTicks();
Minecraft.getInstance().getRenderPartialTicks()); float worldTime = Animation.getWorldTime(Minecraft.getInstance().world, pt);
GlStateManager.pushMatrix(); GlStateManager.pushMatrix();
GlStateManager.translatef(0.5F, 0.5F, 0.5F); GlStateManager.translatef(0.5F, 0.5F, 0.5F);
float lastCoordx = GLX.lastBrightnessX; float lastCoordx = GLX.lastBrightnessX;
float lastCoordy = GLX.lastBrightnessY; float lastCoordy = GLX.lastBrightnessY;
GLX.glMultiTexCoord2f(GLX.GL_TEXTURE1, Math.min(lastCoordx + 60, 240), Math.min(lastCoordy + 120, 240)); GLX.glMultiTexCoord2f(GLX.GL_TEXTURE1, Math.min(lastCoordx + 60, 240), Math.min(lastCoordy + 120, 240));
itemRenderer.renderItem(stack, mainModel.getBakedModel()); itemRenderer.renderItem(stack, mainModel.getBakedModel());
renderComponent(stack, Body, itemRenderer, mainModel.body, mainModel.goldBody, mainModel.chorusBody);
if (BuilderGunItem.getTier(Components.Body, stack) == ComponentTier.None) renderComponent(stack, Amplifier, itemRenderer, null, mainModel.goldAmp, mainModel.chorusAmp);
itemRenderer.renderItem(stack, mainModel.body); renderComponent(stack, Retriever, itemRenderer, null, mainModel.goldRetriever, mainModel.chorusRetriever);
if (BuilderGunItem.getTier(Components.Body, stack) == ComponentTier.ChorusChrome) renderComponent(stack, Scope, itemRenderer, null, mainModel.goldScope, mainModel.chorusScope);
itemRenderer.renderItem(stack, mainModel.chorusBody);
if (BuilderGunItem.getTier(Components.Scope, stack) == ComponentTier.BlazeBrass)
itemRenderer.renderItem(stack, mainModel.goldScope);
if (BuilderGunItem.getTier(Components.Scope, stack) == ComponentTier.ChorusChrome)
itemRenderer.renderItem(stack, mainModel.chorusScope);
if (BuilderGunItem.getTier(Components.Amplifier, stack) == ComponentTier.BlazeBrass)
itemRenderer.renderItem(stack, mainModel.goldAmp);
if (BuilderGunItem.getTier(Components.Amplifier, stack) == ComponentTier.ChorusChrome)
itemRenderer.renderItem(stack, mainModel.chorusAmp);
if (BuilderGunItem.getTier(Components.Retriever, stack) == ComponentTier.BlazeBrass)
itemRenderer.renderItem(stack, mainModel.goldRetriever);
if (BuilderGunItem.getTier(Components.Retriever, stack) == ComponentTier.ChorusChrome)
itemRenderer.renderItem(stack, mainModel.chorusRetriever);
if (BuilderGunItem.getTier(Components.Accelerator, stack) == ComponentTier.BlazeBrass)
itemRenderer.renderItem(stack, mainModel.goldAcc);
if (BuilderGunItem.getTier(Components.Accelerator, stack) == ComponentTier.ChorusChrome)
itemRenderer.renderItem(stack, mainModel.chorusAcc);
if (mainModel.showBlock && stack.hasTag() && stack.getTag().contains("BlockUsed")) { // Block indicator
BlockState state = NBTUtil.readBlockState(stack.getTag().getCompound("BlockUsed")); if (mainModel.showBlock && stack.hasTag() && stack.getTag().contains("BlockUsed"))
renderBlockUsed(stack, itemRenderer);
GlStateManager.pushMatrix();
GlStateManager.translatef(-0.8F, -0.7F, -0.5F); ClientPlayerEntity player = Minecraft.getInstance().player;
GlStateManager.scalef(0.25F, 0.25F, 0.25F); boolean leftHanded = player.getPrimaryHand() == HandSide.LEFT;
itemRenderer.renderItem(new ItemStack(state.getBlock()), boolean mainHand = player.getHeldItemMainhand() == stack;
Minecraft.getInstance().getBlockRendererDispatcher().getModelForState(state)); boolean offHand = player.getHeldItemOffhand() == stack;
GlStateManager.popMatrix(); float last = mainHand ^ leftHanded ? BuilderGunHandler.lastRightHandAnimation
} : BuilderGunHandler.lastLeftHandAnimation;
float current = mainHand ^ leftHanded ? BuilderGunHandler.rightHandAnimation
: BuilderGunHandler.leftHandAnimation;
float animation = MathHelper.clamp(MathHelper.lerp(pt, last, current) * 5, 0, 1);
// Core glows
GlStateManager.disableLighting(); GlStateManager.disableLighting();
float multiplier = MathHelper.sin(worldTime * 5);
GLX.glMultiTexCoord2f(GLX.GL_TEXTURE1, MathHelper.sin(worldTime * 5) * 120 + 120, 120); if (mainHand || offHand) {
if (BuilderGunItem.getTier(Components.Accelerator, stack) == ComponentTier.BlazeBrass) multiplier = animation;
itemRenderer.renderItem(stack, mainModel.goldAccCore); }
if (BuilderGunItem.getTier(Components.Accelerator, stack) == ComponentTier.ChorusChrome) GLX.glMultiTexCoord2f(GLX.GL_TEXTURE1, multiplier * 240, 120);
itemRenderer.renderItem(stack, mainModel.chorusAccCore); itemRenderer.renderItem(stack, mainModel.core);
if (BuilderGunItem.getTier(Amplifier, stack) != ComponentTier.None)
GLX.glMultiTexCoord2f(GLX.GL_TEXTURE1, 240, 120); itemRenderer.renderItem(stack, mainModel.ampCore);
if (BuilderGunItem.getTier(Components.Body, stack) == ComponentTier.BlazeBrass) GLX.glMultiTexCoord2f(GLX.GL_TEXTURE1, lastCoordx, lastCoordy);
itemRenderer.renderItem(stack, mainModel.goldBody); GlStateManager.enableLighting();
GLX.glMultiTexCoord2f(GLX.GL_TEXTURE1, 240, 240); // Accelerator spins
if (BuilderGunItem.getTier(Components.Amplifier, stack) == ComponentTier.BlazeBrass) float angle = worldTime * -25;
itemRenderer.renderItem(stack, mainModel.goldAmpCore); if (mainHand || offHand)
if (BuilderGunItem.getTier(Components.Amplifier, stack) == ComponentTier.ChorusChrome) angle += 360 * animation;
itemRenderer.renderItem(stack, mainModel.chorusAmpCore);
float angle = worldTime * -50;
angle %= 360; angle %= 360;
float offset = -.155f;
float offset = -.19f;
GlStateManager.translatef(0, offset, 0); GlStateManager.translatef(0, offset, 0);
GlStateManager.rotatef(angle, 0, 0, 1); GlStateManager.rotatef(angle, 0, 0, 1);
GlStateManager.translatef(0, -offset, 0); GlStateManager.translatef(0, -offset, 0);
itemRenderer.renderItem(stack, mainModel.rod); renderComponent(stack, Accelerator, itemRenderer, mainModel.acc, mainModel.goldAcc, mainModel.chorusAcc);
GLX.glMultiTexCoord2f(GLX.GL_TEXTURE1, lastCoordx, lastCoordy);
GlStateManager.enableLighting();
GlStateManager.popMatrix(); GlStateManager.popMatrix();
} }
public void renderBlockUsed(ItemStack stack, ItemRenderer itemRenderer) {
BlockState state = NBTUtil.readBlockState(stack.getTag().getCompound("BlockUsed"));
GlStateManager.pushMatrix();
GlStateManager.translatef(-0.8F, -0.7F, -0.5F);
GlStateManager.scalef(0.25F, 0.25F, 0.25F);
itemRenderer.renderItem(new ItemStack(state.getBlock()),
Minecraft.getInstance().getBlockRendererDispatcher().getModelForState(state));
GlStateManager.popMatrix();
}
public void renderComponent(ItemStack stack, Components component, ItemRenderer itemRenderer, IBakedModel none,
IBakedModel gold, IBakedModel chorus) {
ComponentTier tier = BuilderGunItem.getTier(component, stack);
IBakedModel model = tier == ComponentTier.ChorusChrome ? chorus : gold;
if (tier == ComponentTier.None) {
if (none == null)
return;
model = none;
}
itemRenderer.renderItem(stack, model);
}
} }

View file

@ -1,5 +1,8 @@
package com.simibubi.create.modules.curiosities.placementHandgun; package com.simibubi.create.modules.curiosities.placementHandgun;
import java.util.Arrays;
import java.util.List;
import javax.vecmath.Matrix4f; import javax.vecmath.Matrix4f;
import org.apache.commons.lang3.tuple.Pair; import org.apache.commons.lang3.tuple.Pair;
@ -13,30 +16,36 @@ import net.minecraftforge.client.event.ModelBakeEvent;
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
public class BuilderGunModel extends CustomRenderItemBakedModel { public class BuilderGunModel extends CustomRenderItemBakedModel {
public IBakedModel rod;
public IBakedModel body;
public boolean showBlock; public boolean showBlock;
public IBakedModel core;
public IBakedModel body;
public IBakedModel ampCore;
public IBakedModel acc;
public IBakedModel goldBody; public IBakedModel goldBody;
public IBakedModel goldScope; public IBakedModel goldScope;
public IBakedModel goldAmp; public IBakedModel goldAmp;
public IBakedModel goldAmpCore;
public IBakedModel goldRetriever; public IBakedModel goldRetriever;
public IBakedModel goldAcc; public IBakedModel goldAcc;
public IBakedModel goldAccCore;
public IBakedModel chorusBody; public IBakedModel chorusBody;
public IBakedModel chorusScope; public IBakedModel chorusScope;
public IBakedModel chorusAmp; public IBakedModel chorusAmp;
public IBakedModel chorusAmpCore;
public IBakedModel chorusRetriever; public IBakedModel chorusRetriever;
public IBakedModel chorusAcc; public IBakedModel chorusAcc;
public IBakedModel chorusAccCore;
public BuilderGunModel(IBakedModel template) { public BuilderGunModel(IBakedModel template) {
super(template); super(template);
} }
public static List<String> getCustomModelLocations() {
String p = "placement_handgun/";
return Arrays.asList(p + "core", p + "body", p + "amplifier_core", p + "accelerator", p + "gold_body",
p + "gold_scope", p + "gold_amplifier", p + "gold_retriever", p + "gold_accelerator", p + "chorus_body",
p + "chorus_amplifier", p + "chorus_retriever", p + "chorus_accelerator");
}
@Override @Override
public Pair<? extends IBakedModel, Matrix4f> handlePerspective(TransformType cameraTransformType) { public Pair<? extends IBakedModel, Matrix4f> handlePerspective(TransformType cameraTransformType) {
showBlock = cameraTransformType == TransformType.GUI; showBlock = cameraTransformType == TransformType.GUI;
@ -46,26 +55,24 @@ public class BuilderGunModel extends CustomRenderItemBakedModel {
@Override @Override
public CustomRenderItemBakedModel loadPartials(ModelBakeEvent event) { public CustomRenderItemBakedModel loadPartials(ModelBakeEvent event) {
String p = "placement_handgun/"; String p = "placement_handgun/";
this.rod = loadCustomModel(event, p + "core"); this.core = loadCustomModel(event, p + "core");
this.body = loadCustomModel(event, p + "body"); this.body = loadCustomModel(event, p + "body");
this.ampCore = loadCustomModel(event, p + "amplifier_core");
this.acc = loadCustomModel(event, p + "accelerator");
this.goldBody = loadCustomModel(event, p + "gold_body"); this.goldBody = loadCustomModel(event, p + "gold_body");
this.goldScope = loadCustomModel(event, p + "gold_scope"); this.goldScope = loadCustomModel(event, p + "gold_scope");
this.goldAmp = loadCustomModel(event, p + "gold_amplifier"); this.goldAmp = loadCustomModel(event, p + "gold_amplifier");
this.goldAmpCore = loadCustomModel(event, p + "gold_amplifier_core");
this.goldRetriever = loadCustomModel(event, p + "gold_retriever"); this.goldRetriever = loadCustomModel(event, p + "gold_retriever");
this.goldAcc = loadCustomModel(event, p + "gold_accelerator"); this.goldAcc = loadCustomModel(event, p + "gold_accelerator");
this.goldAccCore = loadCustomModel(event, p + "gold_accelerator_core");
this.chorusBody = loadCustomModel(event, p + "chorus_body"); this.chorusBody = loadCustomModel(event, p + "chorus_body");
this.chorusScope = loadCustomModel(event, p + "chorus_scope"); this.chorusScope = loadCustomModel(event, p + "chorus_scope");
this.chorusAmp = loadCustomModel(event, p + "chorus_amplifier"); this.chorusAmp = loadCustomModel(event, p + "chorus_amplifier");
this.chorusAmpCore = loadCustomModel(event, p + "chorus_amplifier_core");
this.chorusRetriever = loadCustomModel(event, p + "chorus_retriever"); this.chorusRetriever = loadCustomModel(event, p + "chorus_retriever");
this.chorusAcc = loadCustomModel(event, p + "chorus_accelerator"); this.chorusAcc = loadCustomModel(event, p + "chorus_accelerator");
this.chorusAccCore = loadCustomModel(event, p + "chorus_accelerator_core");
return this; return this;
} }

View file

@ -31,6 +31,7 @@ import net.minecraft.item.ItemStack;
import net.minecraft.nbt.CompoundNBT; import net.minecraft.nbt.CompoundNBT;
import net.minecraft.nbt.NBTUtil; import net.minecraft.nbt.NBTUtil;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.util.text.TextFormatting;
import net.minecraftforge.client.model.data.EmptyModelData; import net.minecraftforge.client.model.data.EmptyModelData;
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
@ -42,6 +43,7 @@ public class BuilderGunScreen extends AbstractSimiScreen {
private final String title = Lang.translate("gui.blockzapper.title"); private final String title = Lang.translate("gui.blockzapper.title");
private final String patternSection = Lang.translate("gui.blockzapper.patternSection"); private final String patternSection = Lang.translate("gui.blockzapper.patternSection");
private final String needsUpgradedAmplifier = Lang.translate("gui.blockzapper.needsUpgradedAmplifier");
private IconButton replaceModeButton; private IconButton replaceModeButton;
private Indicator replaceModeIndicator; private Indicator replaceModeIndicator;
@ -96,6 +98,8 @@ public class BuilderGunScreen extends AbstractSimiScreen {
if (nbt.contains("SearchDistance")) if (nbt.contains("SearchDistance"))
spreadRangeInput.setState(nbt.getInt("SearchDistance")); spreadRangeInput.setState(nbt.getInt("SearchDistance"));
if (BuilderGunItem.getMaxAoe(item) == 2)
spreadRangeInput.getToolTip().add(1, TextFormatting.RED + needsUpgradedAmplifier);
Collections.addAll(widgets, replaceModeButton, replaceModeIndicator, spreadDiagonallyButton, Collections.addAll(widgets, replaceModeButton, replaceModeIndicator, spreadDiagonallyButton,
spreadDiagonallyIndicator, spreadMaterialButton, spreadMaterialIndicator, spreadRangeLabel, spreadDiagonallyIndicator, spreadMaterialButton, spreadMaterialIndicator, spreadRangeLabel,

View file

@ -1,5 +1,8 @@
package com.simibubi.create.modules.curiosities.symmetry.client; package com.simibubi.create.modules.curiosities.symmetry.client;
import java.util.Arrays;
import java.util.List;
import com.simibubi.create.foundation.block.CustomRenderItemBakedModel; import com.simibubi.create.foundation.block.CustomRenderItemBakedModel;
import net.minecraft.client.renderer.model.IBakedModel; import net.minecraft.client.renderer.model.IBakedModel;
@ -14,6 +17,10 @@ public class SymmetryWandModel extends CustomRenderItemBakedModel {
super(template); super(template);
} }
public static List<String> getCustomModelLocations() {
return Arrays.asList("symmetry_wand_core", "symmetry_wand_bits");
}
@Override @Override
public CustomRenderItemBakedModel loadPartials(ModelBakeEvent event) { public CustomRenderItemBakedModel loadPartials(ModelBakeEvent event) {
this.core = loadCustomModel(event, "symmetry_wand_core"); this.core = loadCustomModel(event, "symmetry_wand_core");

View file

@ -4,7 +4,7 @@ loaderVersion="[28,)"
[[mods]] [[mods]]
modId="create" modId="create"
version="0.1.1" version="0.1.1a"
displayName="Create" displayName="Create"
#updateJSONURL="" #updateJSONURL=""
authors="simibubi" authors="simibubi"

View file

@ -201,6 +201,7 @@
"create.gui.blockzapper.searchDiagonal": "Follow Diagonals", "create.gui.blockzapper.searchDiagonal": "Follow Diagonals",
"create.gui.blockzapper.searchFuzzy": "Ignore Material Borders", "create.gui.blockzapper.searchFuzzy": "Ignore Material Borders",
"create.gui.blockzapper.range": "Spread Range", "create.gui.blockzapper.range": "Spread Range",
"create.gui.blockzapper.needsUpgradedAmplifier": "Requires Upgraded Amplifier",
"create.gui.blockzapper.patternSection": "Patterns", "create.gui.blockzapper.patternSection": "Patterns",
"create.gui.blockzapper.pattern.solid": "Solid", "create.gui.blockzapper.pattern.solid": "Solid",
"create.gui.blockzapper.pattern.checkered": "Checkerboard", "create.gui.blockzapper.pattern.checkered": "Checkerboard",

View file

@ -29,66 +29,37 @@
} }
}, },
"textures": { "textures": {
"0": "block/anvil", "smooth_stone_slab_side": "block/smooth_stone_slab_side",
"1": "block/gray_concrete_powder", "4": "minecraft:block/obsidian",
"2": "block/white_concrete_powder", "particle": "block/obsidian"
"3": "block/white_stained_glass",
"4": "block/obsidian"
}, },
"elements": [ "elements": [
{ {
"name": "Grip", "name": "Grip",
"from": [ 7.0, 1.0, 12.0 ], "from": [ 7.1, 1, 12 ],
"to": [ 9.0, 5.0, 15.0 ], "to": [ 8.9, 5, 15 ],
"rotation": { "origin": [ 8.0, 2.0, 14.0 ], "axis": "x", "angle": -22.5 }, "rotation": { "origin": [ 8, 2, 14 ], "axis": "x", "angle": -22.5 },
"faces": { "faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 4.0 ] }, "north": { "texture": "#smooth_stone_slab_side", "uv": [ 5, 7, 6.8, 11 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 4.0 ] }, "east": { "texture": "#smooth_stone_slab_side", "uv": [ 13, 7, 16, 11 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 4.0 ] }, "south": { "texture": "#smooth_stone_slab_side", "uv": [ 7, 7, 8.8, 11 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 4.0 ] }, "west": { "texture": "#smooth_stone_slab_side", "uv": [ 16, 7, 13, 11 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 3.0 ] }, "up": { "texture": "#smooth_stone_slab_side", "uv": [ 5, 2, 6.8, 5 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 3.0 ] } "down": { "texture": "#smooth_stone_slab_side", "uv": [ 7, 11, 8.8, 14 ] }
}
},
{
"name": "Connector",
"from": [ 6.499999992549419, 4.0, 7.300000004470348 ],
"to": [ 9.49999999254942, 5.0, 14.300000004470348 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 7.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 7.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 7.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 7.0 ] }
} }
}, },
{ {
"name": "Trigger", "name": "Trigger",
"from": [ 7.499999992549419, 3.0, 11.0 ], "from": [ 7.5, 3, 11 ],
"to": [ 8.49999999254942, 6.0, 13.0 ], "to": [ 8.5, 6, 13 ],
"rotation": { "origin": [ 8.0, 2.0, 14.0 ], "axis": "x", "angle": -22.5 }, "rotation": { "origin": [ 8, 2, 14 ], "axis": "x", "angle": -22.5 },
"faces": { "faces": {
"north": { "texture": "#4", "uv": [ 0.0, 0.0, 1.0, 3.0 ] }, "north": { "texture": "#4", "uv": [ 6, 4, 7, 7 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 3.0 ] }, "east": { "texture": "#4", "uv": [ 6, 4, 8, 7 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 1.0, 3.0 ] }, "south": { "texture": "#4", "uv": [ 6, 4, 7, 7 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 3.0 ] }, "west": { "texture": "#4", "uv": [ 5, 4, 7, 7 ] },
"up": { "texture": "#4", "uv": [ 0.0, 0.0, 1.0, 2.0 ] }, "up": { "texture": "#4", "uv": [ 6, 6, 7, 8 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 1.0, 2.0 ] } "down": { "texture": "#4", "uv": [ 5, 6, 6, 8 ] }
}
},
{
"name": "Rod Back Cap",
"from": [ 6.799999997019768, 3.800000011920929, 14.0 ],
"to": [ 9.200000002980232, 6.200000017881393, 15.0 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 2.4000000059604645 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 2.4000000059604645 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 2.4000000059604645, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 2.4000000059604645, 1.0 ] }
} }
} }
] ]

View file

@ -0,0 +1,63 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun",
"textures": {
"cog": "minecraft:block/stripped_spruce_log"
},
"elements": [
{
"name": "Cog",
"from": [ 7.5, 3, 12 ],
"to": [ 8.5, 8, 14 ],
"faces": {
"north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"east": { "texture": "#cog", "uv": [ 5, 3, 7, 8 ] },
"south": { "texture": "#cog", "uv": [ 4, 4, 5, 9 ] },
"west": { "texture": "#cog", "uv": [ 4, 6, 6, 11 ] },
"up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
}
},
{
"name": "Cog",
"from": [ 7.5, 3, 12 ],
"to": [ 8.5, 8, 14 ],
"rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"east": { "texture": "#cog", "uv": [ 5, 3, 7, 8 ] },
"south": { "texture": "#cog", "uv": [ 4, 4, 5, 9 ] },
"west": { "texture": "#cog", "uv": [ 4, 6, 6, 11 ] },
"up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
}
},
{
"name": "Cog",
"from": [ 7.5, 3, 12 ],
"to": [ 8.5, 8, 14 ],
"rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"east": { "texture": "#cog", "uv": [ 5, 3, 7, 8 ] },
"south": { "texture": "#cog", "uv": [ 4, 4, 5, 9 ] },
"west": { "texture": "#cog", "uv": [ 4, 6, 6, 11 ] },
"up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
}
},
{
"name": "Cog",
"from": [ 5.5, 5, 12 ],
"to": [ 10.5, 6, 14 ],
"faces": {
"north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"east": { "texture": "#cog", "uv": [ 5, 3, 7, 4 ] },
"south": { "texture": "#cog", "uv": [ 4, 4, 9, 5 ] },
"west": { "texture": "#cog", "uv": [ 4, 6, 6, 7 ] },
"up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
}
}
]
}

View file

@ -0,0 +1,33 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun",
"textures": {
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass"
},
"elements": [
{
"name": "Amplifier Core",
"from": [ 7.3, 3, 3.7 ],
"to": [ 8.7, 4, 7.7 ],
"faces": {
"north": { "texture": "#2", "uv": [ 6, 5, 7, 6 ] },
"east": { "texture": "#2", "uv": [ 3, 5, 7, 6 ] },
"west": { "texture": "#2", "uv": [ 3, 7, 7, 8 ] }
}
},
{
"name": "Amplifier Core Glow",
"from": [ 7.1, 2.6, 3.5 ],
"to": [ 8.9, 4.4, 7.4 ],
"faces": {
"north": { "texture": "#3", "uv": [ 6, 7, 7.8, 8.8 ] },
"east": { "texture": "#3", "uv": [ 3, 7, 6.9, 8.8 ] },
"south": { "texture": "#3", "uv": [ 5, 7, 6.8, 8.8 ] },
"west": { "texture": "#3", "uv": [ 4, 7, 7.9, 8.8 ] },
"up": { "texture": "#3", "uv": [ 7, 3, 8.8, 6.9 ] },
"down": { "texture": "#3", "uv": [ 7, 4, 8.8, 7.9 ] }
}
}
]
}

View file

@ -3,25 +3,61 @@
"ambientocclusion": true, "ambientocclusion": true,
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"0": "block/anvil", "0": "create:block/andesite_alloy_mesh"
"1": "block/gray_concrete_powder",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian"
}, },
"elements": [ "elements": [
{ {
"name": "Rod Back", "name": "Connector",
"from": [ 7.0, 4.000000014901161, 7.0 ], "from": [ 7, 4, 2 ],
"to": [ 9.0, 6.000000014901161, 14.0 ], "to": [ 9, 5, 12 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 },
"faces": { "faces": {
"north": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 2.0 ] }, "north": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"east": { "texture": "#1", "uv": [ 0.0, 0.0, 7.0, 2.0 ] }, "east": { "texture": "#0", "uv": [ 0, 0, 10, 1 ] },
"south": { "texture": "#1", "uv": [ 6.0, 7.0, 8.0, 9.0 ] }, "south": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"west": { "texture": "#1", "uv": [ 4.0, 3.0, 11.0, 5.0 ] }, "west": { "texture": "#0", "uv": [ 0, 0, 10, 1 ] },
"up": { "texture": "#1", "uv": [ 6.0, 5.0, 8.0, 12.0 ] }, "up": { "texture": "#0", "uv": [ 0, 0, 2, 10 ] },
"down": { "texture": "#1", "uv": [ 8.0, 6.0, 10.0, 13.0 ] } "down": { "texture": "#0", "uv": [ 0, 0, 2, 10 ] }
}
},
{
"name": "Rod Back Cap",
"from": [ 7, 4.5, 14 ],
"to": [ 9, 6.5, 15 ],
"rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"east": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"south": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"west": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"up": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"down": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] }
}
},
{
"name": "Connector",
"from": [ 7, 6, 2 ],
"to": [ 9, 7, 12 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"east": { "texture": "#0", "uv": [ 0, 0, 10, 1 ] },
"south": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"west": { "texture": "#0", "uv": [ 0, 0, 10, 1 ] },
"up": { "texture": "#0", "uv": [ 0, 0, 2, 10 ] },
"down": { "texture": "#0", "uv": [ 0, 0, 2, 10 ] }
}
},
{
"name": "Rod Back Cap",
"from": [ 7, 4.5, 11 ],
"to": [ 9, 6.5, 12 ],
"rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"east": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"south": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"west": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"up": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"down": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] }
} }
} }
] ]

View file

@ -2,51 +2,61 @@
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"0": "block/anvil", "cog": "minecraft:block/purpur_block"
"1": "block/gray_concrete_powder",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/purpur_pillar"
}, },
"elements": [ "elements": [
{ {
"name": "Accelerator", "name": "Cog",
"from": [ 6.499999992549419, 5.0, 10.300000004470348 ], "from": [ 7.5, 3, 12 ],
"to": [ 9.49999999254942, 6.0, 15.300000004470348 ], "to": [ 8.5, 8, 14 ],
"faces": { "faces": {
"north": { "texture": "#5", "uv": [ 7.0, 1.0, 10.0, 2.0 ] }, "north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"south": { "texture": "#5", "uv": [ 6.0, 3.0, 9.0, 4.0 ] }, "east": { "texture": "#cog", "uv": [ 5, 3, 7, 8 ] },
"up": { "texture": "#5", "uv": [ 6.0, 10.0, 9.0, 15.0 ] }, "south": { "texture": "#cog", "uv": [ 4, 4, 5, 9 ] },
"down": { "texture": "#5", "uv": [ 7.0, 0.0, 10.0, 5.0 ] } "west": { "texture": "#cog", "uv": [ 4, 6, 6, 11 ] },
"up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
} }
}, },
{ {
"name": "Accelerator Connector", "name": "Cog",
"from": [ 6.4000000059604645, 7.300000004470348, 10.300000004470348 ], "from": [ 7.5, 3, 12 ],
"to": [ 9.600000008940697, 8.699999995529652, 11.699999995529652 ], "to": [ 8.5, 8, 14 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "x", "angle": 45.0 }, "rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": 45.0 },
"faces": { "faces": {
"north": { "texture": "#0", "uv": [ 13.0, 1.0, 15.0, 3.0 ] }, "north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"east": { "texture": "#0", "uv": [ 4.0, 2.0, 5.399999991059303, 3.3999999910593033 ] }, "east": { "texture": "#cog", "uv": [ 5, 3, 7, 8 ] },
"south": { "texture": "#0", "uv": [ 1.0, 6.0, 4.200000002980232, 7.399999991059303 ] }, "south": { "texture": "#cog", "uv": [ 4, 4, 5, 9 ] },
"west": { "texture": "#0", "uv": [ 4.0, 2.0, 5.399999991059303, 3.3999999910593033 ] }, "west": { "texture": "#cog", "uv": [ 4, 6, 6, 11 ] },
"up": { "texture": "#0", "uv": [ 5.0, 6.0, 8.200000002980232, 7.399999991059303 ] }, "up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#0", "uv": [ 4.0, 4.0, 7.200000002980232, 5.399999991059303 ] } "down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
} }
}, },
{ {
"name": "Accelerator Back Cap", "name": "Cog",
"from": [ 7.100000001490116, 4.3000000193715096, 15.0 ], "from": [ 7.5, 3, 12 ],
"to": [ 8.699999995529652, 5.900000013411045, 15.399999991059303 ], "to": [ 8.5, 8, 14 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 }, "rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": -45.0 },
"faces": { "faces": {
"north": { "texture": "#5", "uv": [ 7.0, 7.0, 9.0, 9.0 ] }, "north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"east": { "texture": "#5", "uv": [ 12.0, 4.0, 13.0, 6.4000000059604645 ] }, "east": { "texture": "#cog", "uv": [ 5, 3, 7, 8 ] },
"south": { "texture": "#5", "uv": [ 11.0, 5.0, 13.0, 7.0 ] }, "south": { "texture": "#cog", "uv": [ 4, 4, 5, 9 ] },
"west": { "texture": "#5", "uv": [ 6.0, 2.0, 7.0, 4.4000000059604645 ] }, "west": { "texture": "#cog", "uv": [ 4, 6, 6, 11 ] },
"up": { "texture": "#5", "uv": [ 7.0, 6.0, 9.400000005960464, 7.0 ] }, "up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#5", "uv": [ 9.0, 0.0, 11.400000005960464, 1.0 ] } "down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
}
},
{
"name": "Cog",
"from": [ 5.5, 5, 12 ],
"to": [ 10.5, 6, 14 ],
"faces": {
"north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"east": { "texture": "#cog", "uv": [ 5, 3, 7, 4 ] },
"south": { "texture": "#cog", "uv": [ 4, 4, 9, 5 ] },
"west": { "texture": "#cog", "uv": [ 4, 6, 6, 7 ] },
"up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
} }
} }
] ]

View file

@ -1,23 +0,0 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun",
"textures": {
"0": "block/anvil",
"1": "block/gray_concrete_powder",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/purpur_pillar"
},
"elements": [
{
"name": "Accelerator Core",
"from": [ 6.499999992549419, 5.0, 10.300000004470348 ],
"to": [ 9.49999999254942, 6.0, 15.300000004470348 ],
"faces": {
"east": { "texture": "#2", "uv": [ 4.0, 2.0, 9.0, 3.0 ] },
"west": { "texture": "#2", "uv": [ 7.0, 2.0, 12.0, 3.0 ] }
}
}
]
}

View file

@ -2,69 +2,33 @@
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"0": "block/anvil", "0": "create:block/chorus_chrome_mesh"
"1": "block/gray_concrete_powder",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/purpur_pillar",
"6": "block/redstone_block"
}, },
"elements": [ "elements": [
{ {
"name": "Amplifier", "name": "Amplifier Connector",
"from": [ 10.000000014901161, 4.0, 4.0 ], "from": [ 7, 2, 3 ],
"to": [ 11.000000014901161, 5.0, 10.0 ], "to": [ 9, 3, 8 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": { "faces": {
"north": { "texture": "#5", "uv": [ 1.0, 2.0, 2.0, 3.0 ] }, "north": { "texture": "#0", "uv": [ 1, 3, 3, 4 ] },
"east": { "texture": "#5", "uv": [ 10.0, 0.0, 16.0, 1.0 ] }, "east": { "texture": "#0", "uv": [ 11, 5, 16, 6 ] },
"south": { "texture": "#5", "uv": [ 7.0, 7.0, 8.0, 8.0 ] }, "south": { "texture": "#0", "uv": [ 0, 3, 2, 4 ] },
"west": { "texture": "#5", "uv": [ 0.0, 1.0, 6.0, 2.0 ] }, "west": { "texture": "#0", "uv": [ 0, 5, 5, 6 ] },
"up": { "texture": "#5", "uv": [ 2.0, 0.0, 1.0, 6.0 ] }, "up": { "texture": "#0", "uv": [ 0, 3, 5, 5 ], "rotation": 90 },
"down": { "texture": "#5", "uv": [ 13.0, 10.0, 14.0, 16.0 ] } "down": { "texture": "#0", "uv": [ 0, 3, 5, 5 ], "rotation": 270 }
} }
}, },
{ {
"name": "Amplifier Connector", "name": "Amplifier Connector",
"from": [ 9.800000011920929, 5.0, 8.0 ], "from": [ 7, 3, 7 ],
"to": [ 10.800000011920929, 8.0, 9.0 ], "to": [ 9, 4, 8 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": { "faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 3.0 ] }, "north": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"east": { "texture": "#0", "uv": [ 6.0, 3.0, 7.0, 6.0 ] }, "east": { "texture": "#0", "uv": [ 0, 0, 1, 1 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 3.0 ] }, "south": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"west": { "texture": "#0", "uv": [ 10.0, 2.0, 14.0, 3.0 ] }, "west": { "texture": "#0", "uv": [ 0, 0, 1, 1 ] },
"up": { "texture": "#0", "uv": [ 15.0, 11.0, 14.0, 15.0 ] }, "up": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"down": { "texture": "#0", "uv": [ 10.0, 3.0, 11.0, 4.0 ] } "down": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] }
}
},
{
"name": "Amplifier Connector 2",
"from": [ 7.800000011920929, 7.0, 8.0 ],
"to": [ 9.800000011920929, 8.0, 9.0 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 6.0, 3.0, 7.0, 4.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 10.0, 2.0, 13.0, 3.0 ] },
"up": { "texture": "#0", "uv": [ 7.0, 6.0, 9.0, 7.0 ] },
"down": { "texture": "#0", "uv": [ 10.0, 3.0, 12.0, 4.0 ] }
}
},
{
"name": "Amplifier 2",
"from": [ 5.000000014901161, 3.0, 4.0 ],
"to": [ 6.000000014901161, 4.0, 10.0 ],
"rotation": { "origin": [ 5.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#5", "uv": [ 1.0, 2.0, 2.0, 3.0 ] },
"east": { "texture": "#5", "uv": [ 10.0, 0.0, 16.0, 1.0 ] },
"south": { "texture": "#5", "uv": [ 7.0, 7.0, 8.0, 8.0 ] },
"west": { "texture": "#5", "uv": [ 0.0, 1.0, 6.0, 2.0 ] },
"up": { "texture": "#5", "uv": [ 2.0, 0.0, 1.0, 6.0 ] },
"down": { "texture": "#5", "uv": [ 13.0, 10.0, 14.0, 16.0 ] }
} }
} }
] ]

View file

@ -1,71 +0,0 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun",
"textures": {
"0": "block/anvil",
"1": "block/gray_concrete_powder",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/purpur_pillar",
"6": "block/redstone_block"
},
"elements": [
{
"name": "Amplifier Core",
"from": [ 10.000000014901161, 4.0, 3.0 ],
"to": [ 11.000000014901161, 5.0, 4.0 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#2", "uv": [ 9.0, 8.0, 10.0, 9.0 ] },
"east": { "texture": "#2", "uv": [ 10.0, 1.0, 11.0, 2.0 ] },
"south": { "texture": "#2", "uv": [ 9.0, 8.0, 10.0, 9.0 ] },
"west": { "texture": "#2", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
"up": { "texture": "#2", "uv": [ 11.0, 1.0, 10.0, 2.0 ] },
"down": { "texture": "#2", "uv": [ 13.0, 10.0, 14.0, 11.0 ] }
}
},
{
"name": "Amplifier Core 2",
"from": [ 5.000000014901161, 3.0, 3.0 ],
"to": [ 6.000000014901161, 4.0, 4.0 ],
"rotation": { "origin": [ 5.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#2", "uv": [ 9.0, 8.0, 10.0, 9.0 ] },
"east": { "texture": "#2", "uv": [ 10.0, 1.0, 11.0, 2.0 ] },
"south": { "texture": "#2", "uv": [ 9.0, 8.0, 10.0, 9.0 ] },
"west": { "texture": "#2", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
"up": { "texture": "#2", "uv": [ 11.0, 1.0, 10.0, 2.0 ] },
"down": { "texture": "#2", "uv": [ 13.0, 10.0, 14.0, 11.0 ] }
}
},
{
"name": "Amplifier Glow",
"from": [ 9.8, 3.7999999970197678, 2.7999999970197678 ],
"to": [ 11.200000005960465, 5.200000002980232, 4.200000002980232 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"east": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"south": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"west": { "texture": "#3", "uv": [ 6.0, 7.0, 8.0, 9.0 ] },
"up": { "texture": "#3", "uv": [ 7.0, 6.0, 9.0, 8.0 ] },
"down": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] }
}
},
{
"name": "Amplifier Glow 2",
"from": [ 4.800000000000001, 2.7999999970197678, 2.7999999970197678 ],
"to": [ 6.200000005960465, 4.200000002980232, 4.200000002980232 ],
"rotation": { "origin": [ 5.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"east": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"south": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"west": { "texture": "#3", "uv": [ 6.0, 7.0, 8.0, 9.0 ] },
"up": { "texture": "#3", "uv": [ 7.0, 6.0, 9.0, 8.0 ] },
"down": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] }
}
}
]
}

View file

@ -3,25 +3,61 @@
"ambientocclusion": true, "ambientocclusion": true,
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"0": "block/anvil", "0": "create:block/chorus_chrome_mesh"
"1": "block/end_stone",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian"
}, },
"elements": [ "elements": [
{ {
"name": "Rod Back", "name": "Connector",
"from": [ 7.0, 4.000000014901161, 7.0 ], "from": [ 7, 4, 2 ],
"to": [ 9.0, 6.000000014901161, 14.0 ], "to": [ 9, 5, 12 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 },
"faces": { "faces": {
"north": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 2.0 ] }, "north": { "texture": "#0", "uv": [ 6, 3, 8, 4 ] },
"east": { "texture": "#1", "uv": [ 0.0, 0.0, 7.0, 2.0 ] }, "east": { "texture": "#0", "uv": [ 6, 5, 16, 6 ] },
"south": { "texture": "#1", "uv": [ 6.0, 7.0, 8.0, 9.0 ] }, "south": { "texture": "#0", "uv": [ 8, 5, 10, 6 ] },
"west": { "texture": "#1", "uv": [ 4.0, 3.0, 11.0, 5.0 ] }, "west": { "texture": "#0", "uv": [ 0, 5, 10, 6 ] },
"up": { "texture": "#1", "uv": [ 6.0, 5.0, 8.0, 12.0 ] }, "up": { "texture": "#0", "uv": [ 3, 3, 13, 5 ], "rotation": 270 },
"down": { "texture": "#1", "uv": [ 8.0, 6.0, 10.0, 13.0 ] } "down": { "texture": "#0", "uv": [ 0, 4, 10, 6 ], "rotation": 270 }
}
},
{
"name": "Rod Back Cap",
"from": [ 7, 4.5, 14 ],
"to": [ 9, 6.5, 15 ],
"rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"east": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"south": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"west": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"up": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"down": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] }
}
},
{
"name": "Connector",
"from": [ 7, 6, 2 ],
"to": [ 9, 7, 12 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0, 8, 2, 9 ] },
"east": { "texture": "#0", "uv": [ 0, 6, 10, 7 ] },
"south": { "texture": "#0", "uv": [ 0, 7, 2, 8 ] },
"west": { "texture": "#0", "uv": [ 0, 6, 10, 7 ] },
"up": { "texture": "#0", "uv": [ 0, 6, 2, 16 ] },
"down": { "texture": "#0", "uv": [ 0, 6, 2, 16 ] }
}
},
{
"name": "Rod Back Cap",
"from": [ 7, 4.5, 11 ],
"to": [ 9, 6.5, 12 ],
"rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"east": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"south": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"west": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"up": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"down": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] }
} }
} }
] ]

View file

@ -1,341 +0,0 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun",
"textures": {
"0": "block/anvil",
"1": "block/gray_concrete_powder",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/gold_block",
"6": "block/redstone_block"
},
"elements": [
{
"name": "Grip",
"from": [ 7.0, 1.0, 12.0 ],
"to": [ 9.0, 5.0, 15.0 ],
"rotation": { "origin": [ 8.0, 2.0, 14.0 ], "axis": "x", "angle": -22.5 },
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 4.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 4.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 4.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 3.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 3.0 ] }
}
},
{
"name": "Connector",
"from": [ 6.499999992549419, 4.0, 7.300000004470348 ],
"to": [ 9.49999999254942, 5.0, 14.300000004470348 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 7.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 7.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 7.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 3.0, 7.0 ] }
}
},
{
"name": "Rod Back",
"from": [ 7.0, 4.000000014901161, 7.0 ],
"to": [ 9.0, 6.000000014901161, 14.0 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"east": { "texture": "#1", "uv": [ 0.0, 0.0, 7.0, 2.0 ] },
"south": { "texture": "#1", "uv": [ 6.0, 7.0, 8.0, 9.0 ] },
"west": { "texture": "#1", "uv": [ 4.0, 3.0, 11.0, 5.0 ] },
"up": { "texture": "#1", "uv": [ 6.0, 5.0, 8.0, 12.0 ] },
"down": { "texture": "#1", "uv": [ 8.0, 6.0, 10.0, 13.0 ] }
}
},
{
"name": "Rod Front",
"from": [ 7.300000004470348, 4.3000000193715096, 0.5000000074505806 ],
"to": [ 8.699999995529652, 5.700000010430813, 8.50000000745058 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#2", "uv": [ 0.0, 0.0, 1.3999999910593033, 1.3999999910593033 ] },
"east": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.3999999910593033 ] },
"south": { "texture": "#2", "uv": [ 0.0, 0.0, 1.3999999910593033, 1.3999999910593033 ] },
"west": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.3999999910593033 ] },
"up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.3999999910593033, 8.0 ] },
"down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.3999999910593033, 8.0 ] }
}
},
{
"name": "Rod Glow",
"from": [ 6.899999998509884, 3.900000013411045, 0.0 ],
"to": [ 9.100000001490116, 6.100000016391277, 7.0 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 2.2000000029802322, 2.2000000029802322 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 7.0, 2.2000000029802322 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, 2.2000000029802322, 2.2000000029802322 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 7.0, 2.2000000029802322 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 2.2000000029802322, 7.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 2.2000000029802322, 7.0 ] }
}
},
{
"name": "Trigger",
"from": [ 7.499999992549419, 3.0, 11.0 ],
"to": [ 8.49999999254942, 6.0, 13.0 ],
"rotation": { "origin": [ 8.0, 2.0, 14.0 ], "axis": "x", "angle": -22.5 },
"faces": {
"north": { "texture": "#4", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 3.0 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 3.0 ] },
"up": { "texture": "#4", "uv": [ 0.0, 0.0, 1.0, 2.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 1.0, 2.0 ] }
}
},
{
"name": "Rod Back Cap",
"from": [ 6.799999997019768, 3.800000011920929, 14.0 ],
"to": [ 9.200000002980232, 6.200000017881393, 15.0 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 2.4000000059604645 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 2.4000000059604645 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 2.4000000059604645, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 2.4000000059604645, 1.0 ] }
}
},
{
"name": "Scope",
"from": [ 7.500000007450581, 6.0, 6.0 ],
"to": [ 8.50000000745058, 7.0, 12.0 ],
"faces": {
"north": { "texture": "#5", "uv": [ 15.0, 7.0, 16.0, 8.0 ] },
"east": { "texture": "#5", "uv": [ 8.0, 15.0, 14.0, 16.0 ] },
"south": { "texture": "#5", "uv": [ 15.0, 8.0, 16.0, 9.0 ] },
"west": { "texture": "#5", "uv": [ 6.0, 15.0, 12.0, 16.0 ] },
"up": { "texture": "#5", "uv": [ 15.0, 5.0, 16.0, 11.0 ] },
"down": { "texture": "#5", "uv": [ 15.0, 4.0, 16.0, 10.0 ] }
}
},
{
"name": "Scope Back",
"from": [ 7.200000002980232, 7.0, 10.0 ],
"to": [ 8.800000011920929, 9.0, 12.0 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "x", "angle": 45.0 },
"faces": {
"north": { "texture": "#5", "uv": [ 13.0, 1.0, 15.0, 3.0 ] },
"east": { "texture": "#5", "uv": [ 4.0, 2.0, 6.0, 4.0 ] },
"south": { "texture": "#5", "uv": [ 1.0, 6.0, 2.6000000089406967, 8.0 ] },
"west": { "texture": "#5", "uv": [ 4.0, 2.0, 6.0, 4.0 ] },
"up": { "texture": "#5", "uv": [ 5.0, 6.0, 6.600000008940697, 8.0 ] },
"down": { "texture": "#5", "uv": [ 4.0, 4.0, 5.600000008940697, 6.0 ] }
}
},
{
"name": "ScopeTop",
"from": [ 7.0, 7.0, 9.0 ],
"to": [ 9.0, 9.0, 13.0 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"east": { "texture": "#5", "uv": [ 6.0, 3.0, 10.0, 5.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"west": { "texture": "#5", "uv": [ 10.0, 2.0, 14.0, 3.0 ] },
"up": { "texture": "#5", "uv": [ 15.0, 11.0, 14.0, 15.0 ] },
"down": { "texture": "#5", "uv": [ 10.0, 3.0, 12.0, 7.0 ] }
}
},
{
"name": "Amplifier",
"from": [ 10.000000014901161, 4.0, 4.0 ],
"to": [ 11.000000014901161, 5.0, 10.0 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#5", "uv": [ 1.0, 2.0, 2.0, 3.0 ] },
"east": { "texture": "#5", "uv": [ 10.0, 0.0, 16.0, 1.0 ] },
"south": { "texture": "#5", "uv": [ 7.0, 7.0, 8.0, 8.0 ] },
"west": { "texture": "#5", "uv": [ 0.0, 1.0, 6.0, 2.0 ] },
"up": { "texture": "#5", "uv": [ 2.0, 0.0, 1.0, 6.0 ] },
"down": { "texture": "#5", "uv": [ 13.0, 10.0, 14.0, 16.0 ] }
}
},
{
"name": "Amplifier Connector",
"from": [ 9.800000011920929, 5.0, 8.0 ],
"to": [ 10.800000011920929, 8.0, 9.0 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
"east": { "texture": "#0", "uv": [ 6.0, 3.0, 7.0, 6.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
"west": { "texture": "#0", "uv": [ 10.0, 2.0, 14.0, 3.0 ] },
"up": { "texture": "#0", "uv": [ 15.0, 11.0, 14.0, 15.0 ] },
"down": { "texture": "#0", "uv": [ 10.0, 3.0, 11.0, 4.0 ] }
}
},
{
"name": "Amplifier Glow",
"from": [ 9.8, 3.7999999970197678, 2.7999999970197678 ],
"to": [ 11.200000005960465, 5.200000002980232, 4.200000002980232 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"east": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"south": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"west": { "texture": "#3", "uv": [ 6.0, 7.0, 8.0, 9.0 ] },
"up": { "texture": "#3", "uv": [ 7.0, 6.0, 9.0, 8.0 ] },
"down": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] }
}
},
{
"name": "Amplifier Core",
"from": [ 10.000000014901161, 4.0, 3.0 ],
"to": [ 11.000000014901161, 5.0, 4.0 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#2", "uv": [ 9.0, 8.0, 10.0, 9.0 ] },
"east": { "texture": "#2", "uv": [ 10.0, 1.0, 11.0, 2.0 ] },
"south": { "texture": "#2", "uv": [ 9.0, 8.0, 10.0, 9.0 ] },
"west": { "texture": "#2", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
"up": { "texture": "#2", "uv": [ 11.0, 1.0, 10.0, 2.0 ] },
"down": { "texture": "#2", "uv": [ 13.0, 10.0, 14.0, 11.0 ] }
}
},
{
"name": "Retriever Back",
"from": [ 7.0, 2.0, 8.0 ],
"to": [ 9.0, 4.0, 9.0 ],
"rotation": { "origin": [ 8.0, 3.0, 7.0 ], "axis": "x", "angle": -22.5 },
"faces": {
"north": { "texture": "#5", "uv": [ 12.0, 4.0, 14.0, 6.0 ] },
"east": { "texture": "#5", "uv": [ 15.0, 8.0, 16.0, 10.0 ] },
"south": { "texture": "#5", "uv": [ 1.0, 13.0, 3.0, 15.0 ] },
"west": { "texture": "#5", "uv": [ 15.0, 7.0, 16.0, 9.0 ] },
"up": { "texture": "#5", "uv": [ 3.0, 15.0, 5.0, 16.0 ] },
"down": { "texture": "#5", "uv": [ 7.0, 15.0, 9.0, 16.0 ] }
}
},
{
"name": "Accelerator",
"from": [ 6.499999992549419, 5.0, 10.300000004470348 ],
"to": [ 9.49999999254942, 6.0, 15.300000004470348 ],
"faces": {
"north": { "texture": "#5", "uv": [ 7.0, 1.0, 10.0, 2.0 ] },
"south": { "texture": "#5", "uv": [ 6.0, 3.0, 9.0, 4.0 ] },
"up": { "texture": "#5", "uv": [ 6.0, 10.0, 9.0, 15.0 ] },
"down": { "texture": "#5", "uv": [ 7.0, 0.0, 10.0, 5.0 ] }
}
},
{
"name": "Accelerator Core",
"from": [ 6.499999992549419, 5.0, 10.300000004470348 ],
"to": [ 9.49999999254942, 6.0, 15.300000004470348 ],
"faces": {
"east": { "texture": "#2", "uv": [ 4.0, 2.0, 9.0, 3.0 ] },
"west": { "texture": "#2", "uv": [ 7.0, 2.0, 12.0, 3.0 ] }
}
},
{
"name": "Accelerator Connector",
"from": [ 6.4000000059604645, 7.300000004470348, 10.300000004470348 ],
"to": [ 9.600000008940697, 8.699999995529652, 11.699999995529652 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "x", "angle": 45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 13.0, 1.0, 15.0, 3.0 ] },
"east": { "texture": "#0", "uv": [ 4.0, 2.0, 5.399999991059303, 3.3999999910593033 ] },
"south": { "texture": "#0", "uv": [ 1.0, 6.0, 4.200000002980232, 7.399999991059303 ] },
"west": { "texture": "#0", "uv": [ 4.0, 2.0, 5.399999991059303, 3.3999999910593033 ] },
"up": { "texture": "#0", "uv": [ 5.0, 6.0, 8.200000002980232, 7.399999991059303 ] },
"down": { "texture": "#0", "uv": [ 4.0, 4.0, 7.200000002980232, 5.399999991059303 ] }
}
},
{
"name": "Accelerator Back Cap",
"from": [ 7.100000001490116, 4.3000000193715096, 15.0 ],
"to": [ 8.699999995529652, 5.900000013411045, 15.399999991059303 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#5", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"east": { "texture": "#5", "uv": [ 12.0, 4.0, 13.0, 6.4000000059604645 ] },
"south": { "texture": "#5", "uv": [ 11.0, 5.0, 13.0, 7.0 ] },
"west": { "texture": "#5", "uv": [ 6.0, 2.0, 7.0, 4.4000000059604645 ] },
"up": { "texture": "#5", "uv": [ 7.0, 6.0, 9.400000005960464, 7.0 ] },
"down": { "texture": "#5", "uv": [ 9.0, 0.0, 11.400000005960464, 1.0 ] }
}
},
{
"name": "Amplifier Connector 2",
"from": [ 7.800000011920929, 7.0, 8.0 ],
"to": [ 9.800000011920929, 8.0, 9.0 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 6.0, 3.0, 7.0, 4.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 10.0, 2.0, 13.0, 3.0 ] },
"up": { "texture": "#0", "uv": [ 7.0, 6.0, 9.0, 7.0 ] },
"down": { "texture": "#0", "uv": [ 10.0, 3.0, 12.0, 4.0 ] }
}
},
{
"name": "Amplifier 2",
"from": [ 5.000000014901161, 3.0, 4.0 ],
"to": [ 6.000000014901161, 4.0, 10.0 ],
"rotation": { "origin": [ 5.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#5", "uv": [ 1.0, 2.0, 2.0, 3.0 ] },
"east": { "texture": "#5", "uv": [ 10.0, 0.0, 16.0, 1.0 ] },
"south": { "texture": "#5", "uv": [ 7.0, 7.0, 8.0, 8.0 ] },
"west": { "texture": "#5", "uv": [ 0.0, 1.0, 6.0, 2.0 ] },
"up": { "texture": "#5", "uv": [ 2.0, 0.0, 1.0, 6.0 ] },
"down": { "texture": "#5", "uv": [ 13.0, 10.0, 14.0, 16.0 ] }
}
},
{
"name": "Amplifier Core 2",
"from": [ 5.000000014901161, 3.0, 3.0 ],
"to": [ 6.000000014901161, 4.0, 4.0 ],
"rotation": { "origin": [ 5.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#2", "uv": [ 9.0, 8.0, 10.0, 9.0 ] },
"east": { "texture": "#2", "uv": [ 10.0, 1.0, 11.0, 2.0 ] },
"south": { "texture": "#2", "uv": [ 9.0, 8.0, 10.0, 9.0 ] },
"west": { "texture": "#2", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
"up": { "texture": "#2", "uv": [ 11.0, 1.0, 10.0, 2.0 ] },
"down": { "texture": "#2", "uv": [ 13.0, 10.0, 14.0, 11.0 ] }
}
},
{
"name": "Amplifier Glow 2",
"from": [ 4.800000000000001, 2.7999999970197678, 2.7999999970197678 ],
"to": [ 6.200000005960465, 4.200000002980232, 4.200000002980232 ],
"rotation": { "origin": [ 5.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"east": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"south": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"west": { "texture": "#3", "uv": [ 6.0, 7.0, 8.0, 9.0 ] },
"up": { "texture": "#3", "uv": [ 7.0, 6.0, 9.0, 8.0 ] },
"down": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] }
}
},
{
"name": "Retriever Front",
"from": [ 6.0, 2.0, 7.0 ],
"to": [ 10.0, 3.0, 8.0 ],
"rotation": { "origin": [ 8.0, 3.0, 7.0 ], "axis": "x", "angle": -22.5 },
"faces": {
"north": { "texture": "#6", "uv": [ 2.0, 14.0, 6.0, 15.0 ] },
"east": { "texture": "#5", "uv": [ 15.0, 8.0, 16.0, 9.0 ] },
"south": { "texture": "#5", "uv": [ 1.0, 13.0, 5.0, 14.0 ] },
"west": { "texture": "#5", "uv": [ 15.0, 7.0, 16.0, 8.0 ] },
"up": { "texture": "#5", "uv": [ 3.0, 15.0, 7.0, 16.0 ] },
"down": { "texture": "#5", "uv": [ 7.0, 15.0, 11.0, 16.0 ] }
}
}
]
}

View file

@ -1,42 +1,22 @@
{ {
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"0": "block/anvil", "0": "create:block/chorus_chrome_mesh",
"1": "block/gray_concrete_powder", "cyan_concrete_powder": "block/cyan_concrete_powder"
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/purpur_pillar",
"6": "block/green_concrete_powder"
}, },
"elements": [ "elements": [
{ {
"name": "Retriever Back", "name": "Retriever",
"from": [ 7.0, 2.0, 8.0 ], "from": [ 6.5, 3, 6.1 ],
"to": [ 9.0, 4.0, 9.0 ], "to": [ 9.5, 4, 8.1 ],
"rotation": { "origin": [ 8.0, 3.0, 7.0 ], "axis": "x", "angle": -22.5 },
"faces": { "faces": {
"north": { "texture": "#5", "uv": [ 12.0, 4.0, 14.0, 6.0 ] }, "north": { "texture": "#cyan_concrete_powder", "uv": [ 5, 11, 8, 12 ] },
"east": { "texture": "#5", "uv": [ 15.0, 8.0, 16.0, 10.0 ] }, "east": { "texture": "#cyan_concrete_powder", "uv": [ 10, 7, 12, 8 ] },
"south": { "texture": "#5", "uv": [ 1.0, 13.0, 3.0, 15.0 ] }, "south": { "texture": "#cyan_concrete_powder", "uv": [ 9, 7, 12, 8 ] },
"west": { "texture": "#5", "uv": [ 15.0, 7.0, 16.0, 9.0 ] }, "west": { "texture": "#cyan_concrete_powder", "uv": [ 10, 7, 12, 8 ] },
"up": { "texture": "#5", "uv": [ 3.0, 15.0, 5.0, 16.0 ] }, "up": { "texture": "#0", "uv": [ 0, 6, 3, 8 ] },
"down": { "texture": "#5", "uv": [ 7.0, 15.0, 9.0, 16.0 ] } "down": { "texture": "#0", "uv": [ 0, 6, 3, 8 ] }
}
},
{
"name": "Retriever Front",
"from": [ 6.0, 2.0, 7.0 ],
"to": [ 10.0, 3.0, 8.0 ],
"rotation": { "origin": [ 8.0, 3.0, 7.0 ], "axis": "x", "angle": -22.5 },
"faces": {
"north": { "texture": "#6", "uv": [ 2.0, 14.0, 6.0, 15.0 ] },
"east": { "texture": "#5", "uv": [ 15.0, 8.0, 16.0, 9.0 ] },
"south": { "texture": "#5", "uv": [ 1.0, 13.0, 5.0, 14.0 ] },
"west": { "texture": "#5", "uv": [ 15.0, 7.0, 16.0, 8.0 ] },
"up": { "texture": "#5", "uv": [ 3.0, 15.0, 7.0, 16.0 ] },
"down": { "texture": "#5", "uv": [ 7.0, 15.0, 11.0, 16.0 ] }
} }
} }
] ]

View file

@ -1,55 +1,37 @@
{ {
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"ambientocclusion": true,
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"0": "block/anvil", "mesh": "create:block/chorus_chrome_mesh",
"1": "block/gray_concrete_powder", "smooth_stone_slab_side": "block/smooth_stone_slab_side"
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/purpur_pillar",
"6": "block/obsidian"
}, },
"elements": [ "elements": [
{ {
"name": "Scope", "name": "Scope",
"from": [ 7.500000007450581, 6.0, 6.0 ], "from": [ 7.5, 7.5, 9.5 ],
"to": [ 8.50000000745058, 7.0, 12.0 ], "to": [ 8.5, 8.5, 14.5 ],
"rotation": { "origin": [ 8, 8, 8 ], "axis": "z", "angle": 45.0 },
"faces": { "faces": {
"north": { "texture": "#5", "uv": [ 15.0, 7.0, 16.0, 8.0 ] }, "north": { "texture": "#smooth_stone_slab_side", "uv": [ 0, 0, 1, 1 ] },
"east": { "texture": "#5", "uv": [ 8.0, 15.0, 14.0, 16.0 ] }, "east": { "texture": "#mesh", "uv": [ 8, 1, 9, 6 ], "rotation": 90 },
"south": { "texture": "#5", "uv": [ 15.0, 8.0, 16.0, 9.0 ] }, "south": { "texture": "#smooth_stone_slab_side", "uv": [ 0, 0, 1, 1 ] },
"west": { "texture": "#5", "uv": [ 6.0, 15.0, 12.0, 16.0 ] }, "west": { "texture": "#mesh", "uv": [ 7, 1, 8, 6 ], "rotation": 270 },
"up": { "texture": "#5", "uv": [ 15.0, 5.0, 16.0, 11.0 ] }, "up": { "texture": "#mesh", "uv": [ 7, 1, 8, 6 ] },
"down": { "texture": "#5", "uv": [ 15.0, 4.0, 16.0, 10.0 ] } "down": { "texture": "#mesh", "uv": [ 7, 1, 8, 6 ] }
} }
}, },
{ {
"name": "Scope Back", "name": "Scope Connector",
"from": [ 7.200000002980232, 7.0, 10.0 ], "from": [ 7.5, 7, 11 ],
"to": [ 8.800000011920929, 9.0, 12.0 ], "to": [ 8.5, 8, 12 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "x", "angle": 45.0 },
"faces": { "faces": {
"north": { "texture": "#5", "uv": [ 13.0, 1.0, 15.0, 3.0 ] }, "north": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] },
"east": { "texture": "#5", "uv": [ 4.0, 2.0, 6.0, 4.0 ] }, "east": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] },
"south": { "texture": "#5", "uv": [ 1.0, 6.0, 2.6000000089406967, 8.0 ] }, "south": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] },
"west": { "texture": "#5", "uv": [ 4.0, 2.0, 6.0, 4.0 ] }, "west": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] },
"up": { "texture": "#5", "uv": [ 5.0, 6.0, 6.600000008940697, 8.0 ] }, "up": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] },
"down": { "texture": "#5", "uv": [ 4.0, 4.0, 5.600000008940697, 6.0 ] } "down": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] }
}
},
{
"name": "ScopeTop",
"from": [ 7.0, 7.0, 9.0 ],
"to": [ 9.0, 9.0, 13.0 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#6", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"east": { "texture": "#5", "uv": [ 6.0, 3.0, 10.0, 5.0 ] },
"south": { "texture": "#6", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
"west": { "texture": "#5", "uv": [ 10.0, 2.0, 14.0, 4.0 ] },
"up": { "texture": "#5", "uv": [ 15.0, 11.0, 13.0, 15.0 ] },
"down": { "texture": "#5", "uv": [ 10.0, 3.0, 12.0, 7.0 ] }
} }
} }
] ]

View file

@ -2,36 +2,31 @@
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"0": "block/white_concrete_powder", "2": "block/white_concrete_powder",
"1": "block/white_stained_glass" "3": "block/white_stained_glass"
}, },
"elements": [ "elements": [
{ {
"name": "Rod Front", "name": "Core",
"from": [ 7.300000004470348, 4.3000000193715096, 0.5000000074505806 ], "from": [ 7.3, 5, 2.7 ],
"to": [ 8.699999995529652, 5.700000010430813, 8.50000000745058 ], "to": [ 8.7, 6, 11.7 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 },
"faces": { "faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.3999999910593033, 1.3999999910593033 ] }, "north": { "texture": "#2", "uv": [ 6, 5, 7, 6 ] },
"east": { "texture": "#0", "uv": [ 4.0, 4.0, 12.0, 5.399999991059303 ] }, "east": { "texture": "#2", "uv": [ 3, 5, 12, 6 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.3999999910593033, 1.3999999910593033 ] }, "west": { "texture": "#2", "uv": [ 3, 7, 12, 8 ] }
"west": { "texture": "#0", "uv": [ 1.0, 0.0, 9.0, 1.3999999910593033 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.3999999910593033, 8.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.3999999910593033, 8.0 ] }
} }
}, },
{ {
"name": "Rod Glow", "name": "Core Glow",
"from": [ 6.899999998509884, 3.900000013411045, 0.0 ], "from": [ 7.1, 4.6, 2.5 ],
"to": [ 9.100000001490116, 6.100000016391277, 7.0 ], "to": [ 8.9, 6.4, 11.4 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 },
"faces": { "faces": {
"north": { "texture": "#1", "uv": [ 0.0, 0.0, 2.2000000029802322, 2.2000000029802322 ] }, "north": { "texture": "#3", "uv": [ 6, 7, 7.8, 8.8 ] },
"east": { "texture": "#1", "uv": [ 0.0, 0.0, 7.0, 2.2000000029802322 ] }, "east": { "texture": "#3", "uv": [ 3, 7, 11.9, 8.8 ] },
"south": { "texture": "#1", "uv": [ 0.0, 0.0, 2.2000000029802322, 2.2000000029802322 ] }, "south": { "texture": "#3", "uv": [ 5, 7, 6.8, 8.8 ] },
"west": { "texture": "#1", "uv": [ 0.0, 0.0, 7.0, 2.2000000029802322 ] }, "west": { "texture": "#3", "uv": [ 4, 7, 12.9, 8.8 ] },
"up": { "texture": "#1", "uv": [ 0.0, 0.0, 2.2000000029802322, 7.0 ] }, "up": { "texture": "#3", "uv": [ 7, 3, 8.8, 11.9 ] },
"down": { "texture": "#1", "uv": [ 0.0, 0.0, 2.2000000029802322, 7.0 ] } "down": { "texture": "#3", "uv": [ 7, 4, 8.8, 12.9 ] }
} }
} }
] ]

View file

@ -2,51 +2,61 @@
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"0": "block/anvil", "cog": "minecraft:block/yellow_concrete_powder"
"1": "block/gray_concrete_powder",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/gold_block"
}, },
"elements": [ "elements": [
{ {
"name": "Accelerator", "name": "Cog",
"from": [ 6.499999992549419, 5.0, 10.300000004470348 ], "from": [ 7.5, 3, 12 ],
"to": [ 9.49999999254942, 6.0, 15.300000004470348 ], "to": [ 8.5, 8, 14 ],
"faces": { "faces": {
"north": { "texture": "#5", "uv": [ 7.0, 1.0, 10.0, 2.0 ] }, "north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"south": { "texture": "#5", "uv": [ 6.0, 3.0, 9.0, 4.0 ] }, "east": { "texture": "#cog", "uv": [ 5, 3, 7, 8 ] },
"up": { "texture": "#5", "uv": [ 6.0, 10.0, 9.0, 15.0 ] }, "south": { "texture": "#cog", "uv": [ 4, 4, 5, 9 ] },
"down": { "texture": "#5", "uv": [ 7.0, 0.0, 10.0, 5.0 ] } "west": { "texture": "#cog", "uv": [ 4, 6, 6, 11 ] },
"up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
} }
}, },
{ {
"name": "Accelerator Connector", "name": "Cog",
"from": [ 6.4000000059604645, 7.300000004470348, 10.300000004470348 ], "from": [ 7.5, 3, 12 ],
"to": [ 9.600000008940697, 8.699999995529652, 11.699999995529652 ], "to": [ 8.5, 8, 14 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "x", "angle": 45.0 }, "rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": 45.0 },
"faces": { "faces": {
"north": { "texture": "#0", "uv": [ 13.0, 1.0, 15.0, 3.0 ] }, "north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"east": { "texture": "#0", "uv": [ 4.0, 2.0, 5.399999991059303, 3.3999999910593033 ] }, "east": { "texture": "#cog", "uv": [ 5, 3, 7, 8 ] },
"south": { "texture": "#0", "uv": [ 1.0, 6.0, 4.200000002980232, 7.399999991059303 ] }, "south": { "texture": "#cog", "uv": [ 4, 4, 5, 9 ] },
"west": { "texture": "#0", "uv": [ 4.0, 2.0, 5.399999991059303, 3.3999999910593033 ] }, "west": { "texture": "#cog", "uv": [ 4, 6, 6, 11 ] },
"up": { "texture": "#0", "uv": [ 5.0, 6.0, 8.200000002980232, 7.399999991059303 ] }, "up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#0", "uv": [ 4.0, 4.0, 7.200000002980232, 5.399999991059303 ] } "down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
} }
}, },
{ {
"name": "Accelerator Back Cap", "name": "Cog",
"from": [ 7.100000001490116, 4.3000000193715096, 15.0 ], "from": [ 7.5, 3, 12 ],
"to": [ 8.699999995529652, 5.900000013411045, 15.399999991059303 ], "to": [ 8.5, 8, 14 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 }, "rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": -45.0 },
"faces": { "faces": {
"north": { "texture": "#5", "uv": [ 7.0, 7.0, 9.0, 9.0 ] }, "north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"east": { "texture": "#5", "uv": [ 12.0, 4.0, 13.0, 6.4000000059604645 ] }, "east": { "texture": "#cog", "uv": [ 5, 3, 7, 8 ] },
"south": { "texture": "#5", "uv": [ 11.0, 5.0, 13.0, 7.0 ] }, "south": { "texture": "#cog", "uv": [ 4, 4, 5, 9 ] },
"west": { "texture": "#5", "uv": [ 6.0, 2.0, 7.0, 4.4000000059604645 ] }, "west": { "texture": "#cog", "uv": [ 4, 6, 6, 11 ] },
"up": { "texture": "#5", "uv": [ 7.0, 6.0, 9.400000005960464, 7.0 ] }, "up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#5", "uv": [ 9.0, 0.0, 11.400000005960464, 1.0 ] } "down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
}
},
{
"name": "Cog",
"from": [ 5.5, 5, 12 ],
"to": [ 10.5, 6, 14 ],
"faces": {
"north": { "texture": "#cog", "uv": [ 6, 7, 8, 12 ] },
"east": { "texture": "#cog", "uv": [ 5, 3, 7, 4 ] },
"south": { "texture": "#cog", "uv": [ 4, 4, 9, 5 ] },
"west": { "texture": "#cog", "uv": [ 4, 6, 6, 7 ] },
"up": { "texture": "#cog", "uv": [ 4, 6, 5, 8 ] },
"down": { "texture": "#cog", "uv": [ 5, 6, 6, 8 ] }
} }
} }
] ]

View file

@ -1,23 +0,0 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun",
"textures": {
"0": "block/anvil",
"1": "block/gray_concrete_powder",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/gold_block"
},
"elements": [
{
"name": "Accelerator Core",
"from": [ 6.499999992549419, 5.0, 10.300000004470348 ],
"to": [ 9.49999999254942, 6.0, 15.300000004470348 ],
"faces": {
"east": { "texture": "#2", "uv": [ 4.0, 2.0, 9.0, 3.0 ] },
"west": { "texture": "#2", "uv": [ 7.0, 2.0, 12.0, 3.0 ] }
}
}
]
}

View file

@ -2,40 +2,33 @@
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"0": "block/anvil", "0": "create:block/blaze_brass_mesh"
"1": "block/gray_concrete_powder",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/gold_block"
}, },
"elements": [ "elements": [
{ {
"name": "Amplifier", "name": "Amplifier Connector",
"from": [ 10.000000014901161, 4.0, 4.0 ], "from": [ 7, 2, 3 ],
"to": [ 11.000000014901161, 5.0, 10.0 ], "to": [ 9, 3, 8 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": { "faces": {
"north": { "texture": "#5", "uv": [ 1.0, 2.0, 2.0, 3.0 ] }, "north": { "texture": "#0", "uv": [ 1, 3, 3, 4 ] },
"east": { "texture": "#5", "uv": [ 10.0, 0.0, 16.0, 1.0 ] }, "east": { "texture": "#0", "uv": [ 11, 5, 16, 6 ] },
"south": { "texture": "#5", "uv": [ 7.0, 7.0, 8.0, 8.0 ] }, "south": { "texture": "#0", "uv": [ 0, 3, 2, 4 ] },
"west": { "texture": "#5", "uv": [ 0.0, 1.0, 6.0, 2.0 ] }, "west": { "texture": "#0", "uv": [ 0, 5, 5, 6 ] },
"up": { "texture": "#5", "uv": [ 2.0, 0.0, 1.0, 6.0 ] }, "up": { "texture": "#0", "uv": [ 0, 3, 5, 5 ], "rotation": 90 },
"down": { "texture": "#5", "uv": [ 13.0, 10.0, 14.0, 16.0 ] } "down": { "texture": "#0", "uv": [ 0, 3, 5, 5 ], "rotation": 270 }
} }
}, },
{ {
"name": "Amplifier Connector", "name": "Amplifier Connector",
"from": [ 9.800000011920929, 5.0, 8.0 ], "from": [ 7, 3, 7 ],
"to": [ 10.800000011920929, 8.0, 9.0 ], "to": [ 9, 4, 8 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": { "faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 3.0 ] }, "north": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"east": { "texture": "#0", "uv": [ 6.0, 3.0, 7.0, 6.0 ] }, "east": { "texture": "#0", "uv": [ 0, 0, 1, 1 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 3.0 ] }, "south": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"west": { "texture": "#0", "uv": [ 10.0, 2.0, 14.0, 3.0 ] }, "west": { "texture": "#0", "uv": [ 0, 0, 1, 1 ] },
"up": { "texture": "#0", "uv": [ 15.0, 11.0, 14.0, 15.0 ] }, "up": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"down": { "texture": "#0", "uv": [ 10.0, 3.0, 11.0, 4.0 ] } "down": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] }
} }
} }
] ]

View file

@ -1,42 +0,0 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun",
"textures": {
"0": "block/anvil",
"1": "block/gray_concrete_powder",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/gold_block"
},
"elements": [
{
"name": "Amplifier Core",
"from": [ 10.000000014901161, 4.0, 3.0 ],
"to": [ 11.000000014901161, 5.0, 4.0 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#2", "uv": [ 9.0, 8.0, 10.0, 9.0 ] },
"east": { "texture": "#2", "uv": [ 10.0, 1.0, 11.0, 2.0 ] },
"south": { "texture": "#2", "uv": [ 9.0, 8.0, 10.0, 9.0 ] },
"west": { "texture": "#2", "uv": [ 3.0, 5.0, 4.0, 6.0 ] },
"up": { "texture": "#2", "uv": [ 11.0, 1.0, 10.0, 2.0 ] },
"down": { "texture": "#2", "uv": [ 13.0, 10.0, 14.0, 11.0 ] }
}
},
{
"name": "Amplifier Glow",
"from": [ 9.8, 3.7999999970197678, 2.7999999970197678 ],
"to": [ 11.200000005960465, 5.200000002980232, 4.200000002980232 ],
"rotation": { "origin": [ 11.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 },
"faces": {
"north": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"east": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"south": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] },
"west": { "texture": "#3", "uv": [ 6.0, 7.0, 8.0, 9.0 ] },
"up": { "texture": "#3", "uv": [ 7.0, 6.0, 9.0, 8.0 ] },
"down": { "texture": "#3", "uv": [ 7.0, 7.0, 9.0, 9.0 ] }
}
}
]
}

View file

@ -3,25 +3,61 @@
"ambientocclusion": true, "ambientocclusion": true,
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"0": "block/anvil", "0": "create:block/blaze_brass_mesh"
"1": "block/magma",
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian"
}, },
"elements": [ "elements": [
{ {
"name": "Rod Back", "name": "Connector",
"from": [ 7.0, 4.000000014901161, 7.0 ], "from": [ 7, 4, 2 ],
"to": [ 9.0, 6.000000014901161, 14.0 ], "to": [ 9, 5, 12 ],
"rotation": { "origin": [ 8.0, 5.0, 8.0 ], "axis": "z", "angle": -45.0 },
"faces": { "faces": {
"north": { "texture": "#1", "uv": [ 0.0, 0.0, 2.0, 2.0 ] }, "north": { "texture": "#0", "uv": [ 6, 3, 8, 4 ] },
"east": { "texture": "#1", "uv": [ 0.0, 0.0, 7.0, 2.0 ] }, "east": { "texture": "#0", "uv": [ 6, 5, 16, 6 ] },
"south": { "texture": "#1", "uv": [ 6.0, 7.0, 8.0, 9.0 ] }, "south": { "texture": "#0", "uv": [ 8, 5, 10, 6 ] },
"west": { "texture": "#1", "uv": [ 4.0, 3.0, 11.0, 5.0 ] }, "west": { "texture": "#0", "uv": [ 0, 5, 10, 6 ] },
"up": { "texture": "#1", "uv": [ 6.0, 5.0, 8.0, 12.0 ] }, "up": { "texture": "#0", "uv": [ 3, 3, 13, 5 ], "rotation": 270 },
"down": { "texture": "#1", "uv": [ 8.0, 6.0, 10.0, 13.0 ] } "down": { "texture": "#0", "uv": [ 0, 4, 10, 6 ], "rotation": 270 }
}
},
{
"name": "Rod Back Cap",
"from": [ 7, 4.5, 14 ],
"to": [ 9, 6.5, 15 ],
"rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"east": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"south": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"west": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"up": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"down": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] }
}
},
{
"name": "Connector",
"from": [ 7, 6, 2 ],
"to": [ 9, 7, 12 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0, 8, 2, 9 ] },
"east": { "texture": "#0", "uv": [ 0, 6, 10, 7 ] },
"south": { "texture": "#0", "uv": [ 0, 7, 2, 8 ] },
"west": { "texture": "#0", "uv": [ 0, 6, 10, 7 ] },
"up": { "texture": "#0", "uv": [ 0, 6, 2, 16 ] },
"down": { "texture": "#0", "uv": [ 0, 6, 2, 16 ] }
}
},
{
"name": "Rod Back Cap",
"from": [ 7, 4.5, 11 ],
"to": [ 9, 6.5, 12 ],
"rotation": { "origin": [ 8, 5.5, 8 ], "axis": "z", "angle": -45.0 },
"faces": {
"north": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"east": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"south": { "texture": "#0", "uv": [ 0, 0, 2, 2 ] },
"west": { "texture": "#0", "uv": [ 0, 0, 1, 2 ] },
"up": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] },
"down": { "texture": "#0", "uv": [ 0, 0, 2, 1 ] }
} }
} }
] ]

View file

@ -2,27 +2,21 @@
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"0": "block/anvil", "0": "create:block/blaze_brass_mesh",
"1": "block/gray_concrete_powder", "cyan_concrete_powder": "block/cyan_concrete_powder"
"2": "block/white_concrete_powder",
"3": "block/white_stained_glass",
"4": "block/obsidian",
"5": "block/gold_block",
"6": "block/redstone_block"
}, },
"elements": [ "elements": [
{ {
"name": "Retriever Back", "name": "Retriever",
"from": [ 7.0, 2.0, 8.0 ], "from": [ 6.5, 3, 6.1 ],
"to": [ 9.0, 4.0, 9.0 ], "to": [ 9.5, 4, 8.1 ],
"rotation": { "origin": [ 8.0, 3.0, 7.0 ], "axis": "x", "angle": -22.5 },
"faces": { "faces": {
"north": { "texture": "#6", "uv": [ 12.0, 4.0, 14.0, 6.0 ] }, "north": { "texture": "#cyan_concrete_powder", "uv": [ 5, 11, 8, 12 ] },
"east": { "texture": "#5", "uv": [ 15.0, 8.0, 16.0, 10.0 ] }, "east": { "texture": "#cyan_concrete_powder", "uv": [ 10, 7, 12, 8 ] },
"south": { "texture": "#5", "uv": [ 1.0, 13.0, 3.0, 15.0 ] }, "south": { "texture": "#cyan_concrete_powder", "uv": [ 9, 7, 12, 8 ] },
"west": { "texture": "#5", "uv": [ 15.0, 7.0, 16.0, 9.0 ] }, "west": { "texture": "#cyan_concrete_powder", "uv": [ 10, 7, 12, 8 ] },
"up": { "texture": "#5", "uv": [ 3.0, 15.0, 5.0, 16.0 ] }, "up": { "texture": "#0", "uv": [ 0, 6, 3, 8 ] },
"down": { "texture": "#5", "uv": [ 7.0, 15.0, 9.0, 16.0 ] } "down": { "texture": "#0", "uv": [ 0, 6, 3, 8 ] }
} }
} }
] ]

View file

@ -1,49 +1,37 @@
{ {
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"ambientocclusion": true,
"parent": "create:item/placement_handgun", "parent": "create:item/placement_handgun",
"textures": { "textures": {
"3": "block/white_concrete", "mesh": "create:block/blaze_brass_mesh",
"5": "block/gold_block" "smooth_stone_slab_side": "block/smooth_stone_slab_side"
}, },
"elements": [ "elements": [
{ {
"name": "Scope", "name": "Scope",
"from": [ 7.500000007450581, 6.0, 6.0 ], "from": [ 7.5, 7.5, 9.5 ],
"to": [ 8.50000000745058, 7.0, 12.0 ], "to": [ 8.5, 8.5, 14.5 ],
"rotation": { "origin": [ 8, 8, 8 ], "axis": "z", "angle": 45.0 },
"faces": { "faces": {
"north": { "texture": "#5", "uv": [ 15.0, 7.0, 16.0, 8.0 ] }, "north": { "texture": "#smooth_stone_slab_side", "uv": [ 0, 0, 1, 1 ] },
"east": { "texture": "#5", "uv": [ 8.0, 15.0, 14.0, 16.0 ] }, "east": { "texture": "#mesh", "uv": [ 8, 1, 9, 6 ], "rotation": 90 },
"south": { "texture": "#5", "uv": [ 15.0, 8.0, 16.0, 9.0 ] }, "south": { "texture": "#smooth_stone_slab_side", "uv": [ 0, 0, 1, 1 ] },
"west": { "texture": "#5", "uv": [ 6.0, 15.0, 12.0, 16.0 ] }, "west": { "texture": "#mesh", "uv": [ 7, 1, 8, 6 ], "rotation": 270 },
"up": { "texture": "#5", "uv": [ 15.0, 5.0, 16.0, 11.0 ] }, "up": { "texture": "#mesh", "uv": [ 7, 1, 8, 6 ] },
"down": { "texture": "#5", "uv": [ 15.0, 4.0, 16.0, 10.0 ] } "down": { "texture": "#mesh", "uv": [ 7, 1, 8, 6 ] }
} }
}, },
{ {
"name": "Scope Back", "name": "Scope Connector",
"from": [ 7.200000002980232, 7.0, 10.0 ], "from": [ 7.5, 7, 11 ],
"to": [ 8.800000011920929, 9.0, 12.0 ], "to": [ 8.5, 8, 12 ],
"rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "x", "angle": 45.0 },
"faces": { "faces": {
"north": { "texture": "#5", "uv": [ 13.0, 1.0, 15.0, 3.0 ] }, "north": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] },
"east": { "texture": "#5", "uv": [ 4.0, 2.0, 6.0, 4.0 ] }, "east": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] },
"south": { "texture": "#5", "uv": [ 1.0, 6.0, 2.6000000089406967, 8.0 ] }, "south": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] },
"west": { "texture": "#5", "uv": [ 4.0, 2.0, 6.0, 4.0 ] }, "west": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] },
"up": { "texture": "#5", "uv": [ 5.0, 6.0, 6.600000008940697, 8.0 ] }, "up": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] },
"down": { "texture": "#5", "uv": [ 4.0, 4.0, 5.600000008940697, 6.0 ] } "down": { "texture": "#mesh", "uv": [ 0, 0, 1, 1 ] }
}
},
{
"name": "ScopeTop",
"from": [ 7.500000007450581, 7.0, 9.0 ],
"to": [ 8.50000000745058, 8.0, 13.0 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"east": { "texture": "#5", "uv": [ 6.0, 3.0, 10.0, 4.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"west": { "texture": "#5", "uv": [ 10.0, 2.0, 14.0, 3.0 ] },
"up": { "texture": "#5", "uv": [ 15.0, 11.0, 14.0, 15.0 ] },
"down": { "texture": "#5", "uv": [ 10.0, 3.0, 11.0, 7.0 ] }
} }
} }
] ]

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 631 B