-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
126 changed files
with
23,732 additions
and
10,246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Obsidian.API.Registry.Codecs.WolfVariant; | ||
public sealed record class WolfVariantCodec : ICodec | ||
{ | ||
public required string Name { get; init; } | ||
|
||
public required int Id { get; init; } | ||
|
||
public required WolfVariantElement Element { get; init; } | ||
} |
8 changes: 8 additions & 0 deletions
8
Obsidian.API/Registry/Codecs/WolfVariant/WolfVariantElement.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace Obsidian.API.Registry.Codecs.WolfVariant; | ||
public sealed class WolfVariantElement | ||
{ | ||
public required string AngryTexture { get; init; } | ||
public required string Biomes { get; init; } | ||
public required string TameTexture { get; init; } | ||
public required string WildTexture { get; init; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
namespace Obsidian.API; | ||
[Flags] | ||
public enum EntityEffect : sbyte | ||
{ | ||
None = 0x00, | ||
|
||
/// <summary> | ||
/// Whether the potion is emitted by ambient source e.g. the beacon. The icon has a blue border in the HUD if its ambient. | ||
/// </summary> | ||
IsAmbient = 0x01, | ||
|
||
/// <summary> | ||
/// Whether to show the particles or not. | ||
/// </summary> | ||
ShowParticles = 0x02, | ||
|
||
/// <summary> | ||
/// Whether to show the icon on the client or not. | ||
/// </summary> | ||
ShowIcon = 0x04, | ||
Blend = 0x08 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.