use of com.minecolonies.coremod.colony.requestsystem.resolvers.PrivateWorkerCraftingRequestResolver in project minecolonies by Minecolonies.
the class PrivateWorkerCraftingRequestResolverFactory method deserialize.
@NotNull
@Override
public PrivateWorkerCraftingRequestResolver deserialize(@NotNull final IFactoryController controller, @NotNull final NBTTagCompound nbt) {
final IToken<?> token = controller.deserialize(nbt.getCompoundTag(NBT_TOKEN));
final ILocation location = controller.deserialize(nbt.getCompoundTag(NBT_LOCATION));
return new PrivateWorkerCraftingRequestResolver(location, token);
}
Aggregations