Class SelectionPrefabSerializer

java.lang.Object
com.hypixel.hytale.server.core.prefab.config.SelectionPrefabSerializer

public class SelectionPrefabSerializer extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Version history: == Pre launch, removed == * Version 0: Initial version * Version 5: Fluids removed from `blocks` and put into `fluids` * Version 6: Deco and Support moved to support field * Version 7: Filler moved to filler field * Version 8: Rotation moved to rotation field == Post launch ==
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(org.bson.BsonDocument doc)
     
    static org.bson.BsonDocument
     

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • VERSION

      public static final int VERSION
      Version history: == Pre launch, removed == * Version 0: Initial version * Version 5: Fluids removed from `blocks` and put into `fluids` * Version 6: Deco and Support moved to support field * Version 7: Filler moved to filler field * Version 8: Rotation moved to rotation field == Post launch ==
      See Also:
  • Method Details

    • deserialize

      @Nonnull public static BlockSelection deserialize(@Nonnull org.bson.BsonDocument doc)
    • serialize

      @Nonnull public static org.bson.BsonDocument serialize(@Nonnull BlockSelection prefab)