Compare commits

..

3 Commits

418 changed files with 473 additions and 954 deletions
+10 -4
View File
@@ -1,3 +1,10 @@
This is a fork of AE2 i made for trying to solve issues for the [Omnifactory](https://www.curseforge.com/minecraft/modpacks/omnifactory) modpack.
See https://github.com/PrototypeTrousers/Applied-Energistics-2/tree/AE2-Omnifactory branch for commits
and
https://github.com/PrototypeTrousers/Applied-Energistics-2/releases for the compiled jars.
[![Build master](https://img.shields.io/github/workflow/status/AppliedEnergistics/Applied-Energistics-2/Build%20master?style=flat-square)](https://github.com/AppliedEnergistics/Applied-Energistics-2/actions?query=workflow%3A%22Build+master%22)
[![Latest Release](https://img.shields.io/github/v/release/AppliedEnergistics/Applied-Energistics-2?style=flat-square&label=Release)](https://github.com/AppliedEnergistics/Applied-Energistics-2/releases)
[![Latest PreRelease](https://img.shields.io/github/v/release/AppliedEnergistics/Applied-Energistics-2?include_prereleases&style=flat-square&label=Pre)](https://github.com/AppliedEnergistics/Applied-Energistics-2/releases)
@@ -25,9 +32,9 @@ A Mod about Matter, Energy and using them to conquer the world..
## Contacts
* [Website](http://ae-mod.info/)
* [Discord](https://discord.gg/GygKjjm)
* [GitHub](https://github.com/AppliedEnergistics/Applied-Energistics-2)
* [IRC #appliedenergistics on esper.net](http://webchat.esper.net/?channels=appliedenergistics&prompt=1)
* [GitHub](https://github.com/AppliedEnergistics/Applied-Energistics-2)
* [Discord](https://discord.gg/GygKjjm)
## License
@@ -38,7 +45,7 @@ A Mod about Matter, Energy and using them to conquer the world..
- (c) 2013 - 2020 AlgorithmX2 et al
- [![License](https://img.shields.io/badge/License-LGPLv3-blue.svg?style=flat-square)](https://raw.githubusercontent.com/AppliedEnergistics/Applied-Energistics-2/rv2/LICENSE)
* Textures and Models
- (c) 2020, [Ridanisaurus Rid](https://github.com/Ridanisaurus/), (c) 2013 - 2020 AlgorithmX2 et al
- (c) 2013 - 2020 AlgorithmX2 et al
- [![License](https://img.shields.io/badge/License-CC%20BY--NC--SA%203.0-yellow.svg?style=flat-square)](https://creativecommons.org/licenses/by-nc-sa/3.0/)
* Text and Translations
- [![License](https://img.shields.io/badge/License-No%20Restriction-green.svg?style=flat-square)](https://creativecommons.org/publicdomain/zero/1.0/)
@@ -185,5 +192,4 @@ Thanks to
* Notch et al for Minecraft
* Lex et al for MinecraftForge
* AlgorithmX2 for AppliedEnergistics2
* [Ridanisaurus Rid](https://github.com/Ridanisaurus/) for the new 2020 textures
* all [contributors](https://github.com/AppliedEnergistics/Applied-Energistics-2/graphs/contributors)
+17 -2
View File
@@ -20,7 +20,6 @@ buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
maven { url = 'https://repo.spongepowered.org/maven' }
jcenter()
mavenCentral()
}
dependencies {
@@ -40,9 +39,15 @@ apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.spongepowered.mixin'
apply plugin: "eclipse"
// All jar files from this folder will be added automatically as runtime mod dependencies
def extraModsDir = "extra-mods-${minecraft_version}"
repositories {
flatDir {
name "extra-mods"
dir file(extraModsDir)
}
mavenLocal()
jcenter()
mavenCentral()
maven { // modmaven, maven proxy
name 'modmaven'
@@ -61,6 +66,16 @@ dependencies {
runtimeOnly fg.deobf("mezz.jei:jei-${jei_minecraft_version}:${jei_version}")
runtimeOnly fg.deobf("mcjty.theoneprobe:TheOneProbe-${minecraft_release}:${minecraft_release}-${top_version}")
// Locally sourced extra mods for runtime (i.e. testing)
for (extraModJar in fileTree(dir: extraModsDir, include: '*.jar')) {
def basename = extraModJar.name.substring(0, extraModJar.name.length() - ".jar".length())
def versionSep = basename.lastIndexOf('-')
assert versionSep != -1
def artifactId = basename.substring(0, versionSep)
def version = basename.substring(versionSep + 1)
runtimeOnly fg.deobf("extra-mods:$artifactId:$version")
}
// unit test dependencies
testCompile "junit:junit:4.13"
+1 -1
View File
@@ -11,7 +11,7 @@ artifact_basename=appliedenergistics2
minecraft_release=1.16
minecraft_version=1.16.3
mcp_mappings=20200916-1.16.2
forge_version=34.0.8
forge_version=34.1.15
#########################################################
# Provided APIs #
@@ -35,9 +35,7 @@ import appeng.tile.networking.EnergyCellTileEntity;
public class EnergyCellBlock extends AEBaseTileBlock<EnergyCellTileEntity> {
public static final int MAX_FULLNESS = 4;
public static final IntegerProperty ENERGY_STORAGE = IntegerProperty.create("fullness", 0, MAX_FULLNESS);
public static final IntegerProperty ENERGY_STORAGE = IntegerProperty.create("fullness", 0, 7);
public EnergyCellBlock() {
super(defaultProps(AEMaterials.GLASS));
@@ -142,6 +142,7 @@ public class CableBusBakedModel implements IBakedModel {
}
}
}
this.facadeBuilder.buildFacadeQuads(layer, renderState, rand, quads, this.partModels::get);
return quads;
@@ -327,12 +328,12 @@ public class CableBusBakedModel implements IBakedModel {
@Override
public boolean isGui3d() {
return false;
return false; // This model is never used in an UI
}
@Override
public boolean isSideLit() {
return false;// TODO
return false; // This model is never used in an UI
}
@Override
@@ -18,7 +18,9 @@
package appeng.client.render.cablebus;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Stream;
@@ -37,6 +39,7 @@ import net.minecraftforge.client.model.IModelConfiguration;
import appeng.api.util.AEColor;
import appeng.client.render.BasicUnbakedModel;
import appeng.core.AELog;
import appeng.core.AppEng;
import appeng.core.features.registries.PartModels;
/**
@@ -44,6 +47,8 @@ import appeng.core.features.registries.PartModels;
*/
public class CableBusModel implements BasicUnbakedModel<CableBusModel> {
public static final ResourceLocation TRANSLUCENT_FACADE_MODEL = AppEng.makeId("part/translucent_facade");
private final PartModels partModels;
public CableBusModel(PartModels partModels) {
@@ -53,7 +58,9 @@ public class CableBusModel implements BasicUnbakedModel<CableBusModel> {
@Override
public Collection<ResourceLocation> getModelDependencies() {
partModels.setInitialized(true);
return partModels.getModels();
List<ResourceLocation> models = new ArrayList<>(partModels.getModels());
models.add(TRANSLUCENT_FACADE_MODEL);
return models;
}
@Override
@@ -68,7 +75,11 @@ public class CableBusModel implements BasicUnbakedModel<CableBusModel> {
Map<ResourceLocation, IBakedModel> partModels = this.loadPartModels(bakery, spriteGetter, modelTransform);
CableBuilder cableBuilder = new CableBuilder(spriteGetter);
FacadeBuilder facadeBuilder = new FacadeBuilder();
IBakedModel translucentFacadeModel = bakery.getBakedModel(TRANSLUCENT_FACADE_MODEL, modelTransform,
spriteGetter);
FacadeBuilder facadeBuilder = new FacadeBuilder(translucentFacadeModel);
// This should normally not be used, but we *have* to provide a particle texture
// or otherwise damage models will
@@ -20,6 +20,7 @@ package appeng.client.render.cablebus;
import java.util.ArrayList;
import java.util.Collections;
import java.util.EnumMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
@@ -29,6 +30,8 @@ import java.util.function.Function;
import javax.annotation.Nullable;
import com.google.common.collect.ImmutableList;
import net.minecraft.block.BlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.BlockRendererDispatcher;
@@ -88,6 +91,9 @@ public class FacadeBuilder {
new AxisAlignedBB(0.0, 0.0, 0.0, THIN_THICKNESS, 1.0, 1.0),
new AxisAlignedBB(1.0 - THIN_THICKNESS, 0.0, 0.0, 1.0, 1.0, 1.0) };
// Pre-rotated transparent facade quads
private final Map<Direction, List<BakedQuad>> transparentFacadeQuads;
private final ThreadLocal<BakedPipeline> pipelines = ThreadLocal.withInitial(() -> BakedPipeline.builder()
// Clamper is responsible for clamping the vertex to the bounds specified.
.addElement("clamper", QuadClamper.FACTORY)
@@ -104,6 +110,29 @@ public class FacadeBuilder {
);
private final ThreadLocal<Quad> collectors = ThreadLocal.withInitial(Quad::new);
public FacadeBuilder() {
// This constructor is used for item models where transparent facades are not a
// concern
this.transparentFacadeQuads = new EnumMap<>(Direction.class);
for (Direction facing : Direction.values()) {
this.transparentFacadeQuads.put(facing, Collections.emptyList());
}
}
public FacadeBuilder(IBakedModel transparentFacadeModel) {
// Pre-rotate the transparent facade model to all possible sides so that we can
// add it quicker later
List<BakedQuad> partQuads = transparentFacadeModel.getQuads(null, null, new Random(), EmptyModelData.INSTANCE);
this.transparentFacadeQuads = new EnumMap<>(Direction.class);
for (Direction facing : Direction.values()) {
// Rotate quads accordingly
QuadRotator rotator = new QuadRotator();
List<BakedQuad> rotated = rotator.rotateQuads(partQuads, facing, Direction.UP);
this.transparentFacadeQuads.put(facing, ImmutableList.copyOf(rotated));
}
}
public void buildFacadeQuads(RenderType layer, CableBusRenderState renderState, Random rand, List<BakedQuad> quads,
Function<ResourceLocation, IBakedModel> modelLookup) {
BakedPipeline pipeline = this.pipelines.get();
@@ -130,14 +159,20 @@ public class FacadeBuilder {
Direction.UP));
}
}
// If we are forcing transparency and this isn't the Translucent layer.
if (transparent && layer != RenderType.getTranslucent()) {
// When we're forcing transparent facades, add a "border" model that indicates
// where the facade is,
// But otherwise skip the rest.
if (transparent) {
if (layer != RenderType.getCutout()) {
quads.addAll(transparentFacadeQuads.get(side));
}
continue;
}
BlockState blockState = facadeRenderState.getSourceBlock();
// If we aren't forcing transparency let the block decide if it should render.
if (!transparent && layer != null) {
if (layer != null) {
if (!RenderTypeLookup.canRenderInLayer(blockState, layer)) {
continue;
}
@@ -198,7 +233,7 @@ public class FacadeBuilder {
List<BakedQuad> modelQuads = new ArrayList<>();
// If we are forcing transparent facades, fake the render layer, and grab all
// quads.
if (transparent || layer == null) {
if (layer == null) {
for (RenderType forcedLayer : RenderType.getBlockRenderTypes()) {
// Check if the block renders on the layer we want to force.
if (RenderTypeLookup.canRenderInLayer(blockState, forcedLayer)) {
@@ -55,8 +55,7 @@ import appeng.core.AppEng;
@OnlyIn(Dist.CLIENT)
public class MolecularAssemblerRenderer extends TileEntityRenderer<MolecularAssemblerTileEntity> {
public static final ResourceLocation LIGHTS_MODEL = new ResourceLocation(AppEng.MOD_ID,
"block/molecular_assembler_lights");
public static final ResourceLocation LIGHTS_MODEL = AppEng.makeId("block/molecular_assembler_lights");
private static final RenderType MC_161917_RENDERTYPE_FIX = createRenderType();
@@ -21,7 +21,6 @@ package appeng.tile.networking;
import net.minecraft.block.BlockState;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.tileentity.TileEntityType;
import net.minecraft.util.math.MathHelper;
import appeng.api.config.AccessRestriction;
import appeng.api.config.Actionable;
@@ -68,9 +67,15 @@ public class EnergyCellTileEntity extends AENetworkTileEntity implements IAEPowe
* block. This is also used for determining the item model.
*/
public static int getStorageLevelFromFillFactor(double fillFactor) {
byte factor = (byte) (8.0 * (fillFactor));
byte boundMetadata = (byte) (8.0 * (fillFactor));
return MathHelper.clamp(factor, 0, EnergyCellBlock.MAX_FULLNESS);
if (boundMetadata > 7) {
boundMetadata = 7;
}
if (boundMetadata < 0) {
boundMetadata = 0;
}
return boundMetadata;
}
private void changePowerLevel() {
@@ -1,15 +1,7 @@
{
"variants": {
"": [
{
"model": "appliedenergistics2:block/charged_quartz_ore_0",
"weight": 1
},
{
"model": "appliedenergistics2:block/charged_quartz_ore_1",
"weight": 1
},
{ "model": "appliedenergistics2:block/charged_quartz_ore_2", "weight": 1 }
]
"": {
"model": "appliedenergistics2:block/charged_quartz_ore"
}
}
}
@@ -1,19 +1,28 @@
{
"variants": {
"fullness=0": {
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell_0"
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell0"
},
"fullness=1": {
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell_1"
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell1"
},
"fullness=2": {
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell_2"
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell2"
},
"fullness=3": {
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell_3"
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell3"
},
"fullness=4": {
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell_4"
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell4"
},
"fullness=5": {
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell5"
},
"fullness=6": {
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell6"
},
"fullness=7": {
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell7"
}
}
}
@@ -1,19 +1,28 @@
{
"variants": {
"fullness=0": {
"model": "appliedenergistics2:block/energy_cell/energy_cell_0"
"model": "appliedenergistics2:block/energy_cell/energy_cell0"
},
"fullness=1": {
"model": "appliedenergistics2:block/energy_cell/energy_cell_1"
"model": "appliedenergistics2:block/energy_cell/energy_cell1"
},
"fullness=2": {
"model": "appliedenergistics2:block/energy_cell/energy_cell_2"
"model": "appliedenergistics2:block/energy_cell/energy_cell2"
},
"fullness=3": {
"model": "appliedenergistics2:block/energy_cell/energy_cell_3"
"model": "appliedenergistics2:block/energy_cell/energy_cell3"
},
"fullness=4": {
"model": "appliedenergistics2:block/energy_cell/energy_cell_4"
"model": "appliedenergistics2:block/energy_cell/energy_cell4"
},
"fullness=5": {
"model": "appliedenergistics2:block/energy_cell/energy_cell5"
},
"fullness=6": {
"model": "appliedenergistics2:block/energy_cell/energy_cell6"
},
"fullness=7": {
"model": "appliedenergistics2:block/energy_cell/energy_cell7"
}
}
}
@@ -1,10 +1,7 @@
{
"variants": {
"": [
{ "model": "appliedenergistics2:block/quartz_ore_0", "weight": 1 },
{ "model": "appliedenergistics2:block/quartz_ore_1", "weight": 1 },
{ "model": "appliedenergistics2:block/quartz_ore_2", "weight": 1 },
{ "model": "appliedenergistics2:block/quartz_ore_3", "weight": 1 }
]
"": {
"model": "appliedenergistics2:block/quartz_ore"
}
}
}
@@ -2,7 +2,7 @@
"parent": "block/block",
"textures": {
"block": "block/stone",
"quartz": "appliedenergistics2:block/charged_quartz_ore_light_0",
"quartz": "appliedenergistics2:block/charged_quartz_ore_light",
"particle": "appliedenergistics2:block/charged_quartz_ore"
},
"elements": [
@@ -1,77 +0,0 @@
{
"parent": "block/block",
"textures": {
"block": "block/stone",
"quartz": "appliedenergistics2:block/charged_quartz_ore_light_1",
"particle": "appliedenergistics2:block/charged_quartz_ore"
},
"elements": [
{
"faces": {
"down": {
"texture": "#block",
"cullface": "down"
},
"east": {
"texture": "#block",
"cullface": "east"
},
"north": {
"texture": "#block",
"cullface": "north"
},
"south": {
"texture": "#block",
"cullface": "south"
},
"up": {
"texture": "#block",
"cullface": "up"
},
"west": {
"texture": "#block",
"cullface": "west"
}
},
"from": [0, 0, 0],
"to": [16, 16, 16]
},
{
"faces": {
"down": {
"texture": "#quartz",
"cullface": "down",
"unlit": true
},
"east": {
"texture": "#quartz",
"cullface": "east",
"unlit": true
},
"north": {
"texture": "#quartz",
"cullface": "north",
"unlit": true
},
"south": {
"texture": "#quartz",
"cullface": "south",
"unlit": true
},
"up": {
"texture": "#quartz",
"cullface": "up",
"unlit": true
},
"west": {
"texture": "#quartz",
"cullface": "west",
"unlit": true
}
},
"from": [0, 0, 0],
"shade": true,
"to": [16, 16, 16]
}
]
}
@@ -1,77 +0,0 @@
{
"parent": "block/block",
"textures": {
"block": "block/stone",
"quartz": "appliedenergistics2:block/charged_quartz_ore_light_2",
"particle": "appliedenergistics2:block/charged_quartz_ore"
},
"elements": [
{
"faces": {
"down": {
"texture": "#block",
"cullface": "down"
},
"east": {
"texture": "#block",
"cullface": "east"
},
"north": {
"texture": "#block",
"cullface": "north"
},
"south": {
"texture": "#block",
"cullface": "south"
},
"up": {
"texture": "#block",
"cullface": "up"
},
"west": {
"texture": "#block",
"cullface": "west"
}
},
"from": [0, 0, 0],
"to": [16, 16, 16]
},
{
"faces": {
"down": {
"texture": "#quartz",
"cullface": "down",
"unlit": true
},
"east": {
"texture": "#quartz",
"cullface": "east",
"unlit": true
},
"north": {
"texture": "#quartz",
"cullface": "north",
"unlit": true
},
"south": {
"texture": "#quartz",
"cullface": "south",
"unlit": true
},
"up": {
"texture": "#quartz",
"cullface": "up",
"unlit": true
},
"west": {
"texture": "#quartz",
"cullface": "west",
"unlit": true
}
},
"from": [0, 0, 0],
"shade": true,
"to": [16, 16, 16]
}
]
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell0"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell1"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell2"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell3"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell4"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell5"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell6"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell7"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell_0"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell_1"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell_2"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell_3"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell_4"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/dense_energy_cell_5"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/quartz_ore_0"
"all": "appliedenergistics2:block/energy_cell0"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/quartz_ore_1"
"all": "appliedenergistics2:block/energy_cell1"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/quartz_ore_2"
"all": "appliedenergistics2:block/energy_cell2"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/quartz_ore_3"
"all": "appliedenergistics2:block/energy_cell3"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/energy_cell4"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/energy_cell5"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/energy_cell6"
}
}
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/energy_cell7"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/energy_cell_0"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/energy_cell_1"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/energy_cell_2"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/energy_cell_3"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/energy_cell_4"
}
}
@@ -1,6 +0,0 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/energy_cell_5"
}
}
@@ -1,10 +1,9 @@
{
"credit": "Made with Blockbench",
"parent": "block/orientable",
"textures": {
"inside": "appliedenergistics2:block/inscriber_internal",
"particle": "appliedenergistics2:block/inscriber",
"side": "appliedenergistics2:block/inscriber"
"side": "appliedenergistics2:block/inscriber",
"inside": "appliedenergistics2:block/inscriber_inside"
},
"elements": [
{
@@ -12,11 +11,26 @@
"from": [1, 0, 1],
"to": [15, 1, 15],
"faces": {
"north": { "uv": [1, 15, 15, 16], "texture": "#side" },
"east": { "uv": [1, 0, 15, 1], "texture": "#side" },
"south": { "uv": [1, 0, 15, 1], "texture": "#side" },
"west": { "uv": [1, 0, 15, 1], "texture": "#side" },
"down": { "uv": [1, 1, 15, 15], "texture": "#side" }
"down": {
"texture": "#side",
"uv": [1, 1, 15, 15]
},
"east": {
"texture": "#side",
"uv": [1, 0, 15, 1]
},
"north": {
"texture": "#side",
"uv": [1, 15, 15, 16]
},
"south": {
"texture": "#side",
"uv": [1, 0, 15, 1]
},
"west": {
"texture": "#side",
"uv": [1, 0, 15, 1]
}
}
},
{
@@ -24,11 +38,26 @@
"from": [1, 15, 1],
"to": [15, 16, 15],
"faces": {
"north": { "uv": [1, 15, 15, 16], "texture": "#side" },
"east": { "uv": [1, 0, 15, 1], "texture": "#side" },
"south": { "uv": [1, 0, 15, 1], "texture": "#side" },
"west": { "uv": [1, 15, 15, 16], "texture": "#side" },
"up": { "uv": [1, 1, 15, 15], "texture": "#side" }
"east": {
"texture": "#side",
"uv": [1, 0, 15, 1]
},
"north": {
"texture": "#side",
"uv": [1, 15, 15, 16]
},
"south": {
"texture": "#side",
"uv": [1, 0, 15, 1]
},
"up": {
"texture": "#side",
"uv": [1, 1, 15, 15]
},
"west": {
"texture": "#side",
"uv": [1, 15, 15, 16]
}
}
},
{
@@ -36,12 +65,30 @@
"from": [0, 1, 0],
"to": [3, 15, 16],
"faces": {
"north": { "uv": [13, 1, 16, 15], "texture": "#side" },
"east": { "uv": [0, 1, 16, 15], "texture": "#inside" },
"south": { "uv": [0, 1, 3, 15], "texture": "#side" },
"west": { "uv": [0, 1, 16, 15], "texture": "#side" },
"up": { "uv": [0, 0, 3, 16], "texture": "#side" },
"down": { "uv": [0, 0, 3, 16], "texture": "#side" }
"down": {
"texture": "#side",
"uv": [0, 1, 3, 15]
},
"east": {
"texture": "#side",
"uv": [0, 1, 16, 15]
},
"north": {
"texture": "#side",
"uv": [13, 1, 16, 15]
},
"south": {
"texture": "#side",
"uv": [0, 1, 3, 15]
},
"up": {
"texture": "#side",
"uv": [0, 0, 3, 6]
},
"west": {
"texture": "#side",
"uv": [0, 1, 16, 15]
}
}
},
{
@@ -49,12 +96,30 @@
"from": [13, 1, 0],
"to": [16, 15, 16],
"faces": {
"north": { "uv": [0, 1, 3, 15], "texture": "#side" },
"east": { "uv": [0, 1, 16, 15], "texture": "#side" },
"south": { "uv": [13, 1, 16, 15], "texture": "#side" },
"west": { "uv": [0, 1, 16, 15], "texture": "#inside" },
"up": { "uv": [13, 0, 16, 16], "texture": "#side" },
"down": { "uv": [0, 0, 3, 16], "rotation": 180, "texture": "#side" }
"down": {
"texture": "#side",
"uv": [0, 1, 3, 15]
},
"east": {
"texture": "#side",
"uv": [0, 1, 16, 15]
},
"north": {
"texture": "#side",
"uv": [0, 1, 3, 15]
},
"south": {
"texture": "#side",
"uv": [13, 1, 16, 15]
},
"up": {
"texture": "#side",
"uv": [13, 1, 16, 15]
},
"west": {
"texture": "#side",
"uv": [0, 1, 16, 15]
}
}
},
{
@@ -62,10 +127,22 @@
"from": [3, 1, 13],
"to": [13, 15, 16],
"faces": {
"north": { "uv": [3, 1, 13, 15], "texture": "#inside" },
"south": { "uv": [3, 1, 13, 15], "texture": "#side" },
"up": { "uv": [3, 0, 13, 3], "rotation": 180, "texture": "#side" },
"down": { "uv": [3, 13, 13, 16], "rotation": 180, "texture": "#side" }
"down": {
"texture": "#side",
"uv": [3, 0, 13, 3]
},
"north": {
"texture": "#side",
"uv": [3, 1, 13, 15]
},
"south": {
"texture": "#side",
"uv": [3, 1, 13, 15]
},
"up": {
"texture": "#side",
"uv": [3, 0, 13, 3]
}
}
},
{
@@ -73,8 +150,14 @@
"from": [3, 1, 1],
"to": [13, 4, 13],
"faces": {
"north": { "uv": [3, 13, 13, 16], "texture": "#side" },
"up": { "uv": [3, 2, 13, 14], "texture": "#inside" }
"north": {
"texture": "#side",
"uv": [3, 12, 13, 15]
},
"up": {
"texture": "#side",
"uv": [3, 1, 13, 13]
}
}
},
{
@@ -82,8 +165,14 @@
"from": [3, 12, 1],
"to": [13, 15, 11],
"faces": {
"north": { "uv": [3, 0, 13, 3], "texture": "#side" },
"down": { "uv": [3, 3, 13, 13], "texture": "#inside" }
"down": {
"texture": "#side",
"uv": [3, 1, 13, 11]
},
"north": {
"texture": "#side",
"uv": [3, 1, 13, 4]
}
}
}
]
@@ -0,0 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/quartz_ore"
}
}
@@ -1,29 +1,47 @@
{
"parent": "appliedenergistics2:block/energy_cell/dense_energy_cell_0",
"parent": "appliedenergistics2:block/energy_cell/dense_energy_cell0",
"overrides": [
{
"predicate": {
"appliedenergistics2:fill_level": 0
"appliedenergistics2:fill_level": 0.125
},
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell_1"
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell1"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.25
},
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell_2"
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell2"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.375
},
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell3"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.5
},
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell_3"
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell4"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.625
},
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell5"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.75
},
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell_4"
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell6"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.875
},
"model": "appliedenergistics2:block/energy_cell/dense_energy_cell7"
}
]
}
@@ -1,29 +1,47 @@
{
"parent": "appliedenergistics2:block/energy_cell/energy_cell_0",
"parent": "appliedenergistics2:block/energy_cell/energy_cell0",
"overrides": [
{
"predicate": {
"appliedenergistics2:fill_level": 0
"appliedenergistics2:fill_level": 0.125
},
"model": "appliedenergistics2:block/energy_cell/energy_cell_1"
"model": "appliedenergistics2:block/energy_cell/energy_cell1"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.25
},
"model": "appliedenergistics2:block/energy_cell/energy_cell_2"
"model": "appliedenergistics2:block/energy_cell/energy_cell2"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.375
},
"model": "appliedenergistics2:block/energy_cell/energy_cell3"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.5
},
"model": "appliedenergistics2:block/energy_cell/energy_cell_3"
"model": "appliedenergistics2:block/energy_cell/energy_cell4"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.625
},
"model": "appliedenergistics2:block/energy_cell/energy_cell5"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.75
},
"model": "appliedenergistics2:block/energy_cell/energy_cell_4"
"model": "appliedenergistics2:block/energy_cell/energy_cell6"
},
{
"predicate": {
"appliedenergistics2:fill_level": 0.875
},
"model": "appliedenergistics2:block/energy_cell/energy_cell7"
}
]
}
@@ -1,6 +1,6 @@
{
"parent": "appliedenergistics2:item/p2p_tunnel_base",
"textures": {
"type": "appliedenergistics2:block/fluid_interface"
"type": "block/lapis_block"
}
}
@@ -1,6 +1,3 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:block/quartz_ore_0"
}
"parent": "appliedenergistics2:block/quartz_ore"
}
@@ -1,39 +0,0 @@
{
"textures": {
"0": "appliedenergistics2:part/cable_anchor",
"particle": "appliedenergistics2:part/cable_anchor"
},
"elements": [
{
"name": "Element",
"from": [7.0, 7.0, 1.0],
"to": [9.0, 9.0, 6.0],
"faces": {
"north": {
"texture": "#0",
"uv": [0.0, 0.0, 2.0, 2.0]
},
"east": {
"texture": "#0",
"uv": [0.0, 0.0, 5.0, 2.0]
},
"south": {
"texture": "#0",
"uv": [0.0, 0.0, 2.0, 2.0]
},
"west": {
"texture": "#0",
"uv": [0.0, 0.0, 5.0, 2.0]
},
"up": {
"texture": "#0",
"uv": [0.0, 0.0, 2.0, 5.0]
},
"down": {
"texture": "#0",
"uv": [0.0, 0.0, 2.0, 5.0]
}
}
}
]
}
@@ -1,6 +1,6 @@
{
"parent": "appliedenergistics2:part/p2p/p2p_tunnel_base",
"textures": {
"type": "appliedenergistics2:block/fluid_interface"
"type": "block/lapis_block"
}
}
@@ -0,0 +1,58 @@
{
"textures": {
"facade": "appliedenergistics2:part/translucent_facade"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 0.25, 0.25],
"faces": {
"north": { "uv": [0, 15.75, 16, 16], "texture": "#facade" },
"east": { "uv": [15.75, 15.75, 16, 16], "texture": "#facade" },
"south": { "uv": [0, 15.75, 16, 16], "texture": "#facade" },
"west": { "uv": [0, 15.75, 1, 16], "texture": "#facade" },
"up": { "uv": [0, 0, 16, 1], "texture": "#facade" },
"down": { "uv": [0, 15.75, 16, 16], "texture": "#facade" }
}
},
{
"from": [0, 15.75, 0],
"to": [16, 16, 0.25],
"rotation": { "angle": 0, "axis": "y", "origin": [8, 23, 8] },
"faces": {
"north": { "uv": [0, 0, 16, 1], "texture": "#facade" },
"east": { "uv": [15.75, 0, 16, 1], "texture": "#facade" },
"south": { "uv": [0, 0, 16, 1], "texture": "#facade" },
"west": { "uv": [0, 0, 1, 1], "texture": "#facade" },
"up": { "uv": [0, 0, 16, 1], "texture": "#facade" },
"down": { "uv": [0, 15.75, 16, 16], "texture": "#facade" }
}
},
{
"from": [0, 0.25, 0],
"to": [0.25, 15.75, 0.25],
"rotation": { "angle": 0, "axis": "y", "origin": [8, 23, 8] },
"faces": {
"north": { "uv": [15.75, 1, 16, 15.75], "texture": "#facade" },
"east": { "uv": [15.75, 1, 16, 15.75], "texture": "#facade" },
"south": { "uv": [0, 1, 1, 15.75], "texture": "#facade" },
"west": { "uv": [0, 1, 1, 15.75], "texture": "#facade" },
"up": { "uv": [0, 0, 1, 1], "texture": "#facade" },
"down": { "uv": [0, 15.75, 1, 16], "texture": "#facade" }
}
},
{
"from": [15.75, 0.25, 0],
"to": [16, 15.75, 0.25],
"rotation": { "angle": 0, "axis": "y", "origin": [23, 23, 8] },
"faces": {
"north": { "uv": [0, 1, 1, 15.75], "texture": "#facade" },
"east": { "uv": [15.75, 1, 16, 15.75], "texture": "#facade" },
"south": { "uv": [15.75, 1, 16, 15.75], "texture": "#facade" },
"west": { "uv": [0, 1, 1, 15.75], "texture": "#facade" },
"up": { "uv": [15.75, 0, 16, 1], "texture": "#facade" },
"down": { "uv": [15.75, 15.75, 16, 16], "texture": "#facade" }
}
}
]
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 826 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

@@ -1,49 +0,0 @@
{
"animation": {
"interpolate": true,
"frames": [
{
"index": 0,
"time": 25
},
{
"index": 1,
"time": 2
},
{
"index": 2,
"time": 2
},
{
"index": 3,
"time": 2
}
,
{
"index": 4,
"time": 2
},
{
"index": 5,
"time": 2
},
{
"index": 6,
"time": 2
},
{
"index": 7,
"time": 2
}
,
{
"index": 8,
"time": 2
},
{
"index": 9,
"time": 2
}
]
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

@@ -1,49 +0,0 @@
{
"animation": {
"interpolate": true,
"frames": [
{
"index": 0,
"time": 2
},
{
"index": 1,
"time": 2
},
{
"index": 2,
"time": 2
},
{
"index": 3,
"time": 2
}
,
{
"index": 4,
"time": 2
},
{
"index": 5,
"time": 2
},
{
"index": 6,
"time": 2
},
{
"index": 7,
"time": 2
}
,
{
"index": 8,
"time": 25
},
{
"index": 9,
"time": 2
}
]
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

@@ -1,49 +0,0 @@
{
"animation": {
"interpolate": true,
"frames": [
{
"index": 0,
"time": 2
},
{
"index": 1,
"time": 2
},
{
"index": 2,
"time": 25
},
{
"index": 3,
"time": 2
}
,
{
"index": 4,
"time": 2
},
{
"index": 5,
"time": 2
},
{
"index": 6,
"time": 2
},
{
"index": 7,
"time": 2
}
,
{
"index": 8,
"time": 2
},
{
"index": 9,
"time": 2
}
]
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -1,6 +1,6 @@
{
"animation": {
"frametime": 2,
"frametime": 3,
"frames": [
1,
2,
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

@@ -1,6 +1,6 @@
{
"animation": {
"frametime": 2,
"frametime": 3,
"frames": [
0,
1,
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 273 B

@@ -1,39 +0,0 @@
{
"animation": {
"interpolate": true,
"frames": [
{
"index": 0,
"time": 90
},
{
"index": 1,
"time": 2
},
{
"index": 2,
"time": 2
},
{
"index": 3,
"time": 2
},
{
"index": 4,
"time": 2
},
{
"index": 5,
"time": 2
},
{
"index": 6,
"time": 2
},
{
"index": 7,
"time": 2
}
]
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 281 B

Some files were not shown because too many files have changed in this diff Show More