GrandMasterRubix
-
Posts
12 -
Joined
-
Last visited
Posts posted by GrandMasterRubix
-
-
So, if I find the right methods, I just need to override them in a class that extend block?
-
How does one make a block that faces in the same direction as the player when placed? Also, how do I tell if said block is receiving Redstone power, and from what side? Lastly, how do I make a power provider?
-
In the first few seconds of that video, an annotation comes up stating that a follow-up video will be posted. Anyone have the link to that video or a least a fix for the issues that are addressed in the follow-up video?
-
That works for Forge 1.10.2, right?
-
How does one get Forge working with Intellij. I have downloaded Forge, and I have run "Gradlew SetupDecompworkspace" and also "Gradlew Idea" I'm not sure what those commands did, or where I should point Intellij to so that it can find the MC sources.
-
Ah yeah, I see what you mean. I also have my particle defined in my block model if you take a look at that. I was trying various ways to get the particle to work, but forgot to delete that. Good eye.
-
Block registration code:
package avi.teleport.mod.init;
import avi.teleport.mod.Reference;
import avi.teleport.mod.blocks.Coord_Transporter;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.registry.GameRegistry;
public class TeleportBlocks {
public static Block coord_transporter;
public static void init(){
coord_transporter = new Coord_Transporter(Material.rock, "coord_transporter");
}
public static void register() {
GameRegistry.registerBlock(coord_transporter, coord_transporter.getUnlocalizedName().substring(5));
}
public static void registerRenders() {
registerRender(coord_transporter);
}
public static void registerRender(Block block) {
Item item = Item.getItemFromBlock(block);
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory"));
}
}
Then the block constructor is here:
package avi.teleport.mod.blocks;
import avi.teleport.mod.TeleportMod;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.util.EnumWorldBlockLayer;
public class Coord_Transporter extends Block {
public Coord_Transporter(Material materialIn, String name) {
super(materialIn);
this.setUnlocalizedName(name);
this.setCreativeTab(TeleportMod.tabTeleport);
}
@Override
public boolean isOpaqueCube()
{
return false;
}
@Override
public boolean isFullCube() {
return false;
}
@Override
public EnumWorldBlockLayer getBlockLayer() {
return EnumWorldBlockLayer.CUTOUT;
}
}
My item json is here:
{
"parent": "tm:block/coord_transporter",
"display": {
"thirdperson": {
"rotation": [ 10, -45, 170 ],
"translation": [ 0, 1.5, -2.75 ],
"scale": [ 0.375, 0.375, 0.375 ]
}
}
}
My block model is this:
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"textures": {
"particle": "blocks/wool_colored_light_blue",
"0": "blocks/wool_colored_light_blue",
"1": "tm:blocks/coord_transporter/blue",
"2": "tm:blocks/coord_transporter/red",
"3": "tm:blocks/coord_transporter/green",
"4": "blocks/glass"
},
"elements": [
{
"name": "Bottom Long",
"from": [ 14.0, 0.0, 0.0 ],
"to": [ 16.0, 2.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] }
}
},
{
"name": "Bottom Long",
"from": [ 0.0, 0.0, 0.0 ],
"to": [ 2.0, 2.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] }
}
},
{
"name": "Bottom Short",
"from": [ 2.0, 0.0, 0.0 ],
"to": [ 14.0, 2.0, 2.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }
}
},
{
"name": "Bottom Short",
"from": [ 2.0, 0.0, 14.0 ],
"to": [ 14.0, 2.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }
}
},
{
"name": "Side",
"from": [ 14.0, 2.0, 14.0 ],
"to": [ 16.0, 14.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
}
},
{
"name": "Side",
"from": [ 0.0, 2.0, 14.0 ],
"to": [ 2.0, 14.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
}
},
{
"name": "Side",
"from": [ 14.0, 2.0, 1.4901161193847656E-8 ],
"to": [ 16.0, 14.0, 2.000000014901161 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
}
},
{
"name": "Side",
"from": [ 0.0, 2.0, 0.0 ],
"to": [ 2.0, 14.0, 2.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
}
},
{
"name": "Top Long",
"from": [ 0.0, 14.0, 0.0 ],
"to": [ 2.0, 16.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] }
}
},
{
"name": "Top Long",
"from": [ 14.0, 14.0, 0.0 ],
"to": [ 16.0, 16.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] }
}
},
{
"name": "Top Short",
"from": [ 2.0, 14.0, 14.0 ],
"to": [ 14.0, 16.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }
}
},
{
"name": "Top Short",
"from": [ 2.0, 14.0, 0.0 ],
"to": [ 14.0, 16.0, 2.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }
}
},
{
"name": "X Axis",
"from": [ 7.499999992549419, 7.500000007450581, 4.0 ],
"to": [ 8.49999999254942, 8.50000000745058, 12.0 ],
"faces": {
"north": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"east": { "texture": "#1", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
"south": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"west": { "texture": "#1", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
"up": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 8.0 ] },
"down": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }
}
},
{
"name": "Y Axis",
"from": [ 4.0, 7.499999992549419, 7.499999992549419 ],
"to": [ 12.0, 8.49999999254942, 8.49999999254942 ],
"faces": {
"north": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
"east": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
"west": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"up": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
"down": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] }
}
},
{
"name": "Z Axis",
"from": [ 7.500000007450581, 4.0, 7.500000007450581 ],
"to": [ 8.50000000745058, 12.0, 8.50000000745058 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 8.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 8.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 8.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 8.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
}
},
{
"name": "Back",
"from": [ 2.0, 2.0, 0.6999999955296516 ],
"to": [ 14.0, 14.0, 1.299999974668026 ],
"faces": {
"north": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 0.3999999910593033, 14.0 ] },
"south": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 0.3999999910593033, 14.0 ] },
"up": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.3999999910593033 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.3999999910593033 ] }
}
},
{
"name": "Front",
"from": [ 2.0, 2.0, 14.700000010430813 ],
"to": [ 14.0, 14.0, 15.30000001937151 ],
"faces": {
"north": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 0.3999999910593033, 14.0 ] },
"south": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 0.3999999910593033, 14.0 ] },
"up": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.3999999910593033 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.3999999910593033 ] }
}
},
{
"name": "Down",
"from": [ 2.0, 0.7000000104308128, 2.0 ],
"to": [ 14.0, 1.3000000193715096, 14.0 ],
"faces": {
"north": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"up": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"down": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] }
}
},
{
"name": "Up",
"from": [ 2.0, 14.699999950826168, 2.0 ],
"to": [ 14.0, 15.299999959766865, 14.0 ],
"faces": {
"north": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"up": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"down": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] }
}
},
{
"name": "Left",
"from": [ 0.7000000402331352, 2.0, 2.0 ],
"to": [ 1.300000049173832, 14.0, 14.0 ],
"faces": {
"north": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"east": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"west": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"up": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] }
}
},
{
"name": "Right",
"from": [ 14.700000010430813, 2.0, 2.0 ],
"to": [ 15.300000004470348, 14.0, 14.0 ],
"faces": {
"north": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"east": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"west": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"up": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] }
}
}
]
}
And the block state is this:
{
"variants": {
"normal": {"model": "tm:coord_transporter"},
"particle": "blocks/wool_colored_light_blue"
}
}
Also I looked through your link, and got no helpful information. This because My block renders correctly in the my hotbar, but not in the world.
-
So I have this block model, and it's giving me trouble:
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"textures": {
"particle": "blocks/wool_colored_light_blue",
"0": "blocks/wool_colored_light_blue",
"1": "tm:blocks/coord_transporter/blue",
"2": "tm:blocks/coord_transporter/red",
"3": "tm:blocks/coord_transporter/green",
"4": "blocks/glass"
},
"elements": [
{
"name": "Bottom Long",
"from": [ 14.0, 0.0, 0.0 ],
"to": [ 16.0, 2.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] }
}
},
{
"name": "Bottom Long",
"from": [ 0.0, 0.0, 0.0 ],
"to": [ 2.0, 2.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] }
}
},
{
"name": "Bottom Short",
"from": [ 2.0, 0.0, 0.0 ],
"to": [ 14.0, 2.0, 2.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }
}
},
{
"name": "Bottom Short",
"from": [ 2.0, 0.0, 14.0 ],
"to": [ 14.0, 2.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }
}
},
{
"name": "Side",
"from": [ 14.0, 2.0, 14.0 ],
"to": [ 16.0, 14.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
}
},
{
"name": "Side",
"from": [ 0.0, 2.0, 14.0 ],
"to": [ 2.0, 14.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
}
},
{
"name": "Side",
"from": [ 14.0, 2.0, 1.4901161193847656E-8 ],
"to": [ 16.0, 14.0, 2.000000014901161 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
}
},
{
"name": "Side",
"from": [ 0.0, 2.0, 0.0 ],
"to": [ 2.0, 14.0, 2.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 14.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
}
},
{
"name": "Top Long",
"from": [ 0.0, 14.0, 0.0 ],
"to": [ 2.0, 16.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] }
}
},
{
"name": "Top Long",
"from": [ 14.0, 14.0, 0.0 ],
"to": [ 16.0, 16.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 16.0 ] }
}
},
{
"name": "Top Short",
"from": [ 2.0, 14.0, 14.0 ],
"to": [ 14.0, 16.0, 16.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }
}
},
{
"name": "Top Short",
"from": [ 2.0, 14.0, 0.0 ],
"to": [ 14.0, 16.0, 2.0 ],
"faces": {
"north": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"east": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"west": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"up": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
"down": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }
}
},
{
"name": "X Axis",
"from": [ 7.499999992549419, 7.500000007450581, 4.0 ],
"to": [ 8.49999999254942, 8.50000000745058, 12.0 ],
"faces": {
"north": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"east": { "texture": "#1", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
"south": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"west": { "texture": "#1", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
"up": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 8.0 ] },
"down": { "texture": "#1", "uv": [ 0.0, 0.0, 1.0, 8.0 ] }
}
},
{
"name": "Y Axis",
"from": [ 4.0, 7.499999992549419, 7.499999992549419 ],
"to": [ 12.0, 8.49999999254942, 8.49999999254942 ],
"faces": {
"north": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
"east": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"south": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
"west": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"up": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] },
"down": { "texture": "#2", "uv": [ 0.0, 0.0, 8.0, 1.0 ] }
}
},
{
"name": "Z Axis",
"from": [ 7.500000007450581, 4.0, 7.500000007450581 ],
"to": [ 8.50000000745058, 12.0, 8.50000000745058 ],
"faces": {
"north": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 8.0 ] },
"east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 8.0 ] },
"south": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 8.0 ] },
"west": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 8.0 ] },
"up": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
"down": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
}
},
{
"name": "Back",
"from": [ 2.0, 2.0, 0.6999999955296516 ],
"to": [ 14.0, 14.0, 1.299999974668026 ],
"faces": {
"north": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 0.3999999910593033, 14.0 ] },
"south": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 0.3999999910593033, 14.0 ] },
"up": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.3999999910593033 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.3999999910593033 ] }
}
},
{
"name": "Front",
"from": [ 2.0, 2.0, 14.700000010430813 ],
"to": [ 14.0, 14.0, 15.30000001937151 ],
"faces": {
"north": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 0.3999999910593033, 14.0 ] },
"south": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 0.3999999910593033, 14.0 ] },
"up": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.3999999910593033 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.3999999910593033 ] }
}
},
{
"name": "Down",
"from": [ 2.0, 0.7000000104308128, 2.0 ],
"to": [ 14.0, 1.3000000193715096, 14.0 ],
"faces": {
"north": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"up": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"down": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] }
}
},
{
"name": "Up",
"from": [ 2.0, 14.699999950826168, 2.0 ],
"to": [ 14.0, 15.299999959766865, 14.0 ],
"faces": {
"north": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"east": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"west": { "texture": "#4", "uv": [ 0.0, 0.0, 14.0, 0.4000000059604645 ] },
"up": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"down": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] }
}
},
{
"name": "Left",
"from": [ 0.7000000402331352, 2.0, 2.0 ],
"to": [ 1.300000049173832, 14.0, 14.0 ],
"faces": {
"north": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"east": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"west": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"up": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] }
}
},
{
"name": "Right",
"from": [ 14.700000010430813, 2.0, 2.0 ],
"to": [ 15.300000004470348, 14.0, 14.0 ],
"faces": {
"north": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"east": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"south": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"west": { "texture": "#4", "uv": [ 1.0, 1.0, 15.0, 15.0 ] },
"up": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] },
"down": { "texture": "#4", "uv": [ 0.0, 0.0, 0.4000000059604645, 14.0 ] }
}
}
]
}
I am using 1.8 and my issue is that the block is showing the black and purple checkered pattern when it's in the world. The Block renders correctly in my inventory, though.
I get the error:
java.lang.IllegalStateException: Not a JSON Object: "blocks/wool_colored_light_blue"
-
Well that worked. Actually running Gradlew eclipse.
-
Actually no. I ran "gradlew setup eclipse" I'm not sure how that would be different.
-
I followed the installation page on the wiki all the way to the end. I downloaded the recommended source of forge. I got Eclipse Mars. I did point the workspace to the Eclipse folder in my forge folder. Eclipse recognizes that Minecraft is the project for which I want to work on. However, when I try to open the project I get this message:
I cropped it just to show the problem I am getting.
Any and all help would be greatly appreciated.
-GrandMasterRubix
[1.10.2] Redstone and Block States.
in Modder Support
Posted
Can I just extend BlockRedstoneDiode? That's the most helpful for my scenario.