Add entity handling for 1.10 to 1.12.2 (#1195)

* Fix entity type data type for 1.13 below
* Add entity handling for 1.10 to 1.12.2
* Update comments for EntityPalette113
This commit is contained in:
ReinforceZwei 2020-08-11 19:44:18 +08:00 committed by GitHub
parent a28409043c
commit e6d34c3cf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 163 additions and 8 deletions

View file

@ -4,9 +4,9 @@ using System.Collections.Generic;
namespace MinecraftClient.Mapping.EntityPalettes
{
/// <summary>
/// Defines mappings for pre-1.14 entitiy IDs
/// Pre-1.14 Minecraft has 2 set of ids: One for non-living objects and one for living mobs
/// 1.14+ Minecraft has only one set of ids for all types of entities
/// Defines mappings for Minecraft 1.13.
/// 1.13 and lower has 2 set of ids: One for non-living objects and one for living mobs
/// 1.14+ has only one set of ids for all types of entities
/// </summary>
public class EntityPalette113 : EntityPalette
{