Skip to content

Commit 155dadf

Browse files
committed
1.1.6
1 parent 616d6d4 commit 155dadf

File tree

7 files changed

+44
-25
lines changed

7 files changed

+44
-25
lines changed

Changelog.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
1.1.3:
2+
- Fixed display bug, thanks to discord user @karolofgutovo for reporting
3+
- Created ponder system with 1 ponder about printing (contraption ponder coming soon)
4+
- (Technical) Created datagen
5+
1.1.4:
6+
- Fixed a bug with deployers placing at the wrong offsets
7+
- Created bulk apply system to reduce pain of having to put a schematic on each individual deployer
8+
1.1.5:
9+
- Fixed clone outlines rendering on a non-deployed schematic
10+
- Improved tool usage on pattern schematics (thanks @d4rkfl4sh for the suggestion)
11+
- Added ponder for contraption uses of schematics
12+
1.1.6: (No functional changes)
13+
- Updated mod links in mods.toml and the fabric.mod.json
14+
- Forge now has the update checker configured
15+
- Fixed the copycats not displaying accurately in the ponder (after I failed to cover up my laziness thanks @d4rkfl4sh)

Changelog.txt

-11
This file was deleted.

common/src/main/java/com/cak/pattern_schematics/content/ponder/PatternSchematicPonderScenes.java

+13-9
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import com.simibubi.create.foundation.ponder.element.EntityElement;
88
import com.simibubi.create.foundation.ponder.element.InputWindowElement;
99
import com.simibubi.create.foundation.ponder.element.WorldSectionElement;
10+
import com.simibubi.create.foundation.ponder.instruction.DisplayWorldSectionInstruction;
1011
import com.simibubi.create.foundation.utility.Pointing;
1112
import net.minecraft.core.BlockPos;
1213
import net.minecraft.core.Direction;
@@ -18,6 +19,8 @@
1819
import net.minecraft.world.phys.AABB;
1920
import net.minecraft.world.phys.Vec3;
2021

22+
import java.util.Optional;
23+
2124
public class PatternSchematicPonderScenes {
2225

2326
public static void schematicPrinting(SceneBuilder scene, SceneBuildingUtil util) {
@@ -163,13 +166,6 @@ public static void trainSchematicPrinting(SceneBuilder scene, SceneBuildingUtil
163166
scene.world.showSection(util.select.layer(0), Direction.UP);
164167
scene.idle(20);
165168

166-
//Remove the flowerbed so it can be replaced later#
167-
Selection flowerBed = util.select.fromTo(1, 1, 2, 10, 2, 4);
168-
scene.world.replaceBlocks(
169-
flowerBed, Blocks.AIR.defaultBlockState(), false
170-
);
171-
scene.world.showSection(flowerBed, Direction.DOWN);
172-
173169
//Fill in train tracks
174170
BlockPos
175171
sectionFrom = new BlockPos(11, 1, 6),
@@ -224,7 +220,11 @@ public static void trainSchematicPrinting(SceneBuilder scene, SceneBuildingUtil
224220
scene.world.moveDeployer(util.grid.at(10, 3, z), 1, 4);
225221
}
226222
scene.idle(4);
227-
scene.world.restoreBlocks(util.select.fromTo(x, 1, 2, x, 2, 4));
223+
scene.addInstruction(new DisplayWorldSectionInstruction(
224+
0, Direction.DOWN,
225+
util.select.fromTo(x, 1, 2, x, 2, 4),
226+
Optional.empty()
227+
));
228228
scene.idle(1);
229229
for (int z = 2; z <= 4; z++) {
230230
scene.world.moveDeployer(util.grid.at(10, 3, z), -1, 4);
@@ -254,7 +254,11 @@ public static void trainSchematicPrinting(SceneBuilder scene, SceneBuildingUtil
254254
scene.world.moveDeployer(util.grid.at(10, 3, z), 1, 4);
255255
}
256256
scene.idle(4);
257-
scene.world.restoreBlocks(util.select.fromTo(x, 1, 2, x, 2, 4));
257+
scene.addInstruction(new DisplayWorldSectionInstruction(
258+
0, Direction.DOWN,
259+
util.select.fromTo(x, 1, 2, x, 2, 4),
260+
Optional.empty()
261+
));
258262
scene.idle(1);
259263
for (int z = 2; z <= 4; z++) {
260264
scene.world.moveDeployer(util.grid.at(10, 3, z), -1, 4);

common/src/main/java/com/cak/pattern_schematics/mixin/MovementContextMixin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import org.spongepowered.asm.mixin.Mixin;
77
import org.spongepowered.asm.mixin.Shadow;
88

9-
@Mixin(MovementContext.class)
9+
@Mixin(value = MovementContext.class, remap = false)
1010
public class MovementContextMixin implements MovementContextAccessor {
1111

1212
@Shadow private FilterItemStack filter;

fabric/src/main/resources/fabric.mod.json

+11-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,20 @@
55
"name": "Create: Pattern Schematics",
66
"description": "Adds repeating pattern based schematics to create!",
77
"authors": [
8-
"Cak"
8+
{
9+
"name": "Cake",
10+
"contact": {
11+
"homepage": "https://modrinth.com/mod/create-pattern-schematics",
12+
"sources": "https://github.com/cakeGit",
13+
"discord": "cakeistasty_"
14+
}
15+
}
916
],
1017
"contact": {
1118
"homepage": "https://modrinth.com/mod/create-pattern-schematics",
12-
"sources": "https://github.com/cakeGit/Pattern-Schematics-Multiloader"
19+
"sources": "https://github.com/cakeGit/Pattern-Schematics-Multiloader",
20+
"issues": "https://github.com/cakeGit/Pattern-Schematics-Multiloader/issues",
21+
"discord": "https://discord.gg/8uSV7b9M6K"
1322
},
1423
"license": "MIT",
1524
"icon": "logo.png",

forge/src/main/resources/META-INF/mods.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ license = "MIT"
77
modId = "create_pattern_schematics"
88
version = "${version}"
99
displayName = "Create: Pattern Schematics"
10-
authors = "Cak"
10+
authors = "Cake"
1111
description = '''
1212
Adds repeating pattern based schematics to create!
1313
'''
1414
logoFile = "logo.png"
15+
displayURL = "https://modrinth.com/mod/create-pattern-schematics"
16+
updateJSONURL = "https://raw.githubusercontent.com/cakeGit/Pattern-Schematics-Multiloader/1.20.1/forge-updates.json"
1517

1618
[[dependencies.create_pattern_schematics]]
1719
modId = "forge"

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ org.gradle.jvmargs = -Xmx2G
22

33
# Mod Info
44
archives_base_name = pattern_schematics
5-
mod_version = 1.1.5
5+
mod_version = 1.1.6
66
maven_group = com.cak.pattern_schematics
77

88
minecraft_version = 1.20.1

0 commit comments

Comments
 (0)