You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Advancements/Advancements.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,8 @@ public class MyAdvancements {
25
25
.icon(MyItems.MY_ITEM)
26
26
.title("My Mod")
27
27
.description("Get started with My Mod.")
28
-
.after(() ->AllAdvancements.ROOT) // display inside the Create tab omit to create a new advancement tab
29
-
.awardedForFree() // immediately award when the player first joins
28
+
.after(() ->AllAdvancements.ROOT) // display inside the Create tab as a descendant of create's root, omit this to create a new tab
29
+
.awardedForFree() // immediately award when the player first joins, important for advancement tabs
30
30
.special(AzimuthAdvancement.TaskType.SILENT)
31
31
);
32
32
@@ -128,7 +128,6 @@ If you want the advancement to be awarded by a game event (rather than manually)
128
128
129
129
If none of these are called, a built-in `SimpleCreateTrigger` is created automatically. You can then award the advancement manually (see below).
130
130
131
-
132
131
## Awarding advancements manually
133
132
134
133
If the advancement uses the built-in trigger (no `.whenX` call), award it directly:
@@ -147,7 +146,6 @@ if (!MyAdvancements.FIRST_CRAFT.isAlreadyAwardedTo(player)) {
147
146
148
147
`awardTo` will throw `UnsupportedOperationException` if the advancement uses an external trigger.
149
148
150
-
151
149
## `AzimuthAdvancementBehaviour`
152
150
153
151
If you want a block entity to track a player and award advancements when they interact with it, add `AzimuthAdvancementBehaviour` to its behaviour list:
@@ -167,7 +165,7 @@ Using the static `create` method (rather than constructing directly) means that
167
165
168
166
### Tracking the player
169
167
170
-
Call `setPlacedBy` from your block's `setPlacedBy` override to register the player who placed it:
168
+
Call `setPlacedBy` from your block's `setPlacedBy` override, that way your block will register the player who placed it:
Copy file name to clipboardExpand all lines: docs/Getting Started.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Azimuth doesn't require any explicit initialisation on your part just depend on
31
31
32
32
An expanded version of Create's `BlockEntityBehaviour` that can do significantly more, in effort to replicate features that would typically take new block entity types. All of which is composable on a single `SmartBlockEntity`. You can also *inject* behaviours onto block entities you don't own, without touching their source, making simple soft-compatability easy.
|[`KineticBehaviourExtension`](./Extensions/Kinetic%20Extension.md)| Adds propagation positions and rotation transfer overrides for kinetic networks. |
10
+
|[`RenderedBehaviourExtension`](./Extensions/Rendered%20Extension.md)| Adds behaviour-level BER rendering, optional Flywheel visuals, and optional render bounds expansion. |
11
+
|[`ItemRequirementBehaviourExtension`](./Extensions/Item%20Requirement%20Extension.md)| Adds per-behaviour item requirements to schematic requirement flows. |
Copy file name to clipboardExpand all lines: docs/Super Behaviours/Extensions/Item Requirement Extension.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
`ItemRequirementBehaviourExtension` lets a behaviour contribute item requirements to Create's schematic placement flow. Implement this if your behaviour places or represents items that should be listed when a player is deploying a schematic containing this block.
4
4
5
-
For an overview of all extensions, see [Super Block Entity Behaviours](./Super Behaviours.md#extensions).
5
+
For an overview of all extensions, see [Super Block Entity Behaviours](../Super%20Behaviours.md#extensions).
Copy file name to clipboardExpand all lines: docs/Super Behaviours/Extensions/Kinetic Extension.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
`KineticBehaviourExtension` lets a behaviour participate in kinetic propagation adding extra neighbour positions and overriding the speed that gets propagated. It assumes the block entity this behaviour is attached to is a `KineticBlockEntity`.
4
4
5
-
For an overview of all extensions, see [Super Block Entity Behaviours](./Super Behaviours.md#extensions).
5
+
For an overview of all extensions, see [Super Block Entity Behaviours](../Super%20Behaviours.md#extensions).
Copy file name to clipboardExpand all lines: docs/Super Behaviours/Extensions/Rendered Extension.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
`RenderedBehaviourExtension` lets a behaviour contribute rendering output alongside the block entity it's attached to. There are two rendering paths available: a standard Block Entity Renderer (BER) that works unconditionally, and an optional Flywheel visual for hardware-accelerated rendering. You can use either path or both together.
4
4
5
-
For an overview of all extensions, see [Super Block Entity Behaviours](./Super Behaviours.md#extensions).
5
+
For an overview of all extensions, see [Super Block Entity Behaviours](../Super%20Behaviours.md#extensions).
|[`KineticBehaviourExtension`](./Extensions/Kinetic%20Extension.md)| Adds propagation positions and rotation transfer overrides for kinetic networks. |
155
+
|[`RenderedBehaviourExtension`](./Extensions/Rendered%20Extension.md)| Adds behaviour-level BER rendering, optional Flywheel visuals, and optional render bounds expansion. |
156
+
|[`ItemRequirementBehaviourExtension`](./Extensions/Item%20Requirement%20Extension.md)| Adds per-behaviour item requirements to schematic requirement flows. |
0 commit comments