Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity docs #171

Open
wants to merge 84 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
312442d
rework registries and resource location documentation
IchHabeHunger54 Jan 29, 2024
aafbf1b
rework side documentation
IchHabeHunger54 Jan 29, 2024
a748304
rework events and lifecycle documentation
IchHabeHunger54 Jan 29, 2024
4b2d021
fix broken links
IchHabeHunger54 Jan 29, 2024
c49ff55
fix some mistakes regarding `DeferredRegister.Blocks`
IchHabeHunger54 Jan 31, 2024
242abf0
add side checks in the event handlers
IchHabeHunger54 Jan 31, 2024
a4971bd
fix some of the mistakes in registries.md
IchHabeHunger54 Jan 31, 2024
9950d51
remove mention of registry int id syncing (it is discouraged)
IchHabeHunger54 Feb 21, 2024
f64b8fe
Merge remote-tracking branch 'upstream/main'
IchHabeHunger54 Feb 21, 2024
a1bd87d
update datapack registry datagen
IchHabeHunger54 Feb 21, 2024
31b5bf2
registry querying
IchHabeHunger54 Feb 21, 2024
ff5d5b1
add back int ID syncing, with a big disclaimer
IchHabeHunger54 Feb 21, 2024
965be16
update sync disclaimer
IchHabeHunger54 Feb 21, 2024
2e65131
address most feedback by ChampionAsh
IchHabeHunger54 Feb 22, 2024
1ed292c
Update docs/blocks/index.md
IchHabeHunger54 Feb 22, 2024
e2fbc31
Update docs/concepts/registries.md
IchHabeHunger54 Feb 22, 2024
40c17a9
implement most of XFact's feedback
IchHabeHunger54 Feb 23, 2024
7a24414
fix datapack registry creation
IchHabeHunger54 Feb 23, 2024
55873a1
remove recommendation of separate DR and DH classes
IchHabeHunger54 Feb 23, 2024
cdf58f2
fix an oversight
IchHabeHunger54 Feb 23, 2024
380db40
Update docs/blocks/index.md
IchHabeHunger54 Feb 23, 2024
2a369a7
BootstapContext :screm:
IchHabeHunger54 Feb 25, 2024
b1e1966
Merge remote-tracking branch 'origin/main'
IchHabeHunger54 Feb 25, 2024
b5a78bb
fix two wrong mentions of Registries
IchHabeHunger54 Feb 26, 2024
b6dcbb9
fix exception name
IchHabeHunger54 Feb 26, 2024
8d54466
Merge remote-tracking branch 'upstream/main'
IchHabeHunger54 Mar 3, 2024
90c3b4a
Merge remote-tracking branch 'upstream/main'
IchHabeHunger54 Mar 3, 2024
1d17916
Merge remote-tracking branch 'refs/remotes/upstream/main'
IchHabeHunger54 Aug 8, 2024
99dd0e6
add Champ's previous work on entities
IchHabeHunger54 Oct 2, 2024
a9b38d5
Merge remote-tracking branch 'origin/main'
IchHabeHunger54 Oct 2, 2024
41f583b
Merge branch 'refs/heads/main' into feature/entities
IchHabeHunger54 Oct 2, 2024
a9937e3
basic structure setup and entitytype documentation
IchHabeHunger54 Oct 2, 2024
4dd1142
entity class hierarchy
IchHabeHunger54 Oct 3, 2024
f615ade
damaging and ticking entities
IchHabeHunger54 Oct 3, 2024
773ce6a
picking entities
IchHabeHunger54 Oct 3, 2024
ec869d5
add docs for the left click and middle click pipelines
IchHabeHunger54 Oct 3, 2024
12392bc
Merge remote-tracking branch 'refs/remotes/upstream/main' into featur…
IchHabeHunger54 Oct 28, 2024
461206c
living entity docs
IchHabeHunger54 Oct 28, 2024
859d031
data and networking article
IchHabeHunger54 Oct 28, 2024
8963971
use better TODO markers
IchHabeHunger54 Oct 29, 2024
d4466af
built-in attribute list
IchHabeHunger54 Oct 30, 2024
25cc2c1
default attributes
IchHabeHunger54 Oct 30, 2024
0bcad78
attribute modifiers
IchHabeHunger54 Oct 30, 2024
3f53b81
custom spawn data
IchHabeHunger54 Oct 30, 2024
87938c6
custom attributes
IchHabeHunger54 Oct 30, 2024
54600a4
fix broken link to attributes page
IchHabeHunger54 Oct 30, 2024
930fca6
living entity hierarchy
IchHabeHunger54 Oct 30, 2024
e0e8020
spawning
IchHabeHunger54 Nov 5, 2024
6316767
projectiles
IchHabeHunger54 Nov 15, 2024
83436ba
Merge remote-tracking branch 'refs/remotes/upstream/main'
IchHabeHunger54 Nov 15, 2024
d1120f5
Merge branch 'refs/heads/main' into feature/entities
IchHabeHunger54 Nov 15, 2024
74eef1c
apply 1.21.3 changes to interactions.md, and fix outdated mention of …
IchHabeHunger54 Nov 15, 2024
6c4cd53
Merge remote-tracking branch 'refs/remotes/upstream/main' into featur…
IchHabeHunger54 Nov 19, 2024
7c12eff
consistently apply code and list formatting
IchHabeHunger54 Nov 19, 2024
84d7574
mobcategory
IchHabeHunger54 Nov 20, 2024
551bac0
link to and from the data attachments article
IchHabeHunger54 Nov 20, 2024
ca9bc33
add links to the entity articles
IchHabeHunger54 Nov 20, 2024
79bb313
escape characters
IchHabeHunger54 Nov 20, 2024
44951b9
entity attachments
IchHabeHunger54 Nov 20, 2024
2986514
apply feedback, part 1
IchHabeHunger54 Nov 21, 2024
e7ca864
fix wrong name for ArmorHurtEvent
IchHabeHunger54 Nov 21, 2024
79078a2
entity renderers, pt 1
IchHabeHunger54 Nov 26, 2024
7b35abe
renderer hierarchy and 1.21.3 update
IchHabeHunger54 Nov 26, 2024
110be93
entity layers, part 1
IchHabeHunger54 Nov 29, 2024
56eef02
entity layers, part 2
IchHabeHunger54 Dec 1, 2024
6652351
Merge remote-tracking branch 'upstream/main' into feature/entities
IchHabeHunger54 Dec 1, 2024
362280b
use mermaid diagrams
IchHabeHunger54 Dec 1, 2024
a1746fe
address the leftover comments
IchHabeHunger54 Dec 2, 2024
887ed98
address luke's comment
IchHabeHunger54 Dec 2, 2024
8e8774d
address xfact's comments
IchHabeHunger54 Dec 14, 2024
77247ba
address champ's comments, pt 1
IchHabeHunger54 Jan 10, 2025
fbc75e4
Merge remote-tracking branch 'origin/main'
IchHabeHunger54 Jan 10, 2025
bf4efbe
Merge branch 'main' into feature/entities
IchHabeHunger54 Jan 10, 2025
6dc07d5
we are so back
IchHabeHunger54 Feb 4, 2025
aa35a02
update renderer.md
IchHabeHunger54 Feb 6, 2025
2948e60
entity animations
IchHabeHunger54 Feb 6, 2025
97bb02e
render state modifications
IchHabeHunger54 Feb 6, 2025
a6eb49c
add spawn example
IchHabeHunger54 Feb 6, 2025
71106de
fix some small oversights
IchHabeHunger54 Feb 6, 2025
5db64db
mention TypeTokens for render state modifications
IchHabeHunger54 Feb 6, 2025
8a0900f
type tokens need to be anonymous classes (I love generics)
IchHabeHunger54 Feb 6, 2025
5f3e2e8
address comments again, pt 1
IchHabeHunger54 Feb 25, 2025
e622758
Merge remote-tracking branch 'upstream/main'
IchHabeHunger54 Feb 25, 2025
b37ae36
Merge branch 'main' into feature/entities
IchHabeHunger54 Feb 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix two wrong mentions of Registries
IchHabeHunger54 committed Feb 26, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b5a78bb1efce03065b86866ad2f8f3df22e1e0c7
4 changes: 2 additions & 2 deletions docs/concepts/registries.md
Original file line number Diff line number Diff line change
@@ -119,10 +119,10 @@ As the last example shows, this is possible with any mod id, and thus a perfect
Finally, we can also iterate over all entries in a registry, either over the keys or over the entries (entries use the Java `Map.Entry` type):

```java
for (ResourceLocation id : Registries.BLOCKS.keySet()) {
for (ResourceLocation id : BuiltInRegistries.BLOCKS.keySet()) {
// ...
}
for (Map.Entry<ResourceLocation, Block> entry : Registries.BLOCKS.entrySet()) {
for (Map.Entry<ResourceLocation, Block> entry : BuiltInRegistries.BLOCKS.entrySet()) {
// ...
}
```