use of com.minecolonies.coremod.colony.requestsystem.resolvers.PublicWorkerCraftingRequestResolver in project minecolonies by ldtteam.
the class PublicWorkerCraftingRequestResolverFactory method deserialize.
@Override
public PublicWorkerCraftingRequestResolver deserialize(IFactoryController controller, PacketBuffer buffer) throws Throwable {
final IToken<?> token = controller.deserialize(buffer);
final ILocation location = controller.deserialize(buffer);
final JobEntry entry = buffer.readRegistryId();
return new PublicWorkerCraftingRequestResolver(location, token, entry);
}
Aggregations