spriteLookup) {
- return prov.getOrCreateTemplateApperanceManager(spriteLookup);
- }
-
- @Override
- public @NotNull Renderer getFabricRenderer() {
- Renderer obj = RendererAccess.INSTANCE.getRenderer();
- if(obj != null) return obj;
-
- //Welp, not much more we can do, this mod heavily relies on frapi
- String msg = "A Fabric Rendering API implementation is required to use Templates 2!";
-
- if(!FabricLoader.getInstance().isModLoaded("fabric-renderer-indigo"))
- msg += "\nI noticed you don't have Indigo installed, which is a part of the complete Fabric API package.";
- if(FabricLoader.getInstance().isModLoaded("sodium"))
- msg += "\nI noticed you have Sodium installed - consider also installing Indium to provide a compatible renderer implementation.";
-
- throw new NullPointerException(msg);
- }
-}
diff --git a/src/main/java/fr/adrien1106/reframedtemplates/api/TemplatesClientApi.java b/src/main/java/fr/adrien1106/reframedtemplates/api/TemplatesClientApi.java
deleted file mode 100644
index f3c12c1..0000000
--- a/src/main/java/fr/adrien1106/reframedtemplates/api/TemplatesClientApi.java
+++ /dev/null
@@ -1,116 +0,0 @@
-package fr.adrien1106.reframedtemplates.api;
-
-import fr.adrien1106.reframedtemplates.model.apperance.TemplateAppearanceManager;
-import fr.adrien1106.reframedtemplates.TemplatesClient;
-import net.fabricmc.fabric.api.renderer.v1.Renderer;
-import net.fabricmc.fabric.api.renderer.v1.mesh.Mesh;
-import net.minecraft.block.BlockState;
-import net.minecraft.client.render.model.UnbakedModel;
-import net.minecraft.client.texture.Sprite;
-import net.minecraft.client.util.ModelIdentifier;
-import net.minecraft.client.util.SpriteIdentifier;
-import net.minecraft.item.ItemConvertible;
-import net.minecraft.util.Identifier;
-import org.jetbrains.annotations.ApiStatus;
-import org.jetbrains.annotations.NotNull;
-
-import java.util.function.Function;
-import java.util.function.Supplier;
-
-@ApiStatus.AvailableSince("2.2")
-@SuppressWarnings({"unused", "UnusedReturnValue"}) //this is all public api
-public interface TemplatesClientApi {
- /**
- * Obtain the current API instance.
- */
- static TemplatesClientApi getInstance() {
- return TemplatesClient.API_IMPL;
- }
-
- /// CONSTRUCTING UNBAKED MODELS ///
-
- /**
- * - the quad: Sourced from the ID you pass in. It can be a json model.
- * - whether you want to retexture it: "Yes". All quads will be retextured.
- * - what face of the block: Automatically determined by facing direction.
- */
- TweakableUnbakedModel auto(Identifier parent);
-
- /**
- * - the quad: Sourced from the ID you pass in. It can be a json model.
- * - whether you want to retexture it: Determined from the texture applied to the quad.
- * - what face of the block: Determined via the texture applied to the quad.
- */
- TweakableUnbakedModel json(Identifier parent);
-
- /**
- * - the quad: Sourced from a `Mesh`.
- * - whether you want to retexture it: Quads with a nonzero `tag`.
- * - what face of the block: Determined from the `tag`.
- *
- * This form doesn't give the ability to look up sprites, so it's hard to make a sensible quad that won't be retextured.
- */
- default TweakableUnbakedModel mesh(Identifier parent, Supplier baseMeshFactory) {
- return mesh(parent, __ -> baseMeshFactory.get());
- }
-
- /**
- * - the quad: Sourced from a `Mesh`.
- * - whether you want to retexture it: Quads with a nonzero `tag`.
- * - what face of the block: Determined from the `tag`.
- *
- * You can use the provided Function to look up sprite UVs and put them on faces with a 0 tag.
- * These faces will not get retextured.
- */
- TweakableUnbakedModel mesh(Identifier parent, Function, Mesh> baseMeshFactory);
-
- /**
- * Get the TemplateAppearanceManager instance. To retexture a template, there has to be some way of determining what texture should
- * go on the top, what texture should go on the north side, and the TemplateAppearanceManager is in charge of gleaning this information
- * from the target blockmodels. It also caches this information.
- *
- * There is one TemplateApperanceManager per resource-load. Please obtain a new one every model bake.
- *
- * @param spriteLookup Something you'll find as part of UnbakedModel#bake.
- */
- TemplateAppearanceManager getOrCreateTemplateApperanceManager(Function spriteLookup);
-
- /// REGISTERING UNBAKED MODELS ///
-
- /**
- * Register an UnbakedModel to be loaded behind a particular ID.
- * Astute viewers will note that this is, *currently*, a thin wrapper around the fabric ModelResourceProvider system.
- */
- void addTemplateModel(Identifier id, UnbakedModel unbaked);
-
- /**
- * When the game loads this ModelIdentifier, it will instead load the UnbakedModel corresponding to the id passed to addTemplateModel.
- * Astute viewers will note that this is, *currently*, a thin wrapper around the fabric ModelVariantProvider system.
- */
- void assignItemModel(Identifier templateModelId, ModelIdentifier... modelIds);
-
- /**
- * Calls assignItemModel(Identifier, ModelIdentifier) with "#inventory" appended.
- * In practice: you can pass an item's ID.
- */
- void assignItemModel(Identifier templateModelId, Identifier... itemIds);
-
- /**
- * Calls assignItemModel(Identifier, Identifier) by first converting the argument to an item, then taking its ID.
- * In practice: you can pass a Block (or Item), and the model will be assigned to the block's item form.
- */
- void assignItemModel(Identifier templateModelId, ItemConvertible... itemConvs);
-
- /// OTHER STUFF LOL ///
-
- /**
- * Simple wrapper around fabric's RenderAccess.INSTANCE.getRenderer() that throws a slightly more informative error if one is not
- * present. Note that NullPointerException is not a checked exception.
- */
- @NotNull Renderer getFabricRenderer() throws NullPointerException;
-
- interface TweakableUnbakedModel extends UnbakedModel {
- TweakableUnbakedModel disableAo();
- TweakableUnbakedModel itemModelState(BlockState state);
- }
-}
diff --git a/src/main/java/fr/adrien1106/reframedtemplates/mixin/particles/AccessorParticle.java b/src/main/java/fr/adrien1106/reframedtemplates/mixin/particles/AccessorParticle.java
deleted file mode 100644
index 9a25f25..0000000
--- a/src/main/java/fr/adrien1106/reframedtemplates/mixin/particles/AccessorParticle.java
+++ /dev/null
@@ -1,15 +0,0 @@
-package fr.adrien1106.reframedtemplates.mixin.particles;
-
-import net.minecraft.client.particle.Particle;
-import net.minecraft.util.math.random.Random;
-import org.spongepowered.asm.mixin.Mixin;
-import org.spongepowered.asm.mixin.gen.Accessor;
-
-@Mixin(Particle.class)
-public interface AccessorParticle {
- @Accessor("random") Random templates$getRandom();
-
- @Accessor("red") void templates$setRed(float red);
- @Accessor("green") void templates$setGreen(float green);
- @Accessor("blue") void templates$setBlue(float blue);
-}
diff --git a/src/main/java/fr/adrien1106/reframedtemplates/util/Edge.java b/src/main/java/fr/adrien1106/reframedtemplates/util/Edge.java
deleted file mode 100644
index 071cea8..0000000
--- a/src/main/java/fr/adrien1106/reframedtemplates/util/Edge.java
+++ /dev/null
@@ -1,89 +0,0 @@
-package fr.adrien1106.reframedtemplates.util;
-
-import net.minecraft.item.ItemPlacementContext;
-import net.minecraft.util.StringIdentifiable;
-import net.minecraft.util.math.Direction;
-import org.joml.Vector3d;
-
-import java.util.Locale;
-
-public enum Edge implements StringIdentifiable {
- DOWN_NORTH,
- DOWN_SOUTH,
- UP_SOUTH,
- UP_NORTH,
- NORTH_WEST,
- SOUTH_WEST,
- SOUTH_EAST,
- NORTH_EAST,
- DOWN_WEST,
- UP_WEST,
- UP_EAST,
- DOWN_EAST;
-
- public static Edge stairslikePlacement(ItemPlacementContext ctx) {
- Direction playerHorizontalFacing = ctx.getHorizontalPlayerFacing();
- Direction clickedFace = ctx.getSide();
- boolean sneaky = ctx.getPlayer() != null && ctx.getPlayer().isSneaky();
-
- double dx = ctx.getHitPos().x - ctx.getBlockPos().getX();
- double dy = ctx.getHitPos().y - ctx.getBlockPos().getY();
- double dz = ctx.getHitPos().z - ctx.getBlockPos().getZ();
-
- if(clickedFace == Direction.UP || (!sneaky && dy <= 0.5)) return switch(playerHorizontalFacing) {
- case NORTH -> DOWN_NORTH;
- case EAST -> DOWN_EAST;
- case SOUTH -> DOWN_SOUTH;
- case WEST -> DOWN_WEST;
- default -> throw new IllegalArgumentException();
- };
-
- else if(clickedFace == Direction.DOWN || (!sneaky && dy >= 0.5)) return switch(playerHorizontalFacing) {
- case NORTH -> UP_NORTH;
- case EAST -> UP_EAST;
- case SOUTH -> UP_SOUTH;
- case WEST -> UP_WEST;
- default -> throw new IllegalArgumentException();
- };
-
- else return switch(playerHorizontalFacing) {
- case NORTH -> dx < 0.5 ? Edge.NORTH_WEST : Edge.NORTH_EAST;
- case EAST -> dz < 0.5 ? Edge.NORTH_EAST : Edge.SOUTH_EAST;
- case SOUTH -> dx > 0.5 ? Edge.SOUTH_EAST : Edge.SOUTH_WEST;
- case WEST -> dz > 0.5 ? Edge.SOUTH_WEST : Edge.NORTH_WEST;
- default -> throw new IllegalArgumentException();
- };
- }
-
- //I may have skill issue
- //Beep boop i am very maintainable yes
- public record CoordinateFrame(Vector3d origin, Vector3d along, Vector3d a, Vector3d b) {}
- private static final Vector3d ZR = new Vector3d();
- private static final Vector3d PX = new Vector3d(1, 0, 0);
- private static final Vector3d NX = new Vector3d(-1, 0, 0);
- private static final Vector3d PY = new Vector3d(0, 1, 0);
- private static final Vector3d NY = new Vector3d(0, -1, 0);
- private static final Vector3d PZ = new Vector3d(0, 0, 1);
- private static final Vector3d NZ = new Vector3d(0, 0, -1);
- public CoordinateFrame makeCoordinateFrame() {
- return switch(this) {
- case DOWN_NORTH -> new CoordinateFrame(ZR, PX, PZ, PY);
- case DOWN_EAST -> new CoordinateFrame(PX, PZ, NX, PY);
- case DOWN_SOUTH -> new CoordinateFrame(new Vector3d(1, 0, 1), NX, NZ, PY);
- case DOWN_WEST -> new CoordinateFrame(PZ, NZ, PX, PY);
- case UP_NORTH -> new CoordinateFrame(PY, PX, PZ, NY);
- case UP_EAST -> new CoordinateFrame(new Vector3d(1, 1, 0), PZ, NX, NY);
- case UP_SOUTH -> new CoordinateFrame(new Vector3d(1, 1, 1), NX, NZ, NY);
- case UP_WEST -> new CoordinateFrame(new Vector3d(0, 1, 1), NZ, PX, NY);
- case NORTH_WEST -> new CoordinateFrame(ZR, PY, PZ, PX);
- case NORTH_EAST -> new CoordinateFrame(PX, PY, NX, PZ);
- case SOUTH_EAST -> new CoordinateFrame(new Vector3d(1, 0, 1), PY, NZ, NX);
- case SOUTH_WEST -> new CoordinateFrame(PZ, PY, PX, NZ);
- };
- }
-
- @Override
- public String asString() {
- return name().toLowerCase(Locale.ROOT);
- }
-}
diff --git a/src/main/java/fr/adrien1106/reframedtemplates/util/StairShapeMaker.java b/src/main/java/fr/adrien1106/reframedtemplates/util/StairShapeMaker.java
deleted file mode 100644
index 1d4009d..0000000
--- a/src/main/java/fr/adrien1106/reframedtemplates/util/StairShapeMaker.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package fr.adrien1106.reframedtemplates.util;
-
-import net.minecraft.util.shape.VoxelShape;
-import net.minecraft.util.shape.VoxelShapes;
-import org.joml.Vector3d;
-
-public class StairShapeMaker {
- //TODO: clean this the fuck up, maybe keep in mind that VoxelShapes can be rotated multiples of 90 degrees by just rotating their corners
- public static VoxelShape makeStair(Edge innerEdge, double stepIn, double initialStepRise, double stepRise, double stepRun, int stepCount) {
- Edge.CoordinateFrame frame = innerEdge.makeCoordinateFrame();
- Vector3d origin = frame.origin();
-
- Vector3d in = new Vector3d(frame.a()).mul(stepIn);
- Vector3d fstRise = new Vector3d(frame.b()).mul(initialStepRise);
-
- Vector3d cursor = new Vector3d(origin).add(frame.along()).add(in).add(fstRise);
- Vector3d step = new Vector3d(frame.b()).mul(stepRise).add(new Vector3d(frame.a()).mul(-stepRun));
-
- VoxelShape shape = VoxelShapes.empty();
- for(int i = 0; i < stepCount; i++) {
- shape = VoxelShapes.union(shape, box(origin.x, origin.y, origin.z, cursor.x, cursor.y, cursor.z));
- cursor.add(step);
- }
-
- return shape.simplify();
- }
-
- //VoxelShape's constructor is picky about specifying your mins before your maxs
- private static VoxelShape box(double x1, double y1, double z1, double x2, double y2, double z2) {
- return VoxelShapes.cuboid(Math.min(x1, x2), Math.min(y1, y2), Math.min(z1, z2), Math.max(x1, x2), Math.max(y1, y2), Math.max(z1, z2));
- }
-}
diff --git a/src/main/resources/assets/minecraft/atlases/blocks.json b/src/main/resources/assets/minecraft/atlases/blocks.json
index 84cad5f..7f14b7d 100644
--- a/src/main/resources/assets/minecraft/atlases/blocks.json
+++ b/src/main/resources/assets/minecraft/atlases/blocks.json
@@ -2,8 +2,8 @@
"sources": [
{
"type": "directory",
- "source": "templates_special",
- "prefix": "templates_special/"
+ "source": "reframed_special",
+ "prefix": "reframed_special/"
}
]
}
\ No newline at end of file
diff --git a/src/main/resources/assets/framed-templates-icon.png b/src/main/resources/assets/reframed-icon.png
similarity index 100%
rename from src/main/resources/assets/framed-templates-icon.png
rename to src/main/resources/assets/reframed-icon.png
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/button.json b/src/main/resources/assets/reframed/blockstates/button.json
similarity index 58%
rename from src/main/resources/assets/reframedtemplates/blockstates/button.json
rename to src/main/resources/assets/reframed/blockstates/button.json
index e460e2f..3d92350 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/button.json
+++ b/src/main/resources/assets/reframed/blockstates/button.json
@@ -1,115 +1,115 @@
{
"variants": {
"face=ceiling,facing=east,powered=false": {
- "model": "reframedtemplates:button_special",
+ "model": "reframed:button_special",
"x": 180,
"y": 270
},
"face=ceiling,facing=east,powered=true": {
- "model": "reframedtemplates:button_pressed_special",
+ "model": "reframed:button_pressed_special",
"x": 180,
"y": 270
},
"face=ceiling,facing=north,powered=false": {
- "model": "reframedtemplates:button_special",
+ "model": "reframed:button_special",
"x": 180,
"y": 180
},
"face=ceiling,facing=north,powered=true": {
- "model": "reframedtemplates:button_pressed_special",
+ "model": "reframed:button_pressed_special",
"x": 180,
"y": 180
},
"face=ceiling,facing=south,powered=false": {
- "model": "reframedtemplates:button_special",
+ "model": "reframed:button_special",
"x": 180
},
"face=ceiling,facing=south,powered=true": {
- "model": "reframedtemplates:button_pressed_special",
+ "model": "reframed:button_pressed_special",
"x": 180
},
"face=ceiling,facing=west,powered=false": {
- "model": "reframedtemplates:button_special",
+ "model": "reframed:button_special",
"x": 180,
"y": 90
},
"face=ceiling,facing=west,powered=true": {
- "model": "reframedtemplates:button_pressed_special",
+ "model": "reframed:button_pressed_special",
"x": 180,
"y": 90
},
"face=floor,facing=east,powered=false": {
- "model": "reframedtemplates:button_special",
+ "model": "reframed:button_special",
"y": 90
},
"face=floor,facing=east,powered=true": {
- "model": "reframedtemplates:button_pressed_special",
+ "model": "reframed:button_pressed_special",
"y": 90
},
"face=floor,facing=north,powered=false": {
- "model": "reframedtemplates:button_special"
+ "model": "reframed:button_special"
},
"face=floor,facing=north,powered=true": {
- "model": "reframedtemplates:button_pressed_special"
+ "model": "reframed:button_pressed_special"
},
"face=floor,facing=south,powered=false": {
- "model": "reframedtemplates:button_special",
+ "model": "reframed:button_special",
"y": 180
},
"face=floor,facing=south,powered=true": {
- "model": "reframedtemplates:button_pressed_special",
+ "model": "reframed:button_pressed_special",
"y": 180
},
"face=floor,facing=west,powered=false": {
- "model": "reframedtemplates:button_special",
+ "model": "reframed:button_special",
"y": 270
},
"face=floor,facing=west,powered=true": {
- "model": "reframedtemplates:button_pressed_special",
+ "model": "reframed:button_pressed_special",
"y": 270
},
"face=wall,facing=east,powered=false": {
- "model": "reframedtemplates:button_special",
+ "model": "reframed:button_special",
"uvlock": true,
"x": 90,
"y": 90
},
"face=wall,facing=east,powered=true": {
- "model": "reframedtemplates:button_pressed_special",
+ "model": "reframed:button_pressed_special",
"uvlock": true,
"x": 90,
"y": 90
},
"face=wall,facing=north,powered=false": {
- "model": "reframedtemplates:button_special",
+ "model": "reframed:button_special",
"uvlock": true,
"x": 90
},
"face=wall,facing=north,powered=true": {
- "model": "reframedtemplates:button_pressed_special",
+ "model": "reframed:button_pressed_special",
"uvlock": true,
"x": 90
},
"face=wall,facing=south,powered=false": {
- "model": "reframedtemplates:button_special",
+ "model": "reframed:button_special",
"uvlock": true,
"x": 90,
"y": 180
},
"face=wall,facing=south,powered=true": {
- "model": "reframedtemplates:button_pressed_special",
+ "model": "reframed:button_pressed_special",
"uvlock": true,
"x": 90,
"y": 180
},
"face=wall,facing=west,powered=false": {
- "model": "reframedtemplates:button_special",
+ "model": "reframed:button_special",
"uvlock": true,
"x": 90,
"y": 270
},
"face=wall,facing=west,powered=true": {
- "model": "reframedtemplates:button_pressed_special",
+ "model": "reframed:button_pressed_special",
"uvlock": true,
"x": 90,
"y": 270
diff --git a/src/main/resources/assets/reframed/blockstates/candle.json b/src/main/resources/assets/reframed/blockstates/candle.json
new file mode 100644
index 0000000..2e43925
--- /dev/null
+++ b/src/main/resources/assets/reframed/blockstates/candle.json
@@ -0,0 +1,16 @@
+{
+ "variants": {
+ "candles=1": {
+ "model": "reframed:one_candle_special"
+ },
+ "candles=2": {
+ "model": "reframed:two_candles_special"
+ },
+ "candles=3": {
+ "model": "reframed:three_candles_special"
+ },
+ "candles=4": {
+ "model": "reframed:four_candles_special"
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframed/blockstates/carpet.json b/src/main/resources/assets/reframed/blockstates/carpet.json
new file mode 100644
index 0000000..c065759
--- /dev/null
+++ b/src/main/resources/assets/reframed/blockstates/carpet.json
@@ -0,0 +1,7 @@
+{
+ "variants": {
+ "": {
+ "model": "reframed:carpet_special"
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframed/blockstates/cube.json b/src/main/resources/assets/reframed/blockstates/cube.json
new file mode 100644
index 0000000..a82f101
--- /dev/null
+++ b/src/main/resources/assets/reframed/blockstates/cube.json
@@ -0,0 +1,7 @@
+{
+ "variants": {
+ "": {
+ "model": "reframed:cube_special"
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/door.json b/src/main/resources/assets/reframed/blockstates/door.json
similarity index 52%
rename from src/main/resources/assets/reframedtemplates/blockstates/door.json
rename to src/main/resources/assets/reframed/blockstates/door.json
index ca062aa..28f9903 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/door.json
+++ b/src/main/resources/assets/reframed/blockstates/door.json
@@ -1,123 +1,123 @@
{
"variants": {
"facing=east,half=lower,hinge=left,open=false": {
- "model": "reframedtemplates:door_bottom_left_special"
+ "model": "reframed:door_bottom_left_special"
},
"facing=east,half=lower,hinge=left,open=true": {
- "model": "reframedtemplates:door_bottom_left_open_special",
+ "model": "reframed:door_bottom_left_open_special",
"y": 90
},
"facing=east,half=lower,hinge=right,open=false": {
- "model": "reframedtemplates:door_bottom_right_special"
+ "model": "reframed:door_bottom_right_special"
},
"facing=east,half=lower,hinge=right,open=true": {
- "model": "reframedtemplates:door_bottom_right_open_special",
+ "model": "reframed:door_bottom_right_open_special",
"y": 270
},
"facing=east,half=upper,hinge=left,open=false": {
- "model": "reframedtemplates:door_top_left_special"
+ "model": "reframed:door_top_left_special"
},
"facing=east,half=upper,hinge=left,open=true": {
- "model": "reframedtemplates:door_top_left_open_special",
+ "model": "reframed:door_top_left_open_special",
"y": 90
},
"facing=east,half=upper,hinge=right,open=false": {
- "model": "reframedtemplates:door_top_right_special"
+ "model": "reframed:door_top_right_special"
},
"facing=east,half=upper,hinge=right,open=true": {
- "model": "reframedtemplates:door_top_right_open_special",
+ "model": "reframed:door_top_right_open_special",
"y": 270
},
"facing=north,half=lower,hinge=left,open=false": {
- "model": "reframedtemplates:door_bottom_left_special",
+ "model": "reframed:door_bottom_left_special",
"y": 270
},
"facing=north,half=lower,hinge=left,open=true": {
- "model": "reframedtemplates:door_bottom_left_open_special"
+ "model": "reframed:door_bottom_left_open_special"
},
"facing=north,half=lower,hinge=right,open=false": {
- "model": "reframedtemplates:door_bottom_right_special",
+ "model": "reframed:door_bottom_right_special",
"y": 270
},
"facing=north,half=lower,hinge=right,open=true": {
- "model": "reframedtemplates:door_bottom_right_open_special",
+ "model": "reframed:door_bottom_right_open_special",
"y": 180
},
"facing=north,half=upper,hinge=left,open=false": {
- "model": "reframedtemplates:door_top_left_special",
+ "model": "reframed:door_top_left_special",
"y": 270
},
"facing=north,half=upper,hinge=left,open=true": {
- "model": "reframedtemplates:door_top_left_open_special"
+ "model": "reframed:door_top_left_open_special"
},
"facing=north,half=upper,hinge=right,open=false": {
- "model": "reframedtemplates:door_top_right_special",
+ "model": "reframed:door_top_right_special",
"y": 270
},
"facing=north,half=upper,hinge=right,open=true": {
- "model": "reframedtemplates:door_top_right_open_special",
+ "model": "reframed:door_top_right_open_special",
"y": 180
},
"facing=south,half=lower,hinge=left,open=false": {
- "model": "reframedtemplates:door_bottom_left_special",
+ "model": "reframed:door_bottom_left_special",
"y": 90
},
"facing=south,half=lower,hinge=left,open=true": {
- "model": "reframedtemplates:door_bottom_left_open_special",
+ "model": "reframed:door_bottom_left_open_special",
"y": 180
},
"facing=south,half=lower,hinge=right,open=false": {
- "model": "reframedtemplates:door_bottom_right_special",
+ "model": "reframed:door_bottom_right_special",
"y": 90
},
"facing=south,half=lower,hinge=right,open=true": {
- "model": "reframedtemplates:door_bottom_right_open_special"
+ "model": "reframed:door_bottom_right_open_special"
},
"facing=south,half=upper,hinge=left,open=false": {
- "model": "reframedtemplates:door_top_left_special",
+ "model": "reframed:door_top_left_special",
"y": 90
},
"facing=south,half=upper,hinge=left,open=true": {
- "model": "reframedtemplates:door_top_left_open_special",
+ "model": "reframed:door_top_left_open_special",
"y": 180
},
"facing=south,half=upper,hinge=right,open=false": {
- "model": "reframedtemplates:door_top_right_special",
+ "model": "reframed:door_top_right_special",
"y": 90
},
"facing=south,half=upper,hinge=right,open=true": {
- "model": "reframedtemplates:door_top_right_open_special"
+ "model": "reframed:door_top_right_open_special"
},
"facing=west,half=lower,hinge=left,open=false": {
- "model": "reframedtemplates:door_bottom_left_special",
+ "model": "reframed:door_bottom_left_special",
"y": 180
},
"facing=west,half=lower,hinge=left,open=true": {
- "model": "reframedtemplates:door_bottom_left_open_special",
+ "model": "reframed:door_bottom_left_open_special",
"y": 270
},
"facing=west,half=lower,hinge=right,open=false": {
- "model": "reframedtemplates:door_bottom_right_special",
+ "model": "reframed:door_bottom_right_special",
"y": 180
},
"facing=west,half=lower,hinge=right,open=true": {
- "model": "reframedtemplates:door_bottom_right_open_special",
+ "model": "reframed:door_bottom_right_open_special",
"y": 90
},
"facing=west,half=upper,hinge=left,open=false": {
- "model": "reframedtemplates:door_top_left_special",
+ "model": "reframed:door_top_left_special",
"y": 180
},
"facing=west,half=upper,hinge=left,open=true": {
- "model": "reframedtemplates:door_top_left_open_special",
+ "model": "reframed:door_top_left_open_special",
"y": 270
},
"facing=west,half=upper,hinge=right,open=false": {
- "model": "reframedtemplates:door_top_right_special",
+ "model": "reframed:door_top_right_special",
"y": 180
},
"facing=west,half=upper,hinge=right,open=true": {
- "model": "reframedtemplates:door_top_right_open_special",
+ "model": "reframed:door_top_right_open_special",
"y": 90
}
}
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/fence.json b/src/main/resources/assets/reframed/blockstates/fence.json
similarity index 61%
rename from src/main/resources/assets/reframedtemplates/blockstates/fence.json
rename to src/main/resources/assets/reframed/blockstates/fence.json
index 6dec5a3..fc79e23 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/fence.json
+++ b/src/main/resources/assets/reframed/blockstates/fence.json
@@ -2,12 +2,12 @@
"multipart": [
{
"apply": {
- "model": "reframedtemplates:fence_post_special"
+ "model": "reframed:fence_post_special"
}
},
{
"apply": {
- "model": "reframedtemplates:fence_side_special",
+ "model": "reframed:fence_side_special",
"uvlock": true
},
"when": {
@@ -16,7 +16,7 @@
},
{
"apply": {
- "model": "reframedtemplates:fence_side_special",
+ "model": "reframed:fence_side_special",
"uvlock": true,
"y": 90
},
@@ -26,7 +26,7 @@
},
{
"apply": {
- "model": "reframedtemplates:fence_side_special",
+ "model": "reframed:fence_side_special",
"uvlock": true,
"y": 180
},
@@ -36,7 +36,7 @@
},
{
"apply": {
- "model": "reframedtemplates:fence_side_special",
+ "model": "reframed:fence_side_special",
"uvlock": true,
"y": 270
},
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/fence_gate.json b/src/main/resources/assets/reframed/blockstates/fence_gate.json
similarity index 57%
rename from src/main/resources/assets/reframedtemplates/blockstates/fence_gate.json
rename to src/main/resources/assets/reframed/blockstates/fence_gate.json
index c03f045..f0ea0f4 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/fence_gate.json
+++ b/src/main/resources/assets/reframed/blockstates/fence_gate.json
@@ -1,78 +1,78 @@
{
"variants": {
"facing=east,in_wall=false,open=false": {
- "model": "reframedtemplates:fence_gate_special",
+ "model": "reframed:fence_gate_special",
"uvlock": true,
"y": 270
},
"facing=east,in_wall=false,open=true": {
- "model": "reframedtemplates:fence_gate_open_special",
+ "model": "reframed:fence_gate_open_special",
"uvlock": true,
"y": 270
},
"facing=east,in_wall=true,open=false": {
- "model": "reframedtemplates:fence_gate_wall_special",
+ "model": "reframed:fence_gate_wall_special",
"uvlock": true,
"y": 270
},
"facing=east,in_wall=true,open=true": {
- "model": "reframedtemplates:fence_gate_wall_open_special",
+ "model": "reframed:fence_gate_wall_open_special",
"uvlock": true,
"y": 270
},
"facing=north,in_wall=false,open=false": {
- "model": "reframedtemplates:fence_gate_special",
+ "model": "reframed:fence_gate_special",
"uvlock": true,
"y": 180
},
"facing=north,in_wall=false,open=true": {
- "model": "reframedtemplates:fence_gate_open_special",
+ "model": "reframed:fence_gate_open_special",
"uvlock": true,
"y": 180
},
"facing=north,in_wall=true,open=false": {
- "model": "reframedtemplates:fence_gate_wall_special",
+ "model": "reframed:fence_gate_wall_special",
"uvlock": true,
"y": 180
},
"facing=north,in_wall=true,open=true": {
- "model": "reframedtemplates:fence_gate_wall_open_special",
+ "model": "reframed:fence_gate_wall_open_special",
"uvlock": true,
"y": 180
},
"facing=south,in_wall=false,open=false": {
- "model": "reframedtemplates:fence_gate_special",
+ "model": "reframed:fence_gate_special",
"uvlock": true
},
"facing=south,in_wall=false,open=true": {
- "model": "reframedtemplates:fence_gate_open_special",
+ "model": "reframed:fence_gate_open_special",
"uvlock": true
},
"facing=south,in_wall=true,open=false": {
- "model": "reframedtemplates:fence_gate_wall_special",
+ "model": "reframed:fence_gate_wall_special",
"uvlock": true
},
"facing=south,in_wall=true,open=true": {
- "model": "reframedtemplates:fence_gate_wall_open_special",
+ "model": "reframed:fence_gate_wall_open_special",
"uvlock": true
},
"facing=west,in_wall=false,open=false": {
- "model": "reframedtemplates:fence_gate_special",
+ "model": "reframed:fence_gate_special",
"uvlock": true,
"y": 90
},
"facing=west,in_wall=false,open=true": {
- "model": "reframedtemplates:fence_gate_open_special",
+ "model": "reframed:fence_gate_open_special",
"uvlock": true,
"y": 90
},
"facing=west,in_wall=true,open=false": {
- "model": "reframedtemplates:fence_gate_wall_special",
+ "model": "reframed:fence_gate_wall_special",
"uvlock": true,
"y": 90
},
"facing=west,in_wall=true,open=true": {
- "model": "reframedtemplates:fence_gate_wall_open_special",
+ "model": "reframed:fence_gate_wall_open_special",
"uvlock": true,
"y": 90
}
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/iron_door.json b/src/main/resources/assets/reframed/blockstates/iron_door.json
similarity index 52%
rename from src/main/resources/assets/reframedtemplates/blockstates/iron_door.json
rename to src/main/resources/assets/reframed/blockstates/iron_door.json
index ca062aa..28f9903 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/iron_door.json
+++ b/src/main/resources/assets/reframed/blockstates/iron_door.json
@@ -1,123 +1,123 @@
{
"variants": {
"facing=east,half=lower,hinge=left,open=false": {
- "model": "reframedtemplates:door_bottom_left_special"
+ "model": "reframed:door_bottom_left_special"
},
"facing=east,half=lower,hinge=left,open=true": {
- "model": "reframedtemplates:door_bottom_left_open_special",
+ "model": "reframed:door_bottom_left_open_special",
"y": 90
},
"facing=east,half=lower,hinge=right,open=false": {
- "model": "reframedtemplates:door_bottom_right_special"
+ "model": "reframed:door_bottom_right_special"
},
"facing=east,half=lower,hinge=right,open=true": {
- "model": "reframedtemplates:door_bottom_right_open_special",
+ "model": "reframed:door_bottom_right_open_special",
"y": 270
},
"facing=east,half=upper,hinge=left,open=false": {
- "model": "reframedtemplates:door_top_left_special"
+ "model": "reframed:door_top_left_special"
},
"facing=east,half=upper,hinge=left,open=true": {
- "model": "reframedtemplates:door_top_left_open_special",
+ "model": "reframed:door_top_left_open_special",
"y": 90
},
"facing=east,half=upper,hinge=right,open=false": {
- "model": "reframedtemplates:door_top_right_special"
+ "model": "reframed:door_top_right_special"
},
"facing=east,half=upper,hinge=right,open=true": {
- "model": "reframedtemplates:door_top_right_open_special",
+ "model": "reframed:door_top_right_open_special",
"y": 270
},
"facing=north,half=lower,hinge=left,open=false": {
- "model": "reframedtemplates:door_bottom_left_special",
+ "model": "reframed:door_bottom_left_special",
"y": 270
},
"facing=north,half=lower,hinge=left,open=true": {
- "model": "reframedtemplates:door_bottom_left_open_special"
+ "model": "reframed:door_bottom_left_open_special"
},
"facing=north,half=lower,hinge=right,open=false": {
- "model": "reframedtemplates:door_bottom_right_special",
+ "model": "reframed:door_bottom_right_special",
"y": 270
},
"facing=north,half=lower,hinge=right,open=true": {
- "model": "reframedtemplates:door_bottom_right_open_special",
+ "model": "reframed:door_bottom_right_open_special",
"y": 180
},
"facing=north,half=upper,hinge=left,open=false": {
- "model": "reframedtemplates:door_top_left_special",
+ "model": "reframed:door_top_left_special",
"y": 270
},
"facing=north,half=upper,hinge=left,open=true": {
- "model": "reframedtemplates:door_top_left_open_special"
+ "model": "reframed:door_top_left_open_special"
},
"facing=north,half=upper,hinge=right,open=false": {
- "model": "reframedtemplates:door_top_right_special",
+ "model": "reframed:door_top_right_special",
"y": 270
},
"facing=north,half=upper,hinge=right,open=true": {
- "model": "reframedtemplates:door_top_right_open_special",
+ "model": "reframed:door_top_right_open_special",
"y": 180
},
"facing=south,half=lower,hinge=left,open=false": {
- "model": "reframedtemplates:door_bottom_left_special",
+ "model": "reframed:door_bottom_left_special",
"y": 90
},
"facing=south,half=lower,hinge=left,open=true": {
- "model": "reframedtemplates:door_bottom_left_open_special",
+ "model": "reframed:door_bottom_left_open_special",
"y": 180
},
"facing=south,half=lower,hinge=right,open=false": {
- "model": "reframedtemplates:door_bottom_right_special",
+ "model": "reframed:door_bottom_right_special",
"y": 90
},
"facing=south,half=lower,hinge=right,open=true": {
- "model": "reframedtemplates:door_bottom_right_open_special"
+ "model": "reframed:door_bottom_right_open_special"
},
"facing=south,half=upper,hinge=left,open=false": {
- "model": "reframedtemplates:door_top_left_special",
+ "model": "reframed:door_top_left_special",
"y": 90
},
"facing=south,half=upper,hinge=left,open=true": {
- "model": "reframedtemplates:door_top_left_open_special",
+ "model": "reframed:door_top_left_open_special",
"y": 180
},
"facing=south,half=upper,hinge=right,open=false": {
- "model": "reframedtemplates:door_top_right_special",
+ "model": "reframed:door_top_right_special",
"y": 90
},
"facing=south,half=upper,hinge=right,open=true": {
- "model": "reframedtemplates:door_top_right_open_special"
+ "model": "reframed:door_top_right_open_special"
},
"facing=west,half=lower,hinge=left,open=false": {
- "model": "reframedtemplates:door_bottom_left_special",
+ "model": "reframed:door_bottom_left_special",
"y": 180
},
"facing=west,half=lower,hinge=left,open=true": {
- "model": "reframedtemplates:door_bottom_left_open_special",
+ "model": "reframed:door_bottom_left_open_special",
"y": 270
},
"facing=west,half=lower,hinge=right,open=false": {
- "model": "reframedtemplates:door_bottom_right_special",
+ "model": "reframed:door_bottom_right_special",
"y": 180
},
"facing=west,half=lower,hinge=right,open=true": {
- "model": "reframedtemplates:door_bottom_right_open_special",
+ "model": "reframed:door_bottom_right_open_special",
"y": 90
},
"facing=west,half=upper,hinge=left,open=false": {
- "model": "reframedtemplates:door_top_left_special",
+ "model": "reframed:door_top_left_special",
"y": 180
},
"facing=west,half=upper,hinge=left,open=true": {
- "model": "reframedtemplates:door_top_left_open_special",
+ "model": "reframed:door_top_left_open_special",
"y": 270
},
"facing=west,half=upper,hinge=right,open=false": {
- "model": "reframedtemplates:door_top_right_special",
+ "model": "reframed:door_top_right_special",
"y": 180
},
"facing=west,half=upper,hinge=right,open=true": {
- "model": "reframedtemplates:door_top_right_open_special",
+ "model": "reframed:door_top_right_open_special",
"y": 90
}
}
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/iron_trapdoor.json b/src/main/resources/assets/reframed/blockstates/iron_trapdoor.json
similarity index 51%
rename from src/main/resources/assets/reframedtemplates/blockstates/iron_trapdoor.json
rename to src/main/resources/assets/reframed/blockstates/iron_trapdoor.json
index 15b6d94..5ea5b45 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/iron_trapdoor.json
+++ b/src/main/resources/assets/reframed/blockstates/iron_trapdoor.json
@@ -1,67 +1,67 @@
{
"variants": {
"facing=east,half=bottom,open=false": {
- "model": "reframedtemplates:trapdoor_bottom_special",
+ "model": "reframed:trapdoor_bottom_special",
"y": 90
},
"facing=east,half=bottom,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"y": 90
},
"facing=east,half=top,open=false": {
- "model": "reframedtemplates:trapdoor_top_special",
+ "model": "reframed:trapdoor_top_special",
"y": 90
},
"facing=east,half=top,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"x": 180,
"y": 270
},
"facing=north,half=bottom,open=false": {
- "model": "reframedtemplates:trapdoor_bottom_special"
+ "model": "reframed:trapdoor_bottom_special"
},
"facing=north,half=bottom,open=true": {
- "model": "reframedtemplates:trapdoor_open_special"
+ "model": "reframed:trapdoor_open_special"
},
"facing=north,half=top,open=false": {
- "model": "reframedtemplates:trapdoor_top_special"
+ "model": "reframed:trapdoor_top_special"
},
"facing=north,half=top,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"x": 180,
"y": 180
},
"facing=south,half=bottom,open=false": {
- "model": "reframedtemplates:trapdoor_bottom_special",
+ "model": "reframed:trapdoor_bottom_special",
"y": 180
},
"facing=south,half=bottom,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"y": 180
},
"facing=south,half=top,open=false": {
- "model": "reframedtemplates:trapdoor_top_special",
+ "model": "reframed:trapdoor_top_special",
"y": 180
},
"facing=south,half=top,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"x": 180,
"y": 0
},
"facing=west,half=bottom,open=false": {
- "model": "reframedtemplates:trapdoor_bottom_special",
+ "model": "reframed:trapdoor_bottom_special",
"y": 270
},
"facing=west,half=bottom,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"y": 270
},
"facing=west,half=top,open=false": {
- "model": "reframedtemplates:trapdoor_top_special",
+ "model": "reframed:trapdoor_top_special",
"y": 270
},
"facing=west,half=top,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"x": 180,
"y": 90
}
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/lever.json b/src/main/resources/assets/reframed/blockstates/lever.json
similarity index 58%
rename from src/main/resources/assets/reframedtemplates/blockstates/lever.json
rename to src/main/resources/assets/reframed/blockstates/lever.json
index a3f6ba5..221f4b7 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/lever.json
+++ b/src/main/resources/assets/reframed/blockstates/lever.json
@@ -1,108 +1,108 @@
{
"variants": {
"face=ceiling,facing=east,powered=false": {
- "model": "reframedtemplates:lever_on_special",
+ "model": "reframed:lever_on_special",
"x": 180,
"y": 270
},
"face=ceiling,facing=east,powered=true": {
- "model": "reframedtemplates:lever_special",
+ "model": "reframed:lever_special",
"x": 180,
"y": 270
},
"face=ceiling,facing=north,powered=false": {
- "model": "reframedtemplates:lever_on_special",
+ "model": "reframed:lever_on_special",
"x": 180,
"y": 180
},
"face=ceiling,facing=north,powered=true": {
- "model": "reframedtemplates:lever_special",
+ "model": "reframed:lever_special",
"x": 180,
"y": 180
},
"face=ceiling,facing=south,powered=false": {
- "model": "reframedtemplates:lever_on_special",
+ "model": "reframed:lever_on_special",
"x": 180
},
"face=ceiling,facing=south,powered=true": {
- "model": "reframedtemplates:lever_special",
+ "model": "reframed:lever_special",
"x": 180
},
"face=ceiling,facing=west,powered=false": {
- "model": "reframedtemplates:lever_on_special",
+ "model": "reframed:lever_on_special",
"x": 180,
"y": 90
},
"face=ceiling,facing=west,powered=true": {
- "model": "reframedtemplates:lever_special",
+ "model": "reframed:lever_special",
"x": 180,
"y": 90
},
"face=floor,facing=east,powered=false": {
- "model": "reframedtemplates:lever_on_special",
+ "model": "reframed:lever_on_special",
"y": 90
},
"face=floor,facing=east,powered=true": {
- "model": "reframedtemplates:lever_special",
+ "model": "reframed:lever_special",
"y": 90
},
"face=floor,facing=north,powered=false": {
- "model": "reframedtemplates:lever_on_special"
+ "model": "reframed:lever_on_special"
},
"face=floor,facing=north,powered=true": {
- "model": "reframedtemplates:lever_special"
+ "model": "reframed:lever_special"
},
"face=floor,facing=south,powered=false": {
- "model": "reframedtemplates:lever_on_special",
+ "model": "reframed:lever_on_special",
"y": 180
},
"face=floor,facing=south,powered=true": {
- "model": "reframedtemplates:lever_special",
+ "model": "reframed:lever_special",
"y": 180
},
"face=floor,facing=west,powered=false": {
- "model": "reframedtemplates:lever_on_special",
+ "model": "reframed:lever_on_special",
"y": 270
},
"face=floor,facing=west,powered=true": {
- "model": "reframedtemplates:lever_special",
+ "model": "reframed:lever_special",
"y": 270
},
"face=wall,facing=east,powered=false": {
- "model": "reframedtemplates:lever_on_special",
+ "model": "reframed:lever_on_special",
"x": 90,
"y": 90
},
"face=wall,facing=east,powered=true": {
- "model": "reframedtemplates:lever_special",
+ "model": "reframed:lever_special",
"x": 90,
"y": 90
},
"face=wall,facing=north,powered=false": {
- "model": "reframedtemplates:lever_on_special",
+ "model": "reframed:lever_on_special",
"x": 90
},
"face=wall,facing=north,powered=true": {
- "model": "reframedtemplates:lever_special",
+ "model": "reframed:lever_special",
"x": 90
},
"face=wall,facing=south,powered=false": {
- "model": "reframedtemplates:lever_on_special",
+ "model": "reframed:lever_on_special",
"x": 90,
"y": 180
},
"face=wall,facing=south,powered=true": {
- "model": "reframedtemplates:lever_special",
+ "model": "reframed:lever_special",
"x": 90,
"y": 180
},
"face=wall,facing=west,powered=false": {
- "model": "reframedtemplates:lever_on_special",
+ "model": "reframed:lever_on_special",
"x": 90,
"y": 270
},
"face=wall,facing=west,powered=true": {
- "model": "reframedtemplates:lever_special",
+ "model": "reframed:lever_special",
"x": 90,
"y": 270
}
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/pane.json b/src/main/resources/assets/reframed/blockstates/pane.json
similarity index 53%
rename from src/main/resources/assets/reframedtemplates/blockstates/pane.json
rename to src/main/resources/assets/reframed/blockstates/pane.json
index 4cb0ba3..d1a6ea6 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/pane.json
+++ b/src/main/resources/assets/reframed/blockstates/pane.json
@@ -2,12 +2,12 @@
"multipart": [
{
"apply": {
- "model": "reframedtemplates:glass_pane_post_special"
+ "model": "reframed:glass_pane_post_special"
}
},
{
"apply": {
- "model": "reframedtemplates:glass_pane_side_special"
+ "model": "reframed:glass_pane_side_special"
},
"when": {
"north": "true"
@@ -15,7 +15,7 @@
},
{
"apply": {
- "model": "reframedtemplates:glass_pane_side_special",
+ "model": "reframed:glass_pane_side_special",
"y": 90
},
"when": {
@@ -24,7 +24,7 @@
},
{
"apply": {
- "model": "reframedtemplates:glass_pane_side_alt_special"
+ "model": "reframed:glass_pane_side_alt_special"
},
"when": {
"south": "true"
@@ -32,7 +32,7 @@
},
{
"apply": {
- "model": "reframedtemplates:glass_pane_side_alt_special",
+ "model": "reframed:glass_pane_side_alt_special",
"y": 90
},
"when": {
@@ -41,7 +41,7 @@
},
{
"apply": {
- "model": "reframedtemplates:glass_pane_noside_special"
+ "model": "reframed:glass_pane_noside_special"
},
"when": {
"north": "false"
@@ -49,7 +49,7 @@
},
{
"apply": {
- "model": "reframedtemplates:glass_pane_noside_alt_special"
+ "model": "reframed:glass_pane_noside_alt_special"
},
"when": {
"east": "false"
@@ -57,7 +57,7 @@
},
{
"apply": {
- "model": "reframedtemplates:glass_pane_noside_alt_special",
+ "model": "reframed:glass_pane_noside_alt_special",
"y": 90
},
"when": {
@@ -66,7 +66,7 @@
},
{
"apply": {
- "model": "reframedtemplates:glass_pane_noside_special",
+ "model": "reframed:glass_pane_noside_special",
"y": 270
},
"when": {
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/post.json b/src/main/resources/assets/reframed/blockstates/post.json
similarity index 51%
rename from src/main/resources/assets/reframedtemplates/blockstates/post.json
rename to src/main/resources/assets/reframed/blockstates/post.json
index 9bc5208..439dbaa 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/post.json
+++ b/src/main/resources/assets/reframed/blockstates/post.json
@@ -1,17 +1,17 @@
{
"variants": {
"axis=x": {
- "model": "reframedtemplates:fence_post_special",
+ "model": "reframed:fence_post_special",
"x": 90,
"y": 90,
"uvlock": true
},
"axis=y": {
- "model": "reframedtemplates:fence_post_special",
+ "model": "reframed:fence_post_special",
"uvlock": true
},
"axis=z": {
- "model": "reframedtemplates:fence_post_special",
+ "model": "reframed:fence_post_special",
"uvlock": true,
"x": 90
}
diff --git a/src/main/resources/assets/reframed/blockstates/pressure_plate.json b/src/main/resources/assets/reframed/blockstates/pressure_plate.json
new file mode 100644
index 0000000..1316871
--- /dev/null
+++ b/src/main/resources/assets/reframed/blockstates/pressure_plate.json
@@ -0,0 +1,10 @@
+{
+ "variants": {
+ "powered=false": {
+ "model": "reframed:pressure_plate_up_special"
+ },
+ "powered=true": {
+ "model": "reframed:pressure_plate_down_special"
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/slab.json b/src/main/resources/assets/reframed/blockstates/slab.json
similarity index 69%
rename from src/main/resources/assets/reframedtemplates/blockstates/slab.json
rename to src/main/resources/assets/reframed/blockstates/slab.json
index d856e67..acc6312 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/slab.json
+++ b/src/main/resources/assets/reframed/blockstates/slab.json
@@ -2,7 +2,7 @@
"multipart": [
{
"apply": {
- "model": "reframedtemplates:slab_special",
+ "model": "reframed:slab_special",
"uvlock": true
},
"when": {
@@ -11,7 +11,7 @@
},
{
"apply": {
- "model": "reframedtemplates:slab_special",
+ "model": "reframed:slab_special",
"uvlock": true,
"x": 180
},
@@ -21,7 +21,7 @@
},
{
"apply": {
- "model": "reframedtemplates:slab_special",
+ "model": "reframed:slab_special",
"uvlock": true,
"x": 270
},
@@ -31,7 +31,7 @@
},
{
"apply": {
- "model": "reframedtemplates:slab_special",
+ "model": "reframed:slab_special",
"uvlock": true,
"x": 90
},
@@ -41,7 +41,7 @@
},
{
"apply": {
- "model": "reframedtemplates:slab_special",
+ "model": "reframed:slab_special",
"uvlock": true,
"x": 90,
"y": 90
@@ -52,7 +52,7 @@
},
{
"apply": {
- "model": "reframedtemplates:slab_special",
+ "model": "reframed:slab_special",
"uvlock": true,
"x": 90,
"y": 270
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/trapdoor.json b/src/main/resources/assets/reframed/blockstates/trapdoor.json
similarity index 51%
rename from src/main/resources/assets/reframedtemplates/blockstates/trapdoor.json
rename to src/main/resources/assets/reframed/blockstates/trapdoor.json
index 15b6d94..5ea5b45 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/trapdoor.json
+++ b/src/main/resources/assets/reframed/blockstates/trapdoor.json
@@ -1,67 +1,67 @@
{
"variants": {
"facing=east,half=bottom,open=false": {
- "model": "reframedtemplates:trapdoor_bottom_special",
+ "model": "reframed:trapdoor_bottom_special",
"y": 90
},
"facing=east,half=bottom,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"y": 90
},
"facing=east,half=top,open=false": {
- "model": "reframedtemplates:trapdoor_top_special",
+ "model": "reframed:trapdoor_top_special",
"y": 90
},
"facing=east,half=top,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"x": 180,
"y": 270
},
"facing=north,half=bottom,open=false": {
- "model": "reframedtemplates:trapdoor_bottom_special"
+ "model": "reframed:trapdoor_bottom_special"
},
"facing=north,half=bottom,open=true": {
- "model": "reframedtemplates:trapdoor_open_special"
+ "model": "reframed:trapdoor_open_special"
},
"facing=north,half=top,open=false": {
- "model": "reframedtemplates:trapdoor_top_special"
+ "model": "reframed:trapdoor_top_special"
},
"facing=north,half=top,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"x": 180,
"y": 180
},
"facing=south,half=bottom,open=false": {
- "model": "reframedtemplates:trapdoor_bottom_special",
+ "model": "reframed:trapdoor_bottom_special",
"y": 180
},
"facing=south,half=bottom,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"y": 180
},
"facing=south,half=top,open=false": {
- "model": "reframedtemplates:trapdoor_top_special",
+ "model": "reframed:trapdoor_top_special",
"y": 180
},
"facing=south,half=top,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"x": 180,
"y": 0
},
"facing=west,half=bottom,open=false": {
- "model": "reframedtemplates:trapdoor_bottom_special",
+ "model": "reframed:trapdoor_bottom_special",
"y": 270
},
"facing=west,half=bottom,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"y": 270
},
"facing=west,half=top,open=false": {
- "model": "reframedtemplates:trapdoor_top_special",
+ "model": "reframed:trapdoor_top_special",
"y": 270
},
"facing=west,half=top,open=true": {
- "model": "reframedtemplates:trapdoor_open_special",
+ "model": "reframed:trapdoor_open_special",
"x": 180,
"y": 90
}
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/wall.json b/src/main/resources/assets/reframed/blockstates/wall.json
similarity index 63%
rename from src/main/resources/assets/reframedtemplates/blockstates/wall.json
rename to src/main/resources/assets/reframed/blockstates/wall.json
index 7e77704..3d6903d 100644
--- a/src/main/resources/assets/reframedtemplates/blockstates/wall.json
+++ b/src/main/resources/assets/reframed/blockstates/wall.json
@@ -2,7 +2,7 @@
"multipart": [
{
"apply": {
- "model": "reframedtemplates:wall_post_special"
+ "model": "reframed:wall_post_special"
},
"when": {
"up": "true"
@@ -10,7 +10,7 @@
},
{
"apply": {
- "model": "reframedtemplates:wall_side_special",
+ "model": "reframed:wall_side_special",
"uvlock": true
},
"when": {
@@ -19,7 +19,7 @@
},
{
"apply": {
- "model": "reframedtemplates:wall_side_special",
+ "model": "reframed:wall_side_special",
"uvlock": true,
"y": 90
},
@@ -29,7 +29,7 @@
},
{
"apply": {
- "model": "reframedtemplates:wall_side_special",
+ "model": "reframed:wall_side_special",
"uvlock": true,
"y": 180
},
@@ -39,7 +39,7 @@
},
{
"apply": {
- "model": "reframedtemplates:wall_side_special",
+ "model": "reframed:wall_side_special",
"uvlock": true,
"y": 270
},
@@ -49,7 +49,7 @@
},
{
"apply": {
- "model": "reframedtemplates:wall_side_tall_special",
+ "model": "reframed:wall_side_tall_special",
"uvlock": true
},
"when": {
@@ -58,7 +58,7 @@
},
{
"apply": {
- "model": "reframedtemplates:wall_side_tall_special",
+ "model": "reframed:wall_side_tall_special",
"uvlock": true,
"y": 90
},
@@ -68,7 +68,7 @@
},
{
"apply": {
- "model": "reframedtemplates:wall_side_tall_special",
+ "model": "reframed:wall_side_tall_special",
"uvlock": true,
"y": 180
},
@@ -78,7 +78,7 @@
},
{
"apply": {
- "model": "reframedtemplates:wall_side_tall_special",
+ "model": "reframed:wall_side_tall_special",
"uvlock": true,
"y": 270
},
diff --git a/src/main/resources/assets/reframed/lang/en_us.json b/src/main/resources/assets/reframed/lang/en_us.json
new file mode 100644
index 0000000..1e1683b
--- /dev/null
+++ b/src/main/resources/assets/reframed/lang/en_us.json
@@ -0,0 +1,22 @@
+{
+ "itemGroup.reframed.tab": "Frames",
+
+ "block.reframed.button": "Button Frame",
+ "block.reframed.candle": "Candle Frame",
+ "block.reframed.carpet": "Carpet Frame",
+ "block.reframed.cube": "Cube Frame",
+ "block.reframed.door": "Door Frame",
+ "block.reframed.fence": "Fence Frame",
+ "block.reframed.fence_gate": "Fence Gate Frame",
+ "block.reframed.iron_door": "Iron Door Frame",
+ "block.reframed.iron_trapdoor": "Iron Trapdoor Frame",
+ "block.reframed.lever": "Lever Frame",
+ "block.reframed.pane": "Pane Frame",
+ "block.reframed.post": "Post Frame",
+ "block.reframed.pressure_plate": "Pressure Plate Frame",
+ "block.reframed.slab": "Slab Frame",
+ "block.reframed.stairs": "Stairs Frame",
+ "block.reframed.trapdoor": "Trapdoor Frame",
+ "block.reframed.wall": "Wall Frame"
+
+}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/models/block/double_outer_stairs.json b/src/main/resources/assets/reframed/models/block/double_outer_stairs.json
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/models/block/double_outer_stairs.json
rename to src/main/resources/assets/reframed/models/block/double_outer_stairs.json
diff --git a/src/main/resources/assets/reframedtemplates/models/block/fence_post_inventory.json b/src/main/resources/assets/reframed/models/block/fence_post_inventory.json
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/models/block/fence_post_inventory.json
rename to src/main/resources/assets/reframed/models/block/fence_post_inventory.json
diff --git a/src/main/resources/assets/reframedtemplates/models/block/fence_side.json b/src/main/resources/assets/reframed/models/block/fence_side.json
similarity index 73%
rename from src/main/resources/assets/reframedtemplates/models/block/fence_side.json
rename to src/main/resources/assets/reframed/models/block/fence_side.json
index cb05c78..b17cb3c 100644
--- a/src/main/resources/assets/reframedtemplates/models/block/fence_side.json
+++ b/src/main/resources/assets/reframed/models/block/fence_side.json
@@ -1,12 +1,4 @@
{
- "textures": {
- "down": "reframedtemplates:templates_special/down",
- "up": "reframedtemplates:templates_special/up",
- "north": "reframedtemplates:templates_special/north",
- "south": "reframedtemplates:templates_special/south",
- "west": "reframedtemplates:templates_special/west",
- "east": "reframedtemplates:templates_special/east"
- },
"elements": [
{
"from": [7, 12, 0],
diff --git a/src/main/resources/assets/reframedtemplates/models/block/glass_pane_side.json b/src/main/resources/assets/reframed/models/block/glass_pane_side.json
similarity index 59%
rename from src/main/resources/assets/reframedtemplates/models/block/glass_pane_side.json
rename to src/main/resources/assets/reframed/models/block/glass_pane_side.json
index 0a05ca7..ada50c1 100644
--- a/src/main/resources/assets/reframedtemplates/models/block/glass_pane_side.json
+++ b/src/main/resources/assets/reframed/models/block/glass_pane_side.json
@@ -1,13 +1,5 @@
{
"ambientocclusion": false,
- "textures": {
- "down": "reframedtemplates:templates_special/down",
- "up": "reframedtemplates:templates_special/up",
- "north": "reframedtemplates:templates_special/north",
- "south": "reframedtemplates:templates_special/south",
- "west": "reframedtemplates:templates_special/west",
- "east": "reframedtemplates:templates_special/east"
- },
"elements": [
{
"from": [7, 0, 0],
diff --git a/src/main/resources/assets/reframedtemplates/models/block/glass_pane_side_alt.json b/src/main/resources/assets/reframed/models/block/glass_pane_side_alt.json
similarity index 59%
rename from src/main/resources/assets/reframedtemplates/models/block/glass_pane_side_alt.json
rename to src/main/resources/assets/reframed/models/block/glass_pane_side_alt.json
index fe2a4ed..47efbab 100644
--- a/src/main/resources/assets/reframedtemplates/models/block/glass_pane_side_alt.json
+++ b/src/main/resources/assets/reframed/models/block/glass_pane_side_alt.json
@@ -1,13 +1,5 @@
{
"ambientocclusion": false,
- "textures": {
- "down": "reframedtemplates:templates_special/down",
- "up": "reframedtemplates:templates_special/up",
- "north": "reframedtemplates:templates_special/north",
- "south": "reframedtemplates:templates_special/south",
- "west": "reframedtemplates:templates_special/west",
- "east": "reframedtemplates:templates_special/east"
- },
"elements": [
{
"from": [7, 0, 9],
diff --git a/src/main/resources/assets/reframedtemplates/models/block/lever.json b/src/main/resources/assets/reframed/models/block/lever.json
similarity index 78%
rename from src/main/resources/assets/reframedtemplates/models/block/lever.json
rename to src/main/resources/assets/reframed/models/block/lever.json
index 7b75bfd..15b6eb5 100644
--- a/src/main/resources/assets/reframedtemplates/models/block/lever.json
+++ b/src/main/resources/assets/reframed/models/block/lever.json
@@ -2,12 +2,6 @@
"parent": "block/block",
"ambientocclusion": false,
"textures": {
- "down": "reframedtemplates:templates_special/down",
- "up": "reframedtemplates:templates_special/up",
- "north": "reframedtemplates:templates_special/north",
- "south": "reframedtemplates:templates_special/south",
- "west": "reframedtemplates:templates_special/west",
- "east": "reframedtemplates:templates_special/east",
"lever": "block/lever"
},
"elements": [
diff --git a/src/main/resources/assets/reframedtemplates/models/block/lever_on.json b/src/main/resources/assets/reframed/models/block/lever_on.json
similarity index 78%
rename from src/main/resources/assets/reframedtemplates/models/block/lever_on.json
rename to src/main/resources/assets/reframed/models/block/lever_on.json
index 89c2a59..25b5276 100644
--- a/src/main/resources/assets/reframedtemplates/models/block/lever_on.json
+++ b/src/main/resources/assets/reframed/models/block/lever_on.json
@@ -2,12 +2,6 @@
"parent": "block/block",
"ambientocclusion": false,
"textures": {
- "down": "reframedtemplates:templates_special/down",
- "up": "reframedtemplates:templates_special/up",
- "north": "reframedtemplates:templates_special/north",
- "south": "reframedtemplates:templates_special/south",
- "west": "reframedtemplates:templates_special/west",
- "east": "reframedtemplates:templates_special/east",
"lever": "block/lever"
},
"elements": [
diff --git a/src/main/resources/assets/reframedtemplates/models/block/trapdoor_open.json b/src/main/resources/assets/reframed/models/block/trapdoor_open.json
similarity index 68%
rename from src/main/resources/assets/reframedtemplates/models/block/trapdoor_open.json
rename to src/main/resources/assets/reframed/models/block/trapdoor_open.json
index 113c9f4..11f8b91 100644
--- a/src/main/resources/assets/reframedtemplates/models/block/trapdoor_open.json
+++ b/src/main/resources/assets/reframed/models/block/trapdoor_open.json
@@ -1,13 +1,5 @@
{
"parent": "block/block",
- "textures": {
- "down": "reframedtemplates:templates_special/down",
- "up": "reframedtemplates:templates_special/up",
- "north": "reframedtemplates:templates_special/north",
- "south": "reframedtemplates:templates_special/south",
- "west": "reframedtemplates:templates_special/west",
- "east": "reframedtemplates:templates_special/east"
- },
"elements": [
{
"from": [0, 0, 13],
diff --git a/src/main/resources/assets/reframedtemplates/models/block/wall_side.json b/src/main/resources/assets/reframed/models/block/wall_side.json
similarity index 53%
rename from src/main/resources/assets/reframedtemplates/models/block/wall_side.json
rename to src/main/resources/assets/reframed/models/block/wall_side.json
index dff3eb5..e29d419 100644
--- a/src/main/resources/assets/reframedtemplates/models/block/wall_side.json
+++ b/src/main/resources/assets/reframed/models/block/wall_side.json
@@ -1,12 +1,4 @@
{
- "textures": {
- "down": "reframedtemplates:templates_special/down",
- "up": "reframedtemplates:templates_special/up",
- "north": "reframedtemplates:templates_special/north",
- "south": "reframedtemplates:templates_special/south",
- "west": "reframedtemplates:templates_special/west",
- "east": "reframedtemplates:templates_special/east"
- },
"elements": [
{
"from": [5, 0, 0],
diff --git a/src/main/resources/assets/reframedtemplates/models/block/wall_side_tall.json b/src/main/resources/assets/reframed/models/block/wall_side_tall.json
similarity index 53%
rename from src/main/resources/assets/reframedtemplates/models/block/wall_side_tall.json
rename to src/main/resources/assets/reframed/models/block/wall_side_tall.json
index a47c485..7f80864 100644
--- a/src/main/resources/assets/reframedtemplates/models/block/wall_side_tall.json
+++ b/src/main/resources/assets/reframed/models/block/wall_side_tall.json
@@ -1,12 +1,4 @@
{
- "textures": {
- "down": "reframedtemplates:templates_special/down",
- "up": "reframedtemplates:templates_special/up",
- "north": "reframedtemplates:templates_special/north",
- "south": "reframedtemplates:templates_special/south",
- "west": "reframedtemplates:templates_special/west",
- "east": "reframedtemplates:templates_special/east"
- },
"elements": [
{
"from": [5, 0, 0],
diff --git a/src/main/resources/assets/reframedtemplates/models/item/candle.json b/src/main/resources/assets/reframed/models/item/candle.json
similarity index 56%
rename from src/main/resources/assets/reframedtemplates/models/item/candle.json
rename to src/main/resources/assets/reframed/models/item/candle.json
index 0d039fb..7c743ac 100644
--- a/src/main/resources/assets/reframedtemplates/models/item/candle.json
+++ b/src/main/resources/assets/reframed/models/item/candle.json
@@ -1,6 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
- "layer0": "reframedtemplates:item/candle"
+ "layer0": "reframed:item/candle"
}
}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/models/item/door.json b/src/main/resources/assets/reframed/models/item/door.json
similarity index 57%
rename from src/main/resources/assets/reframedtemplates/models/item/door.json
rename to src/main/resources/assets/reframed/models/item/door.json
index f32b972..a8db42c 100644
--- a/src/main/resources/assets/reframedtemplates/models/item/door.json
+++ b/src/main/resources/assets/reframed/models/item/door.json
@@ -1,6 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
- "layer0": "reframedtemplates:item/door"
+ "layer0": "reframed:item/door"
}
}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/models/item/iron_door.json b/src/main/resources/assets/reframed/models/item/iron_door.json
similarity index 57%
rename from src/main/resources/assets/reframedtemplates/models/item/iron_door.json
rename to src/main/resources/assets/reframed/models/item/iron_door.json
index f32b972..a8db42c 100644
--- a/src/main/resources/assets/reframedtemplates/models/item/iron_door.json
+++ b/src/main/resources/assets/reframed/models/item/iron_door.json
@@ -1,6 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
- "layer0": "reframedtemplates:item/door"
+ "layer0": "reframed:item/door"
}
}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/models/item/lever.json b/src/main/resources/assets/reframed/models/item/lever.json
similarity index 57%
rename from src/main/resources/assets/reframedtemplates/models/item/lever.json
rename to src/main/resources/assets/reframed/models/item/lever.json
index 189a51b..38b386f 100644
--- a/src/main/resources/assets/reframedtemplates/models/item/lever.json
+++ b/src/main/resources/assets/reframed/models/item/lever.json
@@ -1,6 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
- "layer0": "reframedtemplates:item/lever"
+ "layer0": "reframed:item/lever"
}
}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframed/models/item/pane.json b/src/main/resources/assets/reframed/models/item/pane.json
new file mode 100644
index 0000000..63cd040
--- /dev/null
+++ b/src/main/resources/assets/reframed/models/item/pane.json
@@ -0,0 +1,6 @@
+{
+ "parent": "minecraft:item/generated",
+ "textures": {
+ "layer0": "reframed:block/framed_block"
+ }
+}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/textures/block/framed_accent_block.png b/src/main/resources/assets/reframed/textures/block/framed_accent_block.png
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/textures/block/framed_accent_block.png
rename to src/main/resources/assets/reframed/textures/block/framed_accent_block.png
diff --git a/src/main/resources/assets/reframedtemplates/textures/block/framed_block.png b/src/main/resources/assets/reframed/textures/block/framed_block.png
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/textures/block/framed_block.png
rename to src/main/resources/assets/reframed/textures/block/framed_block.png
diff --git a/src/main/resources/assets/reframedtemplates/textures/item/candle.png b/src/main/resources/assets/reframed/textures/item/candle.png
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/textures/item/candle.png
rename to src/main/resources/assets/reframed/textures/item/candle.png
diff --git a/src/main/resources/assets/reframedtemplates/textures/item/door.png b/src/main/resources/assets/reframed/textures/item/door.png
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/textures/item/door.png
rename to src/main/resources/assets/reframed/textures/item/door.png
diff --git a/src/main/resources/assets/reframedtemplates/textures/item/lever.png b/src/main/resources/assets/reframed/textures/item/lever.png
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/textures/item/lever.png
rename to src/main/resources/assets/reframed/textures/item/lever.png
diff --git a/src/main/resources/assets/reframedtemplates/textures/templates_special/down.png b/src/main/resources/assets/reframed/textures/reframed_special/down.png
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/textures/templates_special/down.png
rename to src/main/resources/assets/reframed/textures/reframed_special/down.png
diff --git a/src/main/resources/assets/reframedtemplates/textures/templates_special/east.png b/src/main/resources/assets/reframed/textures/reframed_special/east.png
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/textures/templates_special/east.png
rename to src/main/resources/assets/reframed/textures/reframed_special/east.png
diff --git a/src/main/resources/assets/reframedtemplates/textures/templates_special/north.png b/src/main/resources/assets/reframed/textures/reframed_special/north.png
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/textures/templates_special/north.png
rename to src/main/resources/assets/reframed/textures/reframed_special/north.png
diff --git a/src/main/resources/assets/reframedtemplates/textures/templates_special/south.png b/src/main/resources/assets/reframed/textures/reframed_special/south.png
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/textures/templates_special/south.png
rename to src/main/resources/assets/reframed/textures/reframed_special/south.png
diff --git a/src/main/resources/assets/reframedtemplates/textures/templates_special/up.png b/src/main/resources/assets/reframed/textures/reframed_special/up.png
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/textures/templates_special/up.png
rename to src/main/resources/assets/reframed/textures/reframed_special/up.png
diff --git a/src/main/resources/assets/reframedtemplates/textures/templates_special/west.png b/src/main/resources/assets/reframed/textures/reframed_special/west.png
similarity index 100%
rename from src/main/resources/assets/reframedtemplates/textures/templates_special/west.png
rename to src/main/resources/assets/reframed/textures/reframed_special/west.png
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/candle.json b/src/main/resources/assets/reframedtemplates/blockstates/candle.json
deleted file mode 100644
index fedfd9c..0000000
--- a/src/main/resources/assets/reframedtemplates/blockstates/candle.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "variants": {
- "candles=1": {
- "model": "reframedtemplates:one_candle_special"
- },
- "candles=2": {
- "model": "reframedtemplates:two_candles_special"
- },
- "candles=3": {
- "model": "reframedtemplates:three_candles_special"
- },
- "candles=4": {
- "model": "reframedtemplates:four_candles_special"
- }
- }
-}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/carpet.json b/src/main/resources/assets/reframedtemplates/blockstates/carpet.json
deleted file mode 100644
index 1e93c1d..0000000
--- a/src/main/resources/assets/reframedtemplates/blockstates/carpet.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "variants": {
- "": {
- "model": "reframedtemplates:carpet_special"
- }
- }
-}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/cube.json b/src/main/resources/assets/reframedtemplates/blockstates/cube.json
deleted file mode 100644
index 91da698..0000000
--- a/src/main/resources/assets/reframedtemplates/blockstates/cube.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "variants": {
- "": {
- "model": "reframedtemplates:cube_special"
- }
- }
-}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/blockstates/pressure_plate.json b/src/main/resources/assets/reframedtemplates/blockstates/pressure_plate.json
deleted file mode 100644
index 4e35b7b..0000000
--- a/src/main/resources/assets/reframedtemplates/blockstates/pressure_plate.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "variants": {
- "powered=false": {
- "model": "reframedtemplates:pressure_plate_up_special"
- },
- "powered=true": {
- "model": "reframedtemplates:pressure_plate_down_special"
- }
- }
-}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/lang/en_us.json b/src/main/resources/assets/reframedtemplates/lang/en_us.json
deleted file mode 100644
index 382c0e6..0000000
--- a/src/main/resources/assets/reframedtemplates/lang/en_us.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "itemGroup.reframedtemplates.tab": "Frames",
-
- "block.reframedtemplates.button": "Button Frame",
- "block.reframedtemplates.candle": "Candle Frame",
- "block.reframedtemplates.carpet": "Carpet Frame",
- "block.reframedtemplates.cube": "Cube Frame",
- "block.reframedtemplates.door": "Door Frame",
- "block.reframedtemplates.fence": "Fence Frame",
- "block.reframedtemplates.fence_gate": "Fence Gate Frame",
- "block.reframedtemplates.iron_door": "Iron Door Frame",
- "block.reframedtemplates.iron_trapdoor": "Iron Trapdoor Frame",
- "block.reframedtemplates.lever": "Lever Frame",
- "block.reframedtemplates.pane": "Pane Frame",
- "block.reframedtemplates.post": "Post Frame",
- "block.reframedtemplates.pressure_plate": "Pressure Plate Frame",
- "block.reframedtemplates.slab": "Slab Frame",
- "block.reframedtemplates.stairs": "Stairs Frame",
- "block.reframedtemplates.trapdoor": "Trapdoor Frame",
- "block.reframedtemplates.wall": "Wall Frame"
-
-}
\ No newline at end of file
diff --git a/src/main/resources/assets/reframedtemplates/models/item/pane.json b/src/main/resources/assets/reframedtemplates/models/item/pane.json
deleted file mode 100644
index b97941a..0000000
--- a/src/main/resources/assets/reframedtemplates/models/item/pane.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "parent": "minecraft:item/generated",
- "textures": {
- "layer0": "reframedtemplates:block/framed_block"
- }
-}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/candles.json b/src/main/resources/data/minecraft/tags/blocks/candles.json
index 0b3ed30..bbdd105 100644
--- a/src/main/resources/data/minecraft/tags/blocks/candles.json
+++ b/src/main/resources/data/minecraft/tags/blocks/candles.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:candle"
+ "reframed:candle"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/doors.json b/src/main/resources/data/minecraft/tags/blocks/doors.json
index 2d49da2..6ac1784 100644
--- a/src/main/resources/data/minecraft/tags/blocks/doors.json
+++ b/src/main/resources/data/minecraft/tags/blocks/doors.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:iron_door"
+ "reframed:iron_door"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/fence_gates.json b/src/main/resources/data/minecraft/tags/blocks/fence_gates.json
index ecdd802..81ce22c 100644
--- a/src/main/resources/data/minecraft/tags/blocks/fence_gates.json
+++ b/src/main/resources/data/minecraft/tags/blocks/fence_gates.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:fence_gate"
+ "reframed:fence_gate"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/mineable/axe.json b/src/main/resources/data/minecraft/tags/blocks/mineable/axe.json
index ba62db0..fee30ea 100644
--- a/src/main/resources/data/minecraft/tags/blocks/mineable/axe.json
+++ b/src/main/resources/data/minecraft/tags/blocks/mineable/axe.json
@@ -1,20 +1,20 @@
{
"replace": false,
"values": [
- "reframedtemplates:button",
- "reframedtemplates:candle",
- "reframedtemplates:carpet",
- "reframedtemplates:cube",
- "reframedtemplates:door",
- "reframedtemplates:fence",
- "reframedtemplates:fence_gate",
- "reframedtemplates:lever",
- "reframedtemplates:pane",
- "reframedtemplates:post",
- "reframedtemplates:pressure_plate",
- "reframedtemplates:slab",
- "reframedtemplates:stairs",
- "reframedtemplates:trapdoor",
- "reframedtemplates:wall"
+ "reframed:button",
+ "reframed:candle",
+ "reframed:carpet",
+ "reframed:cube",
+ "reframed:door",
+ "reframed:fence",
+ "reframed:fence_gate",
+ "reframed:lever",
+ "reframed:pane",
+ "reframed:post",
+ "reframed:pressure_plate",
+ "reframed:slab",
+ "reframed:stairs",
+ "reframed:trapdoor",
+ "reframed:wall"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json b/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json
index e5e5ecc..ae5e912 100644
--- a/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json
+++ b/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json
@@ -1,7 +1,7 @@
{
"replace": false,
"values": [
- "reframedtemplates:iron_door",
- "reframedtemplates:iron_trapdoor"
+ "reframed:iron_door",
+ "reframed:iron_trapdoor"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/trapdoors.json b/src/main/resources/data/minecraft/tags/blocks/trapdoors.json
index 99ffa39..4a330e3 100644
--- a/src/main/resources/data/minecraft/tags/blocks/trapdoors.json
+++ b/src/main/resources/data/minecraft/tags/blocks/trapdoors.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:iron_trapdoor"
+ "reframed:iron_trapdoor"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/walls.json b/src/main/resources/data/minecraft/tags/blocks/walls.json
index 7af721a..162e22a 100644
--- a/src/main/resources/data/minecraft/tags/blocks/walls.json
+++ b/src/main/resources/data/minecraft/tags/blocks/walls.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:wall"
+ "reframed:wall"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_buttons.json b/src/main/resources/data/minecraft/tags/blocks/wooden_buttons.json
index bdb2c36..3425df1 100644
--- a/src/main/resources/data/minecraft/tags/blocks/wooden_buttons.json
+++ b/src/main/resources/data/minecraft/tags/blocks/wooden_buttons.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:button"
+ "reframed:button"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_doors.json b/src/main/resources/data/minecraft/tags/blocks/wooden_doors.json
index 029c8a4..d3b2d1c 100644
--- a/src/main/resources/data/minecraft/tags/blocks/wooden_doors.json
+++ b/src/main/resources/data/minecraft/tags/blocks/wooden_doors.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:door"
+ "reframed:door"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_fences.json b/src/main/resources/data/minecraft/tags/blocks/wooden_fences.json
index e01b675..498fb11 100644
--- a/src/main/resources/data/minecraft/tags/blocks/wooden_fences.json
+++ b/src/main/resources/data/minecraft/tags/blocks/wooden_fences.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:fence"
+ "reframed:fence"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_pressure_plates.json b/src/main/resources/data/minecraft/tags/blocks/wooden_pressure_plates.json
index 0ab4f55..0ccbcc3 100644
--- a/src/main/resources/data/minecraft/tags/blocks/wooden_pressure_plates.json
+++ b/src/main/resources/data/minecraft/tags/blocks/wooden_pressure_plates.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:pressure_plate"
+ "reframed:pressure_plate"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_slabs.json b/src/main/resources/data/minecraft/tags/blocks/wooden_slabs.json
index 8daeef0..0fcb99d 100644
--- a/src/main/resources/data/minecraft/tags/blocks/wooden_slabs.json
+++ b/src/main/resources/data/minecraft/tags/blocks/wooden_slabs.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:slab"
+ "reframed:slab"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_stairs.json b/src/main/resources/data/minecraft/tags/blocks/wooden_stairs.json
index 6541f1a..e28719c 100644
--- a/src/main/resources/data/minecraft/tags/blocks/wooden_stairs.json
+++ b/src/main/resources/data/minecraft/tags/blocks/wooden_stairs.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:stairs"
+ "reframed:stairs"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_trapdoors.json b/src/main/resources/data/minecraft/tags/blocks/wooden_trapdoors.json
index 9e2ffd8..9b25ee1 100644
--- a/src/main/resources/data/minecraft/tags/blocks/wooden_trapdoors.json
+++ b/src/main/resources/data/minecraft/tags/blocks/wooden_trapdoors.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:trapdoor"
+ "reframed:trapdoor"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/blocks/wool_carpets.json b/src/main/resources/data/minecraft/tags/blocks/wool_carpets.json
index 053113e..731bb53 100644
--- a/src/main/resources/data/minecraft/tags/blocks/wool_carpets.json
+++ b/src/main/resources/data/minecraft/tags/blocks/wool_carpets.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:carpet"
+ "reframed:carpet"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/candles.json b/src/main/resources/data/minecraft/tags/items/candles.json
index 0b3ed30..bbdd105 100644
--- a/src/main/resources/data/minecraft/tags/items/candles.json
+++ b/src/main/resources/data/minecraft/tags/items/candles.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:candle"
+ "reframed:candle"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/doors.json b/src/main/resources/data/minecraft/tags/items/doors.json
index 2d49da2..6ac1784 100644
--- a/src/main/resources/data/minecraft/tags/items/doors.json
+++ b/src/main/resources/data/minecraft/tags/items/doors.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:iron_door"
+ "reframed:iron_door"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/fence_gates.json b/src/main/resources/data/minecraft/tags/items/fence_gates.json
index ecdd802..81ce22c 100644
--- a/src/main/resources/data/minecraft/tags/items/fence_gates.json
+++ b/src/main/resources/data/minecraft/tags/items/fence_gates.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:fence_gate"
+ "reframed:fence_gate"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/trapdoors.json b/src/main/resources/data/minecraft/tags/items/trapdoors.json
index 99ffa39..4a330e3 100644
--- a/src/main/resources/data/minecraft/tags/items/trapdoors.json
+++ b/src/main/resources/data/minecraft/tags/items/trapdoors.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:iron_trapdoor"
+ "reframed:iron_trapdoor"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/walls.json b/src/main/resources/data/minecraft/tags/items/walls.json
index 7af721a..162e22a 100644
--- a/src/main/resources/data/minecraft/tags/items/walls.json
+++ b/src/main/resources/data/minecraft/tags/items/walls.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:wall"
+ "reframed:wall"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/wooden_buttons.json b/src/main/resources/data/minecraft/tags/items/wooden_buttons.json
index bdb2c36..3425df1 100644
--- a/src/main/resources/data/minecraft/tags/items/wooden_buttons.json
+++ b/src/main/resources/data/minecraft/tags/items/wooden_buttons.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:button"
+ "reframed:button"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/wooden_doors.json b/src/main/resources/data/minecraft/tags/items/wooden_doors.json
index 029c8a4..d3b2d1c 100644
--- a/src/main/resources/data/minecraft/tags/items/wooden_doors.json
+++ b/src/main/resources/data/minecraft/tags/items/wooden_doors.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:door"
+ "reframed:door"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/wooden_fences.json b/src/main/resources/data/minecraft/tags/items/wooden_fences.json
index e01b675..498fb11 100644
--- a/src/main/resources/data/minecraft/tags/items/wooden_fences.json
+++ b/src/main/resources/data/minecraft/tags/items/wooden_fences.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:fence"
+ "reframed:fence"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/wooden_pressure_plates.json b/src/main/resources/data/minecraft/tags/items/wooden_pressure_plates.json
index 0ab4f55..0ccbcc3 100644
--- a/src/main/resources/data/minecraft/tags/items/wooden_pressure_plates.json
+++ b/src/main/resources/data/minecraft/tags/items/wooden_pressure_plates.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:pressure_plate"
+ "reframed:pressure_plate"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/wooden_slabs.json b/src/main/resources/data/minecraft/tags/items/wooden_slabs.json
index 8daeef0..0fcb99d 100644
--- a/src/main/resources/data/minecraft/tags/items/wooden_slabs.json
+++ b/src/main/resources/data/minecraft/tags/items/wooden_slabs.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:slab"
+ "reframed:slab"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/wooden_stairs.json b/src/main/resources/data/minecraft/tags/items/wooden_stairs.json
index 6541f1a..e28719c 100644
--- a/src/main/resources/data/minecraft/tags/items/wooden_stairs.json
+++ b/src/main/resources/data/minecraft/tags/items/wooden_stairs.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:stairs"
+ "reframed:stairs"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/wooden_trapdoors.json b/src/main/resources/data/minecraft/tags/items/wooden_trapdoors.json
index 9e2ffd8..9b25ee1 100644
--- a/src/main/resources/data/minecraft/tags/items/wooden_trapdoors.json
+++ b/src/main/resources/data/minecraft/tags/items/wooden_trapdoors.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:trapdoor"
+ "reframed:trapdoor"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/minecraft/tags/items/wool_carpets.json b/src/main/resources/data/minecraft/tags/items/wool_carpets.json
index 053113e..731bb53 100644
--- a/src/main/resources/data/minecraft/tags/items/wool_carpets.json
+++ b/src/main/resources/data/minecraft/tags/items/wool_carpets.json
@@ -1,6 +1,6 @@
{
"replace": false,
"values": [
- "reframedtemplates:carpet"
+ "reframed:carpet"
]
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframed/advancements/recipes/decorations/reframed.json b/src/main/resources/data/reframed/advancements/recipes/decorations/reframed.json
new file mode 100644
index 0000000..a632e74
--- /dev/null
+++ b/src/main/resources/data/reframed/advancements/recipes/decorations/reframed.json
@@ -0,0 +1,41 @@
+{
+ "parent": "minecraft:recipes/root",
+ "rewards": {
+ "recipes": [
+ "reframed:button",
+ "reframed:candle",
+ "reframed:carpet",
+ "reframed:cube",
+ "reframed:door",
+ "reframed:fence",
+ "reframed:fence_gate",
+ "reframed:iron_door",
+ "reframed:iron_trapdoor",
+ "reframed:lever",
+ "reframed:pane",
+ "reframed:post",
+ "reframed:pressure_plate",
+ "reframed:slab",
+ "reframed:stairs",
+ "reframed:trapdoor",
+ "reframed:wall"
+ ]
+ },
+ "criteria": {
+ "has_bamboo": {
+ "trigger": "minecraft:inventory_changed",
+ "conditions": {
+ "items": [
+ {
+ "item": "minecraft:bamboo"
+ }
+ ]
+ }
+ }
+ },
+ "requirements": [
+ [
+ "has_bamboo"
+ ]
+ ]
+}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/loot_tables/blocks/candle.json b/src/main/resources/data/reframed/loot_tables/blocks/candle.json
similarity index 86%
rename from src/main/resources/data/reframedtemplates/loot_tables/blocks/candle.json
rename to src/main/resources/data/reframed/loot_tables/blocks/candle.json
index e2d10f9..9555c75 100644
--- a/src/main/resources/data/reframedtemplates/loot_tables/blocks/candle.json
+++ b/src/main/resources/data/reframed/loot_tables/blocks/candle.json
@@ -11,7 +11,7 @@
"add": false,
"conditions": [
{
- "block": "reframedtemplates:candle",
+ "block": "reframed:candle",
"condition": "minecraft:block_state_property",
"properties": {
"candles": "2"
@@ -25,7 +25,7 @@
"add": false,
"conditions": [
{
- "block": "reframedtemplates:candle",
+ "block": "reframed:candle",
"condition": "minecraft:block_state_property",
"properties": {
"candles": "3"
@@ -39,7 +39,7 @@
"add": false,
"conditions": [
{
- "block": "reframedtemplates:candle",
+ "block": "reframed:candle",
"condition": "minecraft:block_state_property",
"properties": {
"candles": "4"
@@ -53,7 +53,7 @@
"function": "minecraft:explosion_decay"
}
],
- "name": "reframedtemplates:candle"
+ "name": "reframed:candle"
}
],
"rolls": 1.0
diff --git a/src/main/resources/data/reframedtemplates/loot_tables/blocks/door.json b/src/main/resources/data/reframed/loot_tables/blocks/door.json
similarity index 81%
rename from src/main/resources/data/reframedtemplates/loot_tables/blocks/door.json
rename to src/main/resources/data/reframed/loot_tables/blocks/door.json
index 36eb855..8d9f6ac 100644
--- a/src/main/resources/data/reframedtemplates/loot_tables/blocks/door.json
+++ b/src/main/resources/data/reframed/loot_tables/blocks/door.json
@@ -6,10 +6,10 @@
"entries": [
{
"type": "minecraft:item",
- "name": "reframedtemplates:door",
+ "name": "reframed:door",
"conditions": [
{
- "block": "reframedtemplates:door",
+ "block": "reframed:door",
"condition": "minecraft:block_state_property",
"properties": {
"half": "lower"
diff --git a/src/main/resources/data/reframedtemplates/loot_tables/blocks/iron_door.json b/src/main/resources/data/reframed/loot_tables/blocks/iron_door.json
similarity index 80%
rename from src/main/resources/data/reframedtemplates/loot_tables/blocks/iron_door.json
rename to src/main/resources/data/reframed/loot_tables/blocks/iron_door.json
index 8a14043..1021c5f 100644
--- a/src/main/resources/data/reframedtemplates/loot_tables/blocks/iron_door.json
+++ b/src/main/resources/data/reframed/loot_tables/blocks/iron_door.json
@@ -6,10 +6,10 @@
"entries": [
{
"type": "minecraft:item",
- "name": "reframedtemplates:iron_door",
+ "name": "reframed:iron_door",
"conditions": [
{
- "block": "reframedtemplates:iron_door",
+ "block": "reframed:iron_door",
"condition": "minecraft:block_state_property",
"properties": {
"half": "lower"
diff --git a/src/main/resources/data/reframedtemplates/recipes/button.json b/src/main/resources/data/reframed/recipes/button.json
similarity index 74%
rename from src/main/resources/data/reframedtemplates/recipes/button.json
rename to src/main/resources/data/reframed/recipes/button.json
index 0ad683b..16d10d0 100644
--- a/src/main/resources/data/reframedtemplates/recipes/button.json
+++ b/src/main/resources/data/reframed/recipes/button.json
@@ -13,8 +13,8 @@
}
},
"result": {
- "item": "reframedtemplates:button",
+ "item": "reframed:button",
"count": 1
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/candle.json b/src/main/resources/data/reframed/recipes/candle.json
similarity index 78%
rename from src/main/resources/data/reframedtemplates/recipes/candle.json
rename to src/main/resources/data/reframed/recipes/candle.json
index 1ca4609..461c0a6 100644
--- a/src/main/resources/data/reframedtemplates/recipes/candle.json
+++ b/src/main/resources/data/reframed/recipes/candle.json
@@ -17,8 +17,8 @@
}
},
"result": {
- "item": "reframedtemplates:candle",
+ "item": "reframed:candle",
"count": 1
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/carpet.json b/src/main/resources/data/reframed/recipes/carpet.json
similarity index 74%
rename from src/main/resources/data/reframedtemplates/recipes/carpet.json
rename to src/main/resources/data/reframed/recipes/carpet.json
index 850396c..63bbcdb 100644
--- a/src/main/resources/data/reframedtemplates/recipes/carpet.json
+++ b/src/main/resources/data/reframed/recipes/carpet.json
@@ -13,8 +13,8 @@
}
},
"result": {
- "item": "reframedtemplates:carpet",
+ "item": "reframed:carpet",
"count": 12
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/cube.json b/src/main/resources/data/reframed/recipes/cube.json
similarity index 76%
rename from src/main/resources/data/reframedtemplates/recipes/cube.json
rename to src/main/resources/data/reframed/recipes/cube.json
index e1f988e..58676f1 100644
--- a/src/main/resources/data/reframedtemplates/recipes/cube.json
+++ b/src/main/resources/data/reframed/recipes/cube.json
@@ -14,8 +14,8 @@
}
},
"result": {
- "item": "reframedtemplates:cube",
+ "item": "reframed:cube",
"count": 4
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/door.json b/src/main/resources/data/reframed/recipes/door.json
similarity index 76%
rename from src/main/resources/data/reframedtemplates/recipes/door.json
rename to src/main/resources/data/reframed/recipes/door.json
index 57202b7..a1e5e47 100644
--- a/src/main/resources/data/reframedtemplates/recipes/door.json
+++ b/src/main/resources/data/reframed/recipes/door.json
@@ -14,8 +14,8 @@
}
},
"result": {
- "item": "reframedtemplates:door",
+ "item": "reframed:door",
"count": 2
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/fence.json b/src/main/resources/data/reframed/recipes/fence.json
similarity index 75%
rename from src/main/resources/data/reframedtemplates/recipes/fence.json
rename to src/main/resources/data/reframed/recipes/fence.json
index 6f0aa4c..70b1da3 100644
--- a/src/main/resources/data/reframedtemplates/recipes/fence.json
+++ b/src/main/resources/data/reframed/recipes/fence.json
@@ -13,8 +13,8 @@
}
},
"result": {
- "item": "reframedtemplates:fence",
+ "item": "reframed:fence",
"count": 8
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/fence_gate.json b/src/main/resources/data/reframed/recipes/fence_gate.json
similarity index 73%
rename from src/main/resources/data/reframedtemplates/recipes/fence_gate.json
rename to src/main/resources/data/reframed/recipes/fence_gate.json
index 6a53590..c04bd65 100644
--- a/src/main/resources/data/reframedtemplates/recipes/fence_gate.json
+++ b/src/main/resources/data/reframed/recipes/fence_gate.json
@@ -13,8 +13,8 @@
}
},
"result": {
- "item": "reframedtemplates:fence_gate",
+ "item": "reframed:fence_gate",
"count": 2
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/iron_door.json b/src/main/resources/data/reframed/recipes/iron_door.json
similarity index 79%
rename from src/main/resources/data/reframedtemplates/recipes/iron_door.json
rename to src/main/resources/data/reframed/recipes/iron_door.json
index abaebb3..6456e3d 100644
--- a/src/main/resources/data/reframedtemplates/recipes/iron_door.json
+++ b/src/main/resources/data/reframed/recipes/iron_door.json
@@ -17,8 +17,8 @@
}
},
"result": {
- "item": "reframedtemplates:door",
+ "item": "reframed:door",
"count": 2
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/iron_trapdoor.json b/src/main/resources/data/reframed/recipes/iron_trapdoor.json
similarity index 77%
rename from src/main/resources/data/reframedtemplates/recipes/iron_trapdoor.json
rename to src/main/resources/data/reframed/recipes/iron_trapdoor.json
index 86a0175..dcccb78 100644
--- a/src/main/resources/data/reframedtemplates/recipes/iron_trapdoor.json
+++ b/src/main/resources/data/reframed/recipes/iron_trapdoor.json
@@ -17,8 +17,8 @@
}
},
"result": {
- "item": "reframedtemplates:iron_trapdoor",
+ "item": "reframed:iron_trapdoor",
"count": 4
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/lever.json b/src/main/resources/data/reframed/recipes/lever.json
similarity index 79%
rename from src/main/resources/data/reframedtemplates/recipes/lever.json
rename to src/main/resources/data/reframed/recipes/lever.json
index c3d9d05..bfb6d05 100644
--- a/src/main/resources/data/reframedtemplates/recipes/lever.json
+++ b/src/main/resources/data/reframed/recipes/lever.json
@@ -17,8 +17,8 @@
}
},
"result": {
- "item": "reframedtemplates:lever",
+ "item": "reframed:lever",
"count": 1
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/pane.json b/src/main/resources/data/reframed/recipes/pane.json
similarity index 76%
rename from src/main/resources/data/reframedtemplates/recipes/pane.json
rename to src/main/resources/data/reframed/recipes/pane.json
index 1b7c61f..42bae61 100644
--- a/src/main/resources/data/reframedtemplates/recipes/pane.json
+++ b/src/main/resources/data/reframed/recipes/pane.json
@@ -14,8 +14,8 @@
}
},
"result": {
- "item": "reframedtemplates:pane",
+ "item": "reframed:pane",
"count": 16
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/post.json b/src/main/resources/data/reframed/recipes/post.json
similarity index 75%
rename from src/main/resources/data/reframedtemplates/recipes/post.json
rename to src/main/resources/data/reframed/recipes/post.json
index 93e9fa0..0b02992 100644
--- a/src/main/resources/data/reframedtemplates/recipes/post.json
+++ b/src/main/resources/data/reframed/recipes/post.json
@@ -14,8 +14,8 @@
}
},
"result": {
- "item": "reframedtemplates:post",
+ "item": "reframed:post",
"count": 8
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/pressure_plate.json b/src/main/resources/data/reframed/recipes/pressure_plate.json
similarity index 72%
rename from src/main/resources/data/reframedtemplates/recipes/pressure_plate.json
rename to src/main/resources/data/reframed/recipes/pressure_plate.json
index 5d85133..710e413 100644
--- a/src/main/resources/data/reframedtemplates/recipes/pressure_plate.json
+++ b/src/main/resources/data/reframed/recipes/pressure_plate.json
@@ -13,8 +13,8 @@
}
},
"result": {
- "item": "reframedtemplates:pressure_plate",
+ "item": "reframed:pressure_plate",
"count": 1
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/slab.json b/src/main/resources/data/reframed/recipes/slab.json
similarity index 75%
rename from src/main/resources/data/reframedtemplates/recipes/slab.json
rename to src/main/resources/data/reframed/recipes/slab.json
index 06e9a77..2f7a293 100644
--- a/src/main/resources/data/reframedtemplates/recipes/slab.json
+++ b/src/main/resources/data/reframed/recipes/slab.json
@@ -13,8 +13,8 @@
}
},
"result": {
- "item": "reframedtemplates:slab",
+ "item": "reframed:slab",
"count": 6
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/stairs.json b/src/main/resources/data/reframed/recipes/stairs.json
similarity index 75%
rename from src/main/resources/data/reframedtemplates/recipes/stairs.json
rename to src/main/resources/data/reframed/recipes/stairs.json
index c5d7a95..08af090 100644
--- a/src/main/resources/data/reframedtemplates/recipes/stairs.json
+++ b/src/main/resources/data/reframed/recipes/stairs.json
@@ -14,8 +14,8 @@
}
},
"result": {
- "item": "reframedtemplates:stairs",
+ "item": "reframed:stairs",
"count": 10
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/trapdoor.json b/src/main/resources/data/reframed/recipes/trapdoor.json
similarity index 75%
rename from src/main/resources/data/reframedtemplates/recipes/trapdoor.json
rename to src/main/resources/data/reframed/recipes/trapdoor.json
index 4b7cdfd..252bd1f 100644
--- a/src/main/resources/data/reframedtemplates/recipes/trapdoor.json
+++ b/src/main/resources/data/reframed/recipes/trapdoor.json
@@ -14,8 +14,8 @@
}
},
"result": {
- "item": "reframedtemplates:trapdoor",
+ "item": "reframed:trapdoor",
"count": 4
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/recipes/wall.json b/src/main/resources/data/reframed/recipes/wall.json
similarity index 76%
rename from src/main/resources/data/reframedtemplates/recipes/wall.json
rename to src/main/resources/data/reframed/recipes/wall.json
index 9360c99..a3ccfbb 100644
--- a/src/main/resources/data/reframedtemplates/recipes/wall.json
+++ b/src/main/resources/data/reframed/recipes/wall.json
@@ -14,8 +14,8 @@
}
},
"result": {
- "item": "reframedtemplates:wall",
+ "item": "reframed:wall",
"count": 8
},
- "group": "reframedtemplates"
+ "group": "reframed"
}
\ No newline at end of file
diff --git a/src/main/resources/data/reframedtemplates/advancements/recipes/decorations/templates.json b/src/main/resources/data/reframedtemplates/advancements/recipes/decorations/templates.json
deleted file mode 100644
index 20d94eb..0000000
--- a/src/main/resources/data/reframedtemplates/advancements/recipes/decorations/templates.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "parent": "minecraft:recipes/root",
- "rewards": {
- "recipes": [
- "reframedtemplates:button",
- "reframedtemplates:candle",
- "reframedtemplates:carpet",
- "reframedtemplates:cube",
- "reframedtemplates:door",
- "reframedtemplates:fence",
- "reframedtemplates:fence_gate",
- "reframedtemplates:iron_door",
- "reframedtemplates:iron_trapdoor",
- "reframedtemplates:lever",
- "reframedtemplates:pane",
- "reframedtemplates:post",
- "reframedtemplates:pressure_plate",
- "reframedtemplates:slab",
- "reframedtemplates:stairs",
- "reframedtemplates:trapdoor",
- "reframedtemplates:wall"
- ]
- },
- "criteria": {
- "has_bamboo": {
- "trigger": "minecraft:inventory_changed",
- "conditions": {
- "items": [
- {
- "item": "minecraft:bamboo"
- }
- ]
- }
- },
- "has_the_recipe": {
- "trigger": "minecraft:recipe_unlocked",
- "conditions": {
- "recipe": "reframedtemplates:slope"
- }
- }
- },
- "requirements": [
- [
- "has_bamboo",
- "has_the_recipe"
- ]
- ]
-}
\ No newline at end of file
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index 3926f82..88a8a81 100755
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -2,28 +2,28 @@
"schemaVersion": 1,
"id": "${mod_id}",
"version": "${version}",
- "name": "ReFramedBlocks",
- "description": "An API for templated blocks",
+ "name": "ReFramed",
+ "description": "A remake of forge framed blocks",
"authors": [
"Adrien1106"
],
"contact": {},
"license": "All-Rights-Reserved",
- "icon": "assets/framed-templates-icon.png",
+ "icon": "assets/reframed-icon.png",
"environment": "*",
"entrypoints": {
"fabric-datagen": [
- "fr.adrien1106.reframedtemplates.generator.Generator"
+ "fr.adrien1106.reframed.generator.Generator"
],
"main": [
- "fr.adrien1106.reframedtemplates.Templates"
+ "fr.adrien1106.reframed.ReFramed"
],
"client": [
- "fr.adrien1106.reframedtemplates.TemplatesClient"
+ "fr.adrien1106.reframed.client.ReFramedClient"
]
},
"mixins": [
- "reframedtemplates.mixins.json"
+ "reframed.mixins.json"
],
"depends": {
"minecraft": ">=${minecraft_version}",
diff --git a/src/main/resources/reframedtemplates.mixins.json b/src/main/resources/reframed.mixins.json
similarity index 89%
rename from src/main/resources/reframedtemplates.mixins.json
rename to src/main/resources/reframed.mixins.json
index aa2e76b..d80641c 100644
--- a/src/main/resources/reframedtemplates.mixins.json
+++ b/src/main/resources/reframed.mixins.json
@@ -1,6 +1,6 @@
{
"required": true,
- "package": "fr.adrien1106.reframedtemplates.mixin",
+ "package": "fr.adrien1106.reframed.mixin",
"compatibilityLevel": "JAVA_17",
"mixins": [
"MinecraftAccessor",