mirror of
https://github.com/MovingBlocks/Terasology
synced 2026-05-24 09:28:22 +00:00
- adds `retainComponentsComponent` that contains components that are supposed to be retained when placing a block - background: on placing a block, `EntityAwareWorldProvider::updateBlockEntityComponents` removes all components from the entity of the block to be placed that - are not any of `NetworkComponent`, `BlockComponent`, and `LocationComponent` - don't have `retainUnalteredOnBlockChange` metadata - are not listed in the block prefab - are not in the set of components to be retained (which was hard-coded to `emptySet` until now) - adds a check for `retainComponentsComponent` in `EntityAwareWorldProvider::setBlocks` and if present passes the set of components to retain instead of `emptySet` - requires `@Replicate` to work in multiplayer for joining players too and not only for the host - adds `.gitattributes` with entries for .jpeg, .dylib, .ogg, and .dbg
35 lines
809 B
Text
35 lines
809 B
Text
# Force default for all text just in case - commit with LF, check out with OS-specific line endings
|
|
* text=auto
|
|
|
|
*.bat text eol=crlf
|
|
*.block text
|
|
*.command text eol=lf
|
|
*.glsl text
|
|
*.gradle text
|
|
*.groovy text
|
|
*.html text diff=html
|
|
*.java text diff=java
|
|
*.markdown text
|
|
*.py text diff=python
|
|
*.properties text
|
|
*.sh text eol=lf
|
|
*.shape text
|
|
*.texinfo text
|
|
*.txt text
|
|
*.xml text diff=html
|
|
|
|
*.blend binary
|
|
*.exe binary
|
|
*.jar binary
|
|
*.keystore binary
|
|
*.png binary
|
|
*.jpeg binary
|
|
*.dll binary
|
|
*.dylib binary
|
|
*.pdb binary
|
|
*.ogg binary
|
|
*.dbg binary
|
|
|
|
gradlew text eol=lf
|
|
LICENSE text
|
|
NOTICE text
|