diff --git a/Common/src/main/java/at/petrak/hexcasting/api/spell/iota/BooleanIota.java b/Common/src/main/java/at/petrak/hexcasting/api/spell/iota/BooleanIota.java index b04920a2..2f5fd9eb 100644 --- a/Common/src/main/java/at/petrak/hexcasting/api/spell/iota/BooleanIota.java +++ b/Common/src/main/java/at/petrak/hexcasting/api/spell/iota/BooleanIota.java @@ -12,7 +12,7 @@ import org.jetbrains.annotations.Nullable; public class BooleanIota extends Iota { public BooleanIota(boolean d) { - super(HexIotaTypes.DOUBLE, d); + super(HexIotaTypes.BOOLEAN, d); } public boolean getBool() { diff --git a/Common/src/main/java/at/petrak/hexcasting/common/casting/RegisterPatterns.java b/Common/src/main/java/at/petrak/hexcasting/common/casting/RegisterPatterns.java index 9927b076..d875493a 100644 --- a/Common/src/main/java/at/petrak/hexcasting/common/casting/RegisterPatterns.java +++ b/Common/src/main/java/at/petrak/hexcasting/common/casting/RegisterPatterns.java @@ -61,7 +61,7 @@ public class RegisterPatterns { OpGetCaster.INSTANCE); PatternRegistry.mapPattern(HexPattern.fromAngles("aa", HexDir.EAST), modLoc("entity_pos/eye"), new OpEntityPos(false)); - PatternRegistry.mapPattern(HexPattern.fromAngles("dd", HexDir.NORTH_WEST), modLoc("entity_pos/foot"), + PatternRegistry.mapPattern(HexPattern.fromAngles("dd", HexDir.NORTH_EAST), modLoc("entity_pos/foot"), new OpEntityPos(true)); PatternRegistry.mapPattern(HexPattern.fromAngles("wa", HexDir.EAST), modLoc("get_entity_look"), OpEntityLook.INSTANCE); diff --git a/Common/src/main/resources/assets/hexcasting/lang/en_us.json b/Common/src/main/resources/assets/hexcasting/lang/en_us.json index 1a8941ca..8898b0bb 100644 --- a/Common/src/main/resources/assets/hexcasting/lang/en_us.json +++ b/Common/src/main/resources/assets/hexcasting/lang/en_us.json @@ -792,7 +792,7 @@ "hexcasting.entry.basics_pattern": "Basic Patterns", "hexcasting.page.basics_pattern.get_caster": "Adds me, the caster, to the stack.", "hexcasting.page.basics_pattern.entity_pos/eye": "Transforms an entity on the stack into the position of its eyes. I should probably use this on myself.", - "hexcasting.page.basics_pattern.entity_pos/feet": "Transforms an entity on the stack into the position it is standing. I should probably use this on other entities.", + "hexcasting.page.basics_pattern.entity_pos/foot": "Transforms an entity on the stack into the position it is standing. I should probably use this on other entities.", "hexcasting.page.basics_pattern.get_entity_look": "Transforms an entity on the stack into the direction it's looking in, as a unit vector.", "hexcasting.page.basics_pattern.print": "Displays the top iota of the stack to me.", "hexcasting.page.basics_pattern.raycast.1": "Combines two vectors (a position and a direction) into the answer to the question: If I stood at the position and looked in the direction, what block would I be looking at? Costs a negligible amount of _media.", diff --git a/Common/src/main/resources/data/hexcasting/patchouli_books/thehexbook/en_us/entries/patterns/basics.json b/Common/src/main/resources/data/hexcasting/patchouli_books/thehexbook/en_us/entries/patterns/basics.json index 5e07a727..0ff91259 100644 --- a/Common/src/main/resources/data/hexcasting/patchouli_books/thehexbook/en_us/entries/patterns/basics.json +++ b/Common/src/main/resources/data/hexcasting/patchouli_books/thehexbook/en_us/entries/patterns/basics.json @@ -38,14 +38,6 @@ "output": "vector", "text": "hexcasting.page.basics_pattern.get_entity_look" }, - { - "type": "hexcasting:pattern", - "op_id": "hexcasting:print", - "anchor": "hexcasting:print", - "input": "any", - "output": "any", - "text": "hexcasting.page.basics_pattern.print" - }, { "type": "hexcasting:pattern", "op_id": "hexcasting:raycast", @@ -78,6 +70,14 @@ "output": "entity", "text": "hexcasting.page.basics_pattern.raycast/entity" }, + { + "type": "hexcasting:pattern", + "op_id": "hexcasting:print", + "anchor": "hexcasting:print", + "input": "any", + "output": "any", + "text": "hexcasting.page.basics_pattern.print" + }, { "type": "hexcasting:pattern", "op_id": "hexcasting:get_entity_height",