mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Small fixes for (#1149)
This commit is contained in:
parent
d7259a49db
commit
61ac5bb3d1
5 changed files with 28 additions and 28 deletions
|
|
@ -1,16 +1,16 @@
|
|||
namespace MinecraftClient.Mapping
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents Minecraft Entity Types
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Generated from registries.json using EntityPaletteGenerator.cs.
|
||||
/// Typical steps to handle new entity IDs for newer Minecraft versions:
|
||||
/// 1. Generate registries.json using data reporting on Vanilla Minecraft (https://wiki.vg/Data_Generators)
|
||||
/// 2. Generate temporary EntityTypeXXX.cs and EntityPaletteXXX.cs using EntityPaletteGenerator.cs
|
||||
/// 3. Perform a diff with existing versions, add missing entries in EntityType.cs and EntityTypeExtensions.cs
|
||||
/// 4. If existing entity IDs were not randomized by Mojang, simply add missing entries to the latest existing EntityPaletteXXX.cs
|
||||
/// 5. If existing entity IDs were randomized, add a new palette as EntityPaletteXXX.cs into the codebase (worst case)
|
||||
/// <summary>
|
||||
/// Represents Minecraft Entity Types
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Generated from registries.json using EntityPaletteGenerator.cs.
|
||||
/// Typical steps to handle new entity IDs for newer Minecraft versions:
|
||||
/// 1. Generate registries.json using data reporting on Vanilla Minecraft (https://wiki.vg/Data_Generators)
|
||||
/// 2. Generate temporary EntityTypeXXX.cs and EntityPaletteXXX.cs using EntityPaletteGenerator.cs
|
||||
/// 3. Perform a diff with existing versions, add missing entries in EntityType.cs and EntityTypeExtensions.cs
|
||||
/// 4. If existing entity IDs were not randomized by Mojang, simply add missing entries to the latest existing EntityPaletteXXX.cs
|
||||
/// 5. If existing entity IDs were randomized, add a new palette as EntityPaletteXXX.cs into the codebase (worst case)
|
||||
/// </remarks>
|
||||
public enum EntityType
|
||||
{
|
||||
|
|
@ -42,6 +42,7 @@ namespace MinecraftClient.Mapping
|
|||
EyeOfEnder,
|
||||
FallingBlock,
|
||||
FireworkRocket,
|
||||
FishingBobber,
|
||||
Fox,
|
||||
Ghast,
|
||||
Giant,
|
||||
|
|
@ -100,6 +101,7 @@ namespace MinecraftClient.Mapping
|
|||
Egg,
|
||||
EnderPearl,
|
||||
ExperienceBottle,
|
||||
Player,
|
||||
Potion,
|
||||
Trident,
|
||||
TraderLlama,
|
||||
|
|
@ -119,7 +121,5 @@ namespace MinecraftClient.Mapping
|
|||
ZombieHorse,
|
||||
ZombieVillager,
|
||||
ZombiePigman,
|
||||
Player,
|
||||
FishingBobber,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@ namespace MinecraftClient.Mapping
|
|||
case EntityType.Evoker:
|
||||
case EntityType.Ghast:
|
||||
case EntityType.Guardian:
|
||||
case EntityType.Hoglin:
|
||||
case EntityType.Hoglin:
|
||||
case EntityType.Husk:
|
||||
case EntityType.MagmaCube:
|
||||
case EntityType.Phantom:
|
||||
case EntityType.Piglin:
|
||||
case EntityType.Pillager:
|
||||
case EntityType.Pillager:
|
||||
case EntityType.Ravager:
|
||||
case EntityType.Shulker:
|
||||
case EntityType.Silverfish:
|
||||
|
|
@ -39,7 +39,7 @@ namespace MinecraftClient.Mapping
|
|||
case EntityType.Vindicator:
|
||||
case EntityType.Witch:
|
||||
case EntityType.WitherSkeleton:
|
||||
case EntityType.Zoglin:
|
||||
case EntityType.Zoglin:
|
||||
case EntityType.Zombie:
|
||||
case EntityType.ZombieVillager:
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue